From 33291c4dcaee61eda8a5db9ae485078b365dc802 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 13 Dec 2015 19:04:58 -0500 Subject: [PATCH] popunder fine tuning: reverting 1d448b85b2931412508aa01bf899e0b6f0033626 for the time being --- src/js/tab.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/js/tab.js b/src/js/tab.js index ad77aca87..855e3770e 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -629,10 +629,8 @@ vAPI.tabs.onPopupUpdated = (function() { var popupType = 'popup'; var result = popupMatch(openerURL, targetURL, µb.mouseURL, popupType); - // Popunder test. Ignore if the target URL was opened by clicking on - // a link, or else this could prevent opening a legitimate site for - // which there is a very broad popunder filter. - if ( result === '' && areDifferentURLs(targetURL, µb.mouseURL) ) { + // Popunder test. + if ( result === '' ) { var tmp = openerTabId; openerTabId = targetTabId; targetTabId = tmp; popupType = 'popunder'; result = popupMatch(targetURL, openerURL, µb.mouseURL, popupType);