Back
SetUserAgent
Hello World
Change the user agent for html apps.
app.SetUserAgent(
agent
,
options
)
For more details
ask Wikipedia
.
Example - Example
var
defaultUserAgent
=
navigator
.
userAgent
;
var
myUserAgent
=
defaultUserAgent
;
function
OnStart
(
)
{
app
.
SetUserAgent
(
myUserAgent
)
;
}
Copy All
Run
String
String:
“Add-appends to default user agent”