Quantcast
Channel: Surfing SuccessSurfing Success
Viewing all articles
Browse latest Browse all 25

Javascript Browser Detection – Navigator User Agent

$
0
0

Javascript browser detection can be useful.  jQuery had the function ".browser" which would detect the users browser, but it was removed in jQuery version 1.9. They now recommend ".support" for browser feature detection. *using navigator.userAgent can make you vulnerable to spoofing.  Here is a lengthy article.   So you're not supposed to detect users browsers using javascript, but here's how. Continue reading

The post Javascript Browser Detection – Navigator User Agent appeared first on Surfing Success.


Viewing all articles
Browse latest Browse all 25

Trending Articles