Jump to content
UBot Underground

Click On Random Google Result


Recommended Posts

sure theirs better ways but this will do

set(#search,$replace($prompt("enter search")," ","+"),"Global")
clear list(%links)
navigate("https://www.google.com/search?q={#search}","Wait")
wait for browser event("Page Loaded","")
wait for browser event("Everything Loaded","")
wait for browser event("DOM Ready","")
add list to list(%links,$scrape attribute(<class="r">,"outertext"),"Delete","Global")
click(<innertext=$list item(%links,$rand(0,$subtract($list total(%links),1)))>,"Left Click","No")

  • Like 3
Link to post
Share on other sites

 

sure theirs better ways but this will do

set(#search,$replace($prompt("enter search")," ","+"),"Global")
clear list(%links)
navigate("https://www.google.com/search?q={#search}","Wait")
wait for browser event("Page Loaded","")
wait for browser event("Everything Loaded","")
wait for browser event("DOM Ready","")
add list to list(%links,$scrape attribute(<class="r">,"outertext"),"Delete","Global")
click(<innertext=$list item(%links,$rand(0,$subtract($list total(%links),1)))>,"Left Click","No")

Really thanks !  :D

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...