SyntaxFix
Write A Post
Hire A Developer
Questions
This code is used to detect only safari browser
if (navigator.userAgent.search("Safari") >= 0 && navigator.userAgent.search("Chrome") < 0) { alert("Browser is Safari"); }