Merge branch 'master' of github.com:gorhill/uBlock

This commit is contained in:
gorhill 2015-02-07 00:01:13 -05:00
commit 46180aeb28
1 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@
document.removeEventListener("DOMContentLoaded", firstMutation, true);
firstMutation = false;
var randEventName = uniqueId();
window.addEventListener(randEventName, function(e) {
document.addEventListener(randEventName, function(e) {
if(shouldBlockDetailedRequest(e.detail)) {
e.detail.url = false;
}
@ -225,7 +225,7 @@ type: t\
},\
bubbles: false\
});\
dispatchEvent(e);\
document.dispatchEvent(e);\
return e.detail.url === false;\
},\
wo = open,\