073-noscript.html 812 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>073 noscript with scripting enabled</title>
  6. <style>
  7. body { background: #ffffff; color: #202020; font-family: sans-serif;
  8. margin: 12px; font-size: 18px; }
  9. #result { background: #c8f0c8; color: #000000; padding: 8px; margin-top: 12px; }
  10. </style>
  11. </head>
  12. <body>
  13. <h1>073 &mdash; noscript</h1>
  14. <p>Scripting is on, so <code>&lt;noscript&gt;</code> content is raw text:
  15. its style and meta refresh must not apply (google.com hides every div
  16. this way). The green NOSCRIPT-OK line must be visible and no
  17. "NOSCRIPT-FAIL" text may appear.</p>
  18. <noscript><meta http-equiv="refresh" content="0;url=about:blank"><style>div,p{display:none}</style><span>NOSCRIPT-FAIL</span></noscript>
  19. <div id="result">NOSCRIPT-OK</div>
  20. </body>
  21. </html>