[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 300/483: Register UA stylesheets instead of user stylesheets, these have higher priority
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:41:50 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 e2687c6c3b85639438f77df5f8309de24d939656
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Dec 15 17:10:08 2010 +0100
Register UA stylesheets instead of user stylesheets, these have higher priority
---
modules/AppIntegration.jsm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/AppIntegration.jsm b/modules/AppIntegration.jsm
index f1bc77f..ece13a9 100644
--- a/modules/AppIntegration.jsm
+++ b/modules/AppIntegration.jsm
@@ -61,7 +61,7 @@ var AppIntegration =
let styleService = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService);
let ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService);
let url = ioService.newURI("data:text/css," + encodeURIComponent(data), null, null);
- styleService.loadAndRegisterSheet(url, Ci.nsIStyleSheetService.USER_SHEET);
+ styleService.loadAndRegisterSheet(url, Ci.nsIStyleSheetService.AGENT_SHEET);
}
request.send(null);
}
--
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