-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive: Opening a link in new tab/window on some pages is identified as a pop-up and that tab/window is blocked/closed #7918
Comments
Because you're using the |
Thank you for your quick response. However, there is a problem with this popup filter, one way or the other: its behavior is inconsistent. I have the default configuration of uBO, with this filter enabled. And I use shift-click on various links many tens of times a day, and most of them (95+%) open in a new window without being blocked /identified as a popup. Even on the page in question, out of about 19 links, only 3 do not "Open [Link] in New Window", while the rest do, and they don't get identified as a popup. So, the bottom line that the popup filter works inconsistently. (Given the statistics I've mentioned above, I tend to conclude that it was not intended to treat opening legitimate links in a new window as popups.) As an aside, in regards to gorhill/uBlock#3282 : I am not even sure if opening a link on the page and opening a highlighted link should necessarily work the same way from the point of view of the filter. In any case, - I am unable to reproduce the problem reported in that ticket. I suspect it might have been gone since it was reported almost 3 years ago. |
Just in case, links on the reported page that get blocked when you try to open them in a new window: The rest of the links work just fine, despite the popup filter. |
Maybe we should start with whether this page has some ugly javascript to opening garbage in new cards (tabs) / windows. If it does not contain it, you unfortunately pack yourself into the swamp using something like that: So try use:
Should block only bad "pop-ups" on this page as long nobody write:
(https://github.com/gorhill/uBlock/wiki/Resources-Library) And you no report blocked e.g. Vimeo dancing links. |
URL(s) where the issue occurs
http://42graphy.org/tango/
Describe the issue
On some pages, when I open certain links in a new window or tab, uBO determines it as a popup and closes the newly opened page, even though no popups are on the original or the child page.
I have tested, opening in a new window (Shift-click, or right-click & Open Link in New Window ) or a new tab (right-click & Open Link in New Tab) results in the window/tab opened, and immediately closed.
Clicking on the link opens the linked page in the same window without any problem.
If I copy that link and paste it in a new window, no problem is detected by the filter.
For the page used as an example,
http://42graphy.org/tango/
the "offending" link is named "Denver Memorial Day Tango Festival - 2011", under the "2011" section (http://42graphy.org/tango/denvermem-2011/
).Screenshot(s)
Versions
Settings
Notes
The logger clearly indicates that it is a popup filter issue.
Copying the link and opening a page in a new window doesn't trigger the filter
The page that is being opened has just a bit of JS in it, but no popups.
Disabling uBO for the website stops nuking the page.
Many other links on the same page work just fine.
I see only one thing that is different about the "offending" page: it has a <base .. > statement:
<base href="http://42graphy.org/tango/denvermem-2011/best/" />
, and that URL is one level deeper than the URL called. So, that works as a type of Redirect. But that still doesn't make it a popup.The text was updated successfully, but these errors were encountered: