Skip to content
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

no-popups: * true rule issue #2277

Closed
harshanvn opened this issue Dec 29, 2016 · 5 comments
Closed

no-popups: * true rule issue #2277

harshanvn opened this issue Dec 29, 2016 · 5 comments

Comments

@harshanvn
Copy link

harshanvn commented Dec 29, 2016

Describe the issue

Having no-popups: * true rule, and opening a link (through left-click) causes previously opened tab to close itself..

One or more specific URLs where the issue occurs

Sample URL: https://github.com/gorhill/uBlock/issues

Screenshot in which the issue can be seen

N/A

Steps for anyone to reproduce the issue

  1. Open/Navigate to https://github.com/gorhill/uBlock/issues in new Window
  2. Right-click on any issue and select open link in new tab, for example do it for (Why no "Show ads everywhere except for these domains" option like in Adblock? #2276) issue.
  3. At this point, you have 2 tabs opened.
  4. Now, on the 1st tab, open any issue by left-click
  5. You will see that 2nd tab is closed because of no-popups: * true, which should not be the case.

Your settings

  • Browser/version: Chrome v55.0.2883.87 m (64-bit), W10
  • uBlock Origin version: 1.10.4
Your filter lists

uBlock Filters + Malware Domains ( Option 1 & 2 ) + Social ( Option 2 ) + Multipurpose ( Option 5 )

Your custom filters (if any)

no-popups: * true ( i have many, i don't think it matters here )

@harshanvn harshanvn changed the title [Chrome] no-popups: * true issue [Chrome] no-popups: * true rule issue Dec 29, 2016
@uBlock-user
Copy link
Contributor

2nd tab is closed

Can't reproduce that. The tab stays open in my case, nothing happens.

@okiehsch
Copy link
Contributor

okiehsch commented Dec 29, 2016

I can reproduce.

  1. Right-click Why no "Show ads everywhere except for these domains" option like in Adblock? #2276
  2. Left-click https://gist.github.com
  3. Result
    popup

@gorhill
Copy link
Owner

gorhill commented Dec 29, 2016

I can reproduce. There is a 10-second span within which uBO will keep evaluating whether the popup must be closed or not. When we navigate to a new URL in the source tab, the address of the new tab (the "popup") no longer match the link originally clicked to open the source tab, and uBO sees the new tab (popup) as "untrusted".

Fix for this is not trivial, I need to investigate.

@uBlock-user
Copy link
Contributor

okiehsch, with your steps, I can reproduce.

@gorhill
Copy link
Owner

gorhill commented Oct 13, 2017

Fixed with 7713597.

@gorhill gorhill closed this as completed Oct 13, 2017
@gorhill gorhill changed the title [Chrome] no-popups: * true rule issue no-popups: * true rule issue Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants