DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
detect user browser javascript
if (navigator.userAgent.includes('Safari')) { // the user is running Safari // do something useful }
Source by learn.coderslang.com #
PREVIOUS
NEXT
Tagged:
#detect
#user
#browser
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit