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://*/*"], |
types: ["main_frame"] |
} |
); |
chrome.webNavigation.onCommitted.addListener(onPopupURLChanged); |
chrome.webNavigation.onCompleted.addListener(onCompleted); |
chrome.tabs.onRemoved.addListener(forgetPopup); |
} |