How to Block Our Site If Javacsript Is Turned Off?

Discussion in 'JavaScript' started by tricks2, Jun 9, 2010.

  1. #1
    I Want to Block My Site content If the User Browser's Javascript Option Is Turned Off/Disable
    How to Do?
     
    tricks2, Jun 9, 2010 IP
  2. Layoutzzz

    Layoutzzz Greenhorn

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Hi,
    _http://www.w3schools.com/TAGS/tag_noscript.asp
     
    Layoutzzz, Jun 9, 2010 IP
  3. listener86

    listener86 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try to insert this in <head>:
    <noscript><meta http-equiv="refresh" content="0;url=error_page"/></noscript>
     
    listener86, Jun 9, 2010 IP