[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 135/483: Removing "protect chrome" work-around - no longer necessary in Firefox 3

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 62b9f59fc738d7786e0f14e247f4165208b50a05
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Tue Oct 28 14:49:03 2008 +0100

    Removing "protect chrome" work-around - no longer necessary in Firefox 3
---
 chrome/content/overlay.js              | 7 -------
 defaults/preferences/elemhidehelper.js | 1 -
 2 files changed, 8 deletions(-)

diff --git a/chrome/content/overlay.js b/chrome/content/overlay.js
index 3e774ef..bcc5360 100644
--- a/chrome/content/overlay.js
+++ b/chrome/content/overlay.js
@@ -54,13 +54,6 @@ function ehhInit2() {
       abpConfigureKey("ehh-selectelement", key);
     }
   }
-
-  // Make sure chrome protection works in SeaMonkey
-  if (branch.getPrefType("protectchrome.ehh") != branch.PREF_STRING) {
-    try {
-      branch.setCharPref("protectchrome.ehh", "elemhidehelper");
-    } catch(e) {}
-  }
 }
 
 function ehhGetBrowser() {
diff --git a/defaults/preferences/elemhidehelper.js b/defaults/preferences/elemhidehelper.js
index 2bed0e2..404e05f 100644
--- a/defaults/preferences/elemhidehelper.js
+++ b/defaults/preferences/elemhidehelper.js
@@ -1,5 +1,4 @@
 pref("extensions.adblockplus.ehh-selectelement_key", "Accel Shift K");
-pref("extensions.adblockplus.protectchrome.ehh", "elemhidehelper");
 pref("extensions.adblockplus.ehh.showhelp", true);
 pref("extensions.adblockplus.ehh.norequirementswarning", false);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list