Elvis 6 action plug-ins setting - userAgents
The userAgents setting is one of the settings of an Action plug-in that can be configured in its configuration file. For more information, see Elvis 6 Action plug-ins - configuration settings.
Required | No |
Description |
Platform specific user agent used when loading the url in a tab or dialog. Replaces the default AIR user agent. It can be useful to use a specific userAgent when you're loading an external website which is not working correctly with the default AIR user agent. |
Basic setting |
|
Examples
Define a userAgent for Mac OS X
<userAgents>
<userAgentMacOSX>Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20100101 Firefox/6.0.2</userAgent>
</userAgents>
Define a userAgent for Windows
<userAgents>
<userAgentWindows>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)</userAgentWindows>
</userAgents>
Define a userAgent for Mac OS X and Windows
<userAgents>
<userAgentMacOSX>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1</userAgentMacOSX>
<userAgentWindows>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1</userAgentWindows>
</userAgents>
Comments
0 comments
Please sign in to leave a comment.