- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
02-15-2018 03:21 PM
02-15-2018 09:44 PM
02-15-2018 10:05 PM
Hi @sathomps,
The first thing you'll need to do is to bring the browser's user agent string into the UDO prior to load rules being evaluated.
To do this, create a UDO element called "userAgent" and then create a Before Load Rules scoped "Set Data Values" extension that sets userAgent to the JS Code: navigator.userAgent.
Now that the user agent is in the UDO, you can create a load rule to exclude IE 11 by specifying that userAgent does not contain (ignore case) "msie 11". On the basis that later versions (i.e. Edge) don't include the "MSIE" token, and any exclusion of IE 11 probably ought to exclude IE 6 - 10 too, you may find that it's easier to simply set the load rule to require that userAgent does not contain (ignore case) "msie".
For testing, most debug tools include user agent switchers, so it'd be a case of testing whether that tag fires when you're emulating Internet Explorer.
Give me a shout if any of this is unclear.
Copyright All Rights Reserved © 2008-2023