- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-20-2011 06:06 AM
I'm trying to create a custom app that identifies browsers as a matter of fact - i need to identify all browsers that do not have MSIE in their http-request .
i tried different regexp patterns and none of them seem to work
[^[MSIE]] - less than 7 chars
[^[MSIE [0-9]\.[0-9]]] - still less than 7 chars? (hmm 4 + 3)
User-Agent [^[MSIE]] - does not seems to work tested browsing on my computer with safari - PA detects it as web-browsing.
02-23-2011 04:20 AM
the main problem is that i need to negate something.
of course i could create 10+ custom apps for each browser, but i think this i not the correct way - what happens if tomorrow somebody will create a new one?
and somthing else:
regex:
.*(User-Agent).*(Chrome)
is a bad idea - some cites write data for different borwsers, so that it is posiible that in http-req will appear word opera.
02-23-2011 06:37 AM
I would set it up as a threat opposed to an app.
02-23-2011 11:25 PM
as i already said - it's a bad practice to create custom apps for all the browser, it is much more better to create a negating rule
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!