Template:Browser Detection: Difference between revisions

Content deleted Content added
Seddon (WMF) (talk | contribs)
No edit summary
Seddon (WMF) (talk | contribs)
No edit summary
 
Line 11:
}
//Check if browser is Safari
else if (navigator.userAgent.search("Safari") >= 0 <nowiki>&</nowiki>& navigator.userAgent.search("Chrome") < 0) {
console.log('This is a Safari Browser')
}