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