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 Assets Server Action plug-ins - configuration settings.
Required | No |
Description |
Platform specific user agent used when loading the url in a tab or dialog. It can be useful to use a specific userAgent when you are loading an external website. |
Basic setting |
|
Examples
Define a userAgent for MacOS
<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 MacOS 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>
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.