Spoof you are online on a message board, etc.

This code snippet enables you to spoof (pretend) you are online on a message board, etc. This can be useful for testing user-tracking systems, incrementing your time online on a forum, displaying you are online on MySpace or Facebook, etc.


' This is our array of websites we want to visit, in order from top to bottom.
' First is the </dream.in.code> C/C++ forum, Second is the </dream.in.code> VB.NET
' forum, and finally we will use the </dream.in.code> PHP forum. (for the purpose
' of this snippet of course).

Dim WebpageList As String() = { _
"http://www.dreamincode.net/forums/showforum15.htm", _
"http://www.dreamincode.net/forums/showforum67.htm", _

' This is the timer that we will be using. We will make it cycle through the array
' of websites and navigate WebBrowser1 accordingly. I strongly recommend that you
' set WebBrowser1.Visible = false, so you aren't disturbed by the clicking noise
' made by navigating to websites (courtesy of IE). You will also need to have your
' cookies set so you log onto the site automatically, or you will be defined a guest.

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    Static Counter As Integer = 0
    Counter += 1
    Counter = (Counter Mod WebpageList.Length)
End Sub

See Also

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License