[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 139/483: Make EHH and ABP Watcher compatible with Prism
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 a15f22ed2a3bd2b012808f412c202ba64327cc41
Author: Wladimir Palant <trev at adblockplus.org>
Date: Thu Nov 20 21:33:23 2008 +0100
Make EHH and ABP Watcher compatible with Prism
---
chrome.manifest | 1 +
chrome/content/overlay.js | 4 +---
install.rdf | 9 +++++++++
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/chrome.manifest b/chrome.manifest
index f2547e0..73e0b5f 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -5,6 +5,7 @@ overlay chrome://messenger/content/mailWindowOverlay.xul chrome://elemhidehelp
overlay chrome://songbird/content/xul/layoutWithBrowserOverlay.xul chrome://elemhidehelper/content/overlayBasic.xul
overlay chrome://midbrowser/content/midbrowser.xul chrome://elemhidehelper/content/overlayBasic.xul
overlay chrome://emusic/content/startup.xul chrome://elemhidehelper/content/overlayBasic.xul
+overlay chrome://webrunner/content/webrunner.xul chrome://elemhidehelper/content/overlayBasic.xul
content elemhidehelper jar:chrome/elemhidehelper.jar!/content/
skin elemhidehelper classic/1.0 jar:chrome/elemhidehelper.jar!/skin/classic/
locale elemhidehelper {{LOCALE}} jar:chrome/elemhidehelper.jar!/locale/{{LOCALE}}/
diff --git a/chrome/content/overlay.js b/chrome/content/overlay.js
index bcc5360..b7971c8 100644
--- a/chrome/content/overlay.js
+++ b/chrome/content/overlay.js
@@ -61,10 +61,8 @@ function ehhGetBrowser() {
return getBrowser();
else if ("messageContent" in window)
return window.messageContent;
- else if (document.getElementById("frame_main_pane"))
- return document.getElementById("frame_main_pane");
else
- return null;
+ return document.getElementById("frame_main_pane") || document.getElementById("browser_content");
}
function ehhHideTooltips() {
diff --git a/install.rdf b/install.rdf
index 9ed0577..d9c3b50 100644
--- a/install.rdf
+++ b/install.rdf
@@ -84,6 +84,15 @@
</Description>
</em:targetApplication>
+ <!-- Prism -->
+ <em:targetApplication>
+ <Description>
+ <em:id>prism at developer.mozilla.org</em:id>
+ <em:minVersion>0.9</em:minVersion>
+ <em:maxVersion>0.9.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
<!-- Dependency on Adblock Plus -->
<em:requires>
<Description>
--
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