Forum Discussion
Aviv
Cirrus
Feb 18, 2016IE user agent
Hi!
i have an app that support only IE.
i want to display a some message to all browsers except IE.
i have found that only IE have a user agent string that contains "Trident".
how to write an ir...
Josiah_39459
Feb 19, 2016Historic F5 Account
Change this part:
"switch -glob [ string tolower [HTTP::header User-Agent]] { "msie 10.0" - "msie 9.0" - "msie 8.0" - "msie 7.0" - "msie 6." {"
to
if { !([string tolower [HTTP::header User-Agent]] contains "trident") } {
- AvivFeb 20, 2016
Cirrus
Hi Josiah! i get : error: [command is not valid in the current scope][}] when i replace as u suggested...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
