summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/resources/blocked_plugin.html
blob: fa2e40f849149f71a4adcf919a351f235145ec86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<script>
function debug(msg) {
  document.getElementById('debug').textContent = msg;
}
function setMessage(msg) {
  document.getElementById('message').textContent = msg;
}
function notifyDidFinishLoading() {
  if (plugin.didFinishLoading)
    plugin.didFinishLoading();
}
</script>
<link rel="stylesheet" href="plugin_placeholders.css"></link>
<style>
body {
  background-color: rgb(187, 187, 187);
}

#plugin_icon {
  opacity: .6;
}
</style>
</head>

<body id="t" onload="notifyDidFinishLoading();">
<div i18n-values="title:name" id="outer">
<div id="inner">
<if expr="not is_android">
  <div><img id="plugin_icon" src="plugin_blocked.png"></div>
</if>
<if expr="is_android">
  <img id="plugin_icon" src="plugin_blocked_android.png">
</if>
<h1 id="message" i18n-content="message"></h1>
<p id="debug"> </p>
</div>
<div id="close" i18n-values="title:hide" onclick="plugin.hide();"></div>
</div>
</body>
</html>