[Pkg-mozext-commits] [greasemonkey] 05/15: Inject into about:blank regardless of search/hash URL parts.
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 21:59:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 92275808ee77d104c1e119ea4eb5cc94b2373d18
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Fri Mar 21 10:35:56 2014 -0400
Inject into about:blank regardless of search/hash URL parts.
Refs #1820
---
content/browser.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/browser.js b/content/browser.js
index 4453dce..fde7448 100644
--- a/content/browser.js
+++ b/content/browser.js
@@ -56,7 +56,7 @@ GM_BrowserUI.chromeLoad = function(e) {
var safeWin = aEvent.target.defaultView;
var href = safeWin.location.href;
GM_BrowserUI.checkDisabledScriptNavigation(aEvent, safeWin, href);
- if (href == 'about:blank') {
+ if (0 == href.indexOf('about:blank')) {
// #1696: document-element-inserted doesn't see about:blank
svc.contentLoad(aEvent);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list