| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <meta name="viewport" content="width=device-width, user-scalable=no"> |
| 5 <script> | 6 <script> |
| 6 function debug(msg) { | 7 function debug(msg) { |
| 7 document.getElementById('debug').textContent = msg; | 8 document.getElementById('debug').textContent = msg; |
| 8 } | 9 } |
| 9 | 10 |
| 10 function insertLink() { | 11 function insertLink() { |
| 11 // Replace the chrome://plugins text with a working link (i18n_template | 12 // Replace the chrome://plugins text with a working link (i18n_template |
| 12 // doesn't allow raw HTML in template data). | 13 // doesn't allow raw HTML in template data). |
| 13 var link = document.getElementById("enable_link"); | 14 var link = document.getElementById("enable_link"); |
| 14 var link_html = link.innerHTML; | 15 var link_html = link.innerHTML; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 35 <div id="inner"> | 36 <div id="inner"> |
| 36 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> | 37 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> |
| 37 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> | 38 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> |
| 38 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://
plugins</a></div> | 39 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://
plugins</a></div> |
| 39 <p id="debug"> </p> | 40 <p id="debug"> </p> |
| 40 </div> | 41 </div> |
| 41 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> | 42 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> |
| 42 </div> | 43 </div> |
| 43 </body> | 44 </body> |
| 44 </html> | 45 </html> |
| OLD | NEW |