Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>browser_toolbox_options_disablejs.html</title> |
michael@0 | 5 | <meta charset="UTF-8"> |
michael@0 | 6 | <style> |
michael@0 | 7 | div { |
michael@0 | 8 | width: 260px; |
michael@0 | 9 | height: 24px; |
michael@0 | 10 | border: 1px solid #000; |
michael@0 | 11 | margin-top: 10px; |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | iframe { |
michael@0 | 15 | height: 90px; |
michael@0 | 16 | border: 1px solid #000; |
michael@0 | 17 | } |
michael@0 | 18 | |
michael@0 | 19 | h1 { |
michael@0 | 20 | font-size: 20px |
michael@0 | 21 | } |
michael@0 | 22 | </style> |
michael@0 | 23 | <script type="application/javascript;version=1.8"> |
michael@0 | 24 | function log(msg) { |
michael@0 | 25 | let output = document.getElementById("output"); |
michael@0 | 26 | |
michael@0 | 27 | output.innerHTML = msg; |
michael@0 | 28 | } |
michael@0 | 29 | </script> |
michael@0 | 30 | </head> |
michael@0 | 31 | <body> |
michael@0 | 32 | <h1>Test in page</h1> |
michael@0 | 33 | <input id="logJSEnabled" |
michael@0 | 34 | type="button" |
michael@0 | 35 | value="Log JS Enabled" |
michael@0 | 36 | onclick="log('JavaScript Enabled')"/> |
michael@0 | 37 | <input id="logJSDisabled" |
michael@0 | 38 | type="button" |
michael@0 | 39 | value="Log JS Disabled" |
michael@0 | 40 | onclick="log('JavaScript Disabled')"/> |
michael@0 | 41 | <br> |
michael@0 | 42 | <div id="output">No output</div> |
michael@0 | 43 | <h1>Test in iframe</h1> |
michael@0 | 44 | <iframe src="browser_toolbox_options_disable_js_iframe.html"></iframe> |
michael@0 | 45 | </body> |
michael@0 | 46 | </html> |