Index: lib/popupBlocker.js |
=================================================================== |
--- a/lib/popupBlocker.js |
+++ b/lib/popupBlocker.js |
@@ -95,17 +95,17 @@ |
chrome.webNavigation.onCreatedNavigationTarget.addListener(details => |
{ |
if (!hasLoadingPopups()) |
{ |
chrome.webRequest.onBeforeRequest.addListener( |
onPopupURLChanged, |
{ |
- urls: ["<all_urls>"], |
+ urls: ["http://*/*", "https://*/*", "ws://*/*", "wss://*/*"], |
Sebastian Noack
2017/04/19 12:10:11
Same here.
Jon Sonesen
2017/04/19 12:22:27
Done.
|
types: ["main_frame"] |
} |
); |
chrome.webNavigation.onCommitted.addListener(onPopupURLChanged); |
chrome.webNavigation.onCompleted.addListener(onCompleted); |
chrome.tabs.onRemoved.addListener(forgetPopup); |
} |