Template:Browser Detection: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Seddon (WMF) (talk | contribs) No edit summary |
Seddon (WMF) (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<html><script>$(function () { |
<html><script>$(function () { |
||
//Check if browser is Chrome |
//Check if browser is Chrome |
||
if (navigator.userAgent.search("Chrome") & gt; = 0) { |
|||
console.log('This is a Chrome Browser') |
console.log('This is a Chrome Browser') |
||
} |
} |