diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index a42174924..594c83c9d 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2376,7 +2376,7 @@ vAPI.net.registerListeners = function() { // https://github.com/uBlockOrigin/uAssets/issues/255 // Handle chained popups. if ( openerTabId !== undefined ) { - shouldLoadPopupListenerMap.set(target.currentURI.asciiSpec, openerTabId); + shouldLoadPopupListenerMap.set(popupURL, openerTabId); shouldLoadPopupListenerMapToD = Date.now() + 10000; vAPI.tabs.onPopupCreated(popupTabId, openerTabId); return;