We help IT Professionals succeed at work.

Browser detection js function

metalaureate
metalaureate asked
on
Anyone got an excellent piece of modern JS-detection code? I can't use jQuery in this context. Purpose is to exclude my client-side script from functioning on browsers that it doesn't support.
Comment
Watch Question

hi,
have a look at this article
http://www.quirksmode.org/js/detect.html
leakim971Multitechnician
Distinguished Expert 2019
Commented:

Author

Commented:
Very nice.

Author

Commented:
BTW, how do I detect Blackberry's?
leakim971Multitechnician
Distinguished Expert 2019

Commented: