Adblock breaks this site

help with web browser

Discussion in 'Programming General' started by kridan500, Apr 9, 2009.

  1. kridan500

    kridan500 Active Member
    Banned

    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0
    help with web browser

    Hello i need help with one thing in vb.6.0
    How do i do so that every url you go on it always add some text after.

    Like you go to google.com and it goes to google.com/lol.

    But not only when you write it in your url bar but also when you klick on links and such it goes to whatever link/lol

    And also when you go to any link it shows in url bar what link you are on.
     
  2. htaed

    htaed Forum Addict
    Banned

    Joined:
    Dec 19, 2005
    Posts:
    336
    Referrals:
    0
    Sythe Gold:
    0
    help with web browser

    Code:
    Private Sub Command1_Click()
    WebBrowser1.Navigate Text1.Text + "/lol"
    Text1.Text = WebBrowser1.LocationURL
    End Sub
    
    Private Sub WebBrowser1_TitleChange(ByVal Text As String)
    Text1.Text = WebBrowser1.LocationURL
    End Sub
    
    Here you go, however if you try to make it add "/lol" after the title has changed, the title changes again so it just keeps adding "/lol" forever :p

    I'm sure if you play around you will find a way to do it - i haven't really got the time at the moment.
     
  3. kridan500

    kridan500 Active Member
    Banned

    Joined:
    Feb 11, 2007
    Posts:
    217
    Referrals:
    1
    Sythe Gold:
    0
    help with web browser

    tyvm im going to try it now
     
< Runescape T0Olz v.0.1.0 | selling my expertise to make stuff. >


 
 
Adblock breaks this site