Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to detect safari browser in javascript

const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
 
PREVIOUS NEXT
Tagged: #detect #safari #browser #javascript
ADD COMMENT
Topic
Name
5+4 =