Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Block Older Browsers

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36702
    iehsan
    Member

    hi.
    how to block older browsers and redirect user to other page with js?

    thank you :D

    #96869
    iehsan
    Member

    older browsers example: Chrome – 3
    Firefox – 3.6
    and any browser not compatibility with html5 features.

    #96871
    Zeriz
    Member

    Conditional Stylesheets? As an example; make a stylesheet for lte IE6 (Lower Than or Equal) and put this code into the stylesheet only:

    * { display: hidden background-color: blackĀ }
    body:after { content: "

    Only eligable for browsers with HTML5-support

    "; }

    Just a theory, but I guess it would work just fine :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.