Forum Discussion
Jared_01_140721
Nimbostratus
Jan 03, 2014Hide what browser is being used
I have an web application that doesn't support safari by choice. (They want you to buy the application). Is there a way to hide the fact that Safari is being used, or tell the application that IE is ...
hoolio
Cirrostratus
Jan 03, 2014You could rewrite the user-agent header:
user-agent from: http://www.useragentstring.com/pages/Safari/
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::header User-Agent]] {
"*safari*" {
HTTP::header replace "User-Agent" "my custom user-agent string"
}
}
}
Aaron
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