Index: webrequest.js |
=================================================================== |
--- a/webrequest.js |
+++ b/webrequest.js |
@@ -49,7 +49,7 @@ |
function onBeforeRequest(url, type, page, frame) |
{ |
- if (isFrameWhitelisted(page, frame)) |
+ if (!/^https?:/.test(url) || isFrameWhitelisted(page, frame)) |
Sebastian Noack
2014/07/15 22:47:44
Any reasons that you don't just change the url pat
Wladimir Palant
2014/07/16 07:12:29
Changing this in chrome/ext/background.js seems to
|
return true; |
var docDomain = extractHostFromFrame(frame); |