Set User Agent
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 9: | Line 9: | ||
<pre> | <pre> | ||
− | set user agent(" | + | set user agent("Safari") |
− | navigate("http:// | + | navigate("http://www.whatismyua.com/", "Wait") |
</pre> | </pre> |
Revision as of 16:11, 24 September 2013
Set User Agent is a Settings Command.
This command changes the user agent sent to websites.
User Agent: The new user data being set to the specified browser.
Example
set user agent("Safari") navigate("http://www.whatismyua.com/", "Wait")
Running the script sets the user agent of the current browser to IE6, and navigates to a website that checks and displays the user agent in a table.