1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="viewport" content="width=device-width, user-scalable=no"> 6 <script> 7 function debug(msg) { 8 document.getElementById('debug').textContent = msg; 9 } 10 11 function insertLink() { 12 // Replace the chrome://plugins text with a working link (i18n_template 13 // doesn't allow raw HTML in template data). 14 var link = document.getElementById("enable_link"); 15 var link_html = link.innerHTML; 16 link.parentNode.removeChild(link); 17 var message = document.getElementById("message"); 18 var message_html = message.innerHTML; 19 message.innerHTML = message_html.replace('chrome://plugins', link_html); 20 } 21 </script> 22 <link rel="stylesheet" href="plugin_placeholders.css"></link> 23 <style> 24 body { 25 background-color: rgb(187, 187, 187); 26 } 27 28 #plugin_icon { 29 opacity: .6; 30 } 31 </style> 32 </head> 33 34 <body id="t" onLoad="insertLink()"> 35 <div i18n-values="title:name" id="outer"> 36 <div id="inner"> 37 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> 38 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> 39 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a></div> 40 <p id="debug"> </p> 41 </div> 42 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> 43 </div> 44 </body> 45 </html> 46