Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: popup.js

Issue 29363445: Issue 4577 - Remove Safari support (Closed)
Patch Set: Created Nov. 17, 2016, 11:36 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « popup.html ('k') | safari/contentBlocking.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: popup.js
diff --git a/popup.js b/popup.js
index 3b5a20a9758a09db95735d0c1bd0b273e55d644e..d611a7b44aa3bfd718e15635d0ec99297413008e 100644
--- a/popup.js
+++ b/popup.js
@@ -63,17 +63,6 @@ function onLoad()
document.body.classList.add("clickhide-active");
});
}
-
- // For Safari, if the content blocking API is active we need to hide the
- // stats section. (The content blocking API doesn't provide a way for us to
- // offer those blocking statistics.)
- ext.backgroundPage.sendMessage({type: "safari.contentBlockingActive"},
- function (contentBlockingActive)
- {
- if (contentBlockingActive)
- document.body.classList.add("contentblocking-active");
- }
- );
});
document.getElementById("enabled").addEventListener("click", toggleEnabled, false);
« no previous file with comments | « popup.html ('k') | safari/contentBlocking.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld