Index: popup.js |
=================================================================== |
--- a/popup.js |
+++ b/popup.js |
@@ -2,19 +2,16 @@ var backgroundPage = chrome.extension.ge |
var imports = ["FilterStorage", "Filter", "isWhitelisted", "extractHostFromURL", "refreshIconAndContextMenu"]; |
for (var i = 0; i < imports.length; i++) |
window[imports[i]] = backgroundPage[imports[i]]; |
var tab = null; |
function init() |
{ |
- // Fill in i18n strings |
- loadI18nStrings(); |
- |
// Attach event listeners |
$("#enabled").click(toggleEnabled); |
$("#clickHideButton").click(activateClickHide); |
$("#cancelButton").click(cancelClickHide); |
// Ask content script whether clickhide is active. If so, show cancel button. |
// If that isn't the case, ask background.html whether it has cached filters. If so, |
// ask the user whether she wants those filters. |