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 |
||
(3 intermediate revisions by the same user not shown) | |||
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") >= 0) { |
if (navigator.userAgent.search("Chrome") >= 0) { |
||
Line 12: | Line 14: | ||
console.log('This is a Safari Browser') |
console.log('This is a Safari Browser') |
||
} |
} |
||
}) |
}); |
||
</script></html> |
</script> |
||
</html> |
Latest revision as of 20:51, 11 January 2020