问题
I have a widget which unfortunately doesn't display well on Dolphin lite browsers since position:fixed is not supported.
The user agent string I see is :
Mozilla/5.0 (Linux; U; Android 2.2.1; iw-il; X10i TripNMiUI Build/NI1063) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
How can I use this to identify dolphin browsers (any version) ? Or is there another way to do that?
Alternatively I found a code that checks for position=fixed support but it looks risky to incorporate in production. Is there is a safe way to do this that could solve to my problem?
来源:https://stackoverflow.com/questions/9209093/how-to-identify-dolphin-lite-browser-from-javascript