Index: popupBlocker.js |
=================================================================== |
--- a/popupBlocker.js |
+++ b/popupBlocker.js |
@@ -39,17 +39,17 @@ chrome.tabs.onUpdated.addListener(functi |
{ |
// Not a pop-up we've previously seen |
return; |
} |
if ("url" in changeInfo) |
checkPotentialPopup(tabId, tab.url, tabsLoading[tabId]); |
- if ("status" in changeInfo && changeInfo.status == "complete") |
+ if ("status" in changeInfo && changeInfo.status == "complete" && tab.url != "about:blank") |
delete tabsLoading[tabId]; |
}); |
function checkPotentialPopup(tabId, url, opener) |
{ |
var requestHost = extractHostFromURL(url); |
var documentHost = extractHostFromURL(opener); |