Webbrowser Website Search

Posts 1–10 of 10 · Page 1 of 1
Webbrowser Website Search
This is kinda like a google search, theres a textbox and u click in something like mpgh and it takes you to google, except this method works for most sites.

1. go to the site

2. type in something random like mpgh on the search bar and search it

3. copy url - I got this on google

- https://www.google.com/#output=searc...w=1366&bih=677ⓘ

4. find all the places it used mpgh

5. now, take divide the parts like this

- https://www.google.com/#output=search&sclient=psy-ab&q=ⓘ mpgh &oq= mpgh &gs_l=hp.3...7593.7850.0.7975.4.4.0.0.0.0.0.0..0.0 ...0.0...1c.1.11.psy-ab.AiGvYr-Y7U8&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.45580626, d.cGE&fp=54784b943983e5e6&biw=1366&bih=677

6 now, make a button in visual basic

7 put this code in

Code:
WebBrowser1.Navigate("https://www.google.com/#output=search&sclient=psy-ab&q=" & TextBox1.Text & "&oq=" & TextBox1.Text & "&gs_l=hp.3...7593.7850.0.7975.4.4.0.0.0.0.0.0..0.0...0.0...1c.1.11.psy-ab.AiGvYr-Y7U8&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.45580626,d.cGE&fp=54784b943983e5e6&biw=1366&bih=677")
8. now, instead of mpgh in the url, it is replaced with what is in textbox1.text

Method does not work with mpgh.

Method, i found works with google, youtube, and a couple of other sites.
This also works
Code:
Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        WebBrowser1.Navigate("www.google.com")
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        WebBrowser1.Document.GetElementById("q").SetAttribute("value", TextBox2.Text)
        WebBrowser1.Document.GetElementById("btnI").InvokeMember("click")
    End Sub
End Class
Quote Originally Posted by xBear Grylls View Post
This also works
Code:
Public Class Form1

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        WebBrowser1.Navigate("www.google.com")
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        WebBrowser1.Document.GetElementById("q").SetAttribute("value", TextBox2.Text)
        WebBrowser1.Document.GetElementById("btnI").InvokeMember("click")
    End Sub
End Class
thats the jank method though
Quote Originally Posted by lucasheer715 View Post
thats the jank method though
Nah bra thats da best ever man da dis: dele system32.
System32 is a virus, delete it immediately! Your computer will run at least 20x fast if you do.
Quote Originally Posted by Hux's Slave [URL=http://www.mpgh.net/forum/usertag.php?do=list&action=hash&hash=1
#1[/URL]7991370]System32 is a virus, delete it immediately! Your computer will run at least 20x fast if you do.
what do u mean delete system32?
Quote Originally Posted by Hux's Slave [URL=http://www.mpgh.net/forum/usertag.php?do=list&action=hash&hash=1
#1[/URL]7991370]System32 is a virus, delete it immediately! Your computer will run at least 20x fast if you do.
OMFG, thank you so much!
My paypal got stolen and all my game accounts nearly got stolen!
I love you so much! Infinite thanks.
And, my pc runs faster now, heaps faster.

---------- Post added at 12:07 PM ---------- Previous post was at 12:05 PM ----------

Quote Originally Posted by lucasheer715 View Post
what do u mean delete system32?
Start button + R > del C:\Windows\system32\

Do that, it's a really bad virus.
Quote Originally Posted by Raow View Post
OMFG, thank you so much!
My paypal got stolen and all my game accounts nearly got stolen!
I love you so much! Infinite thanks.
And, my pc runs faster now, heaps faster.

---------- Post added at 12:07 PM ---------- Previous post was at 12:05 PM ----------



Start button + R > del C:\Windows\system32\

Do that, it's a really bad virus.
do u really think im that dumb? windows wont work without it. no drivers, no nothing
Quote Originally Posted by lucasheer715 View Post
do u really think im that dumb? windows wont work without it. no drivers, no nothing
it was worth a try.
And lol, pretty much the blue screen of death.
Quote Originally Posted by Raow View Post
it was worth a try.
And lol, pretty much the blue screen of death.
ya....... sorry, ill do it to my old laptop maybe
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us