We define the browser. The most unusual way
<map
id="browser"
/''name="firefox"
/""name="sleipnir_gecko"
"name="safari"
""name="konqueror"
/name="ie"
name="opera"
name="lynx"
>
The name attribute of the object with id = browser gives the name of the browser. Based on the difference in parsing the attributes of elements.
Source:
http://www.hedgerwow.com/360/dhtml/html-browser-detection.html
')
Source: https://habr.com/ru/post/14760/
All Articles