Jump to content
UBot Underground

Change User Agent In A Loop Without Getting The Browser Crash.


Recommended Posts

Hi guys,

 

I have a problem when using the set user agent function in a loop. Every time i try to use a random user agent from a list it crashes the browser. Is there anyways to fix it? 

add list to list(%useragent, $list from file("C:\\Users\\Admin\\Desktop\\useragents.txt"), "Delete", "Global")
loop(10) {
    set user agent($random list item(%useragent))
    in new browser {
        navigate("http://www.whatsmyua.com/", "Wait")
    }
}

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...