We determine the browser. The most unusual way

    id="browser"
    /''name="firefox"
    /""name="sleipnir_gecko"
    "name="safari"
    ""name="konqueror"
    /name="ie"
    name="opera"
    name="lynx"
    >



    The name attribute of an object with id = browser gives the name of the browser. Based on the difference in methods for parsing element attributes.

    Source: http://www.hedgerwow.com/360/dhtml/html-browser-detection.html

    Also popular now: