Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9551)

Unified Diff: chrome/renderer/resources/plugins/disabled_plugin.html

Issue 2626843006: Plugins: Remove left over references to chrome://plugins (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/plugins/disabled_plugin.html
diff --git a/chrome/renderer/resources/plugins/disabled_plugin.html b/chrome/renderer/resources/plugins/disabled_plugin.html
index 40ff18f23095565c99eeebb390f0ca38d3d0fe69..fd40773d67f3607d1e453f4369e5dcd89ae66afa 100644
--- a/chrome/renderer/resources/plugins/disabled_plugin.html
+++ b/chrome/renderer/resources/plugins/disabled_plugin.html
@@ -3,18 +3,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
- <script>
- function insertLink() {
- // Replace the chrome://plugins text with a working link (i18n_template
- // doesn't allow raw HTML in template data).
- var link = document.getElementById("enable_link");
- var link_html = link.innerHTML;
- link.parentNode.removeChild(link);
- var message = document.getElementById("message");
- var message_html = message.innerHTML;
- message.innerHTML = message_html.replace('chrome://plugins', link_html);
- }
- </script>
<link rel="stylesheet" href="plugin_placeholders.css"></link>
</head>
<body id="t" onLoad="insertLink()">
@@ -22,9 +10,6 @@
<img class="icon"
src="../../../../ui/webui/resources/images/extension.svg">
<h1 id="message">$i18n{message}</h1>
- <div id="enable_link">
- <a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a>
- </div>
</div>
</body>
</html>
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698