| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| function debug(msg) { |
| document.getElementById('debug').textContent = msg; |
| } |
| </script> |
| <link rel="stylesheet" href="plugin_placeholders.css"></link> |
| <style> |
| body { |
| background-color: rgb(128, 128, 128); |
| } |
| |
| body #outer:hover { |
| background: -webkit-linear-gradient(#d2d2d2, #a5a5a5); |
| } |
| |
| body #outer:active { |
| background: -webkit-linear-gradient(#b9b9b9, #d2d2d2); |
| } |
| |
| #plugin_icon { |
| opacity: .4; |
| } |
| |
| #outer:hover #plugin_icon { |
| opacity: 1.0; |
| } |
| |
| #outer { |
| cursor: pointer; |
| } |
| </style> |
| </head> |
| |
| <body id="t"> |
| <div i18n-values="title:name" id="outer" onclick="plugin.load()"> |
| <div id="inner"> |
| <div><img id="plugin_icon" src="plugin_blocked.png" /></div> |
| <h1 i18n-content="message">PLUGIN_LOAD</h1> |
| <p id="debug"> </p> |
| </div> |
| <div id="close" i18n-values="title:hide" onclick="event.stopPropagation(); plugin.hide()" /> |
| </div> |
| <script> |
| size = document.getElementById('outer'); |
| style = getComputedStyle(size); |
| if (parseInt(style.width) < 32 && parseInt(style.height) < 32) { |
| i = document.getElementById('close'); |
| i.parentNode.removeChild(i); |
| } |
| </script> |
| </body> |
| </html> |