Usage:
This shortcode enables one to query whether a visitor’s User Agent (browser) is not one of the ones provided in a list of possible names.
[ELSE_not_user_agent] conditional branching is supported.
Shortcode nesting is NOT supported.
Parameters:
name | Specify one or more user agents. Since a visitor cannot have more than one user agent, any matching agent will resolve to false if more than one is specified. Default: none. Required: yes. |
Any one of the following user agents may be used:
android |
apache |
blackberry |
chrome |
edge |
ff |
firefox |
gecko |
ie |
iis |
iis7 |
ipad |
iphone |
ipod |
kindle |
macff |
macie |
mobile |
ns4 |
opera |
operamini |
operamobi |
safari |
silk |
winff |
winie |
lynx |
Example:
[mbr_not_user_agent name='firefox'] User agent is NOT firefox. [ELSE_not_user_agent] User agent is firefox. [/mbr_not_user_agent]
[mbr_not_user_agent name=chrome,edge] User agent is NOT chrome NOR edge. [ELSE_not_user_agent] User agent is chrome or edge. [/mbr_not_user_agent]
API:
There is currently no ActiveMember360 API function equivalent for this shortcode.