NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / renderer / resources / disabled_plugin.html
bloba63cfa00d8e38bf15e31bf0349eacfac3003ed53
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script>
6 function debug(msg) {
7 document.getElementById('debug').textContent = msg;
10 function insertLink() {
11 // Replace the chrome://plugins text with a working link (i18n_template
12 // doesn't allow raw HTML in template data).
13 var link = document.getElementById("enable_link");
14 var link_html = link.innerHTML;
15 link.parentNode.removeChild(link);
16 var message = document.getElementById("message");
17 var message_html = message.innerHTML;
18 message.innerHTML = message_html.replace('chrome://plugins', link_html);
20 </script>
21 <link rel="stylesheet" href="plugin_placeholders.css"></link>
22 <style>
23 body {
24 background-color: rgb(187, 187, 187);
27 #plugin_icon {
28 opacity: .6;
30 </style>
31 </head>
33 <body id="t" onLoad="insertLink()">
34 <div i18n-values="title:name" id="outer">
35 <div id="inner">
36 <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
37 <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 <p id="debug"> </p>
40 </div>
41 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" />
42 </div>
43 </body>
44 </html>