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

Left click new browser window open bug (shift left click works) #163

Open
WeaponX1 opened this issue Sep 3, 2021 · 1 comment
Open

Left click new browser window open bug (shift left click works) #163

WeaponX1 opened this issue Sep 3, 2021 · 1 comment

Comments

@WeaponX1
Copy link

WeaponX1 commented Sep 3, 2021

Hello,

I have setup firefox 91.0.2 to open links in new windows using the following directives:

  • browser.link.open_newwindow to: 2
  • browser.link.open_newwindow.restriction to: 1
  • browser.link.open_newwindow.override.external to: -1

I have setup containerise using the following strategy:

  • match domain OFF
  • keep old tabs ON
  • Default container ON (lifetime = until last tab is closed)

Each container has the following preferences:
whatsapp (lifetime = forever) - rule *.whatsapp.com
facebook (lifetime = forever) - rule *.facebook.com
messenger (lifetime = forever) - rule *.messenger.com
youtube (lifeteime = forever) - rule *.youtube.com
reddit.com (lifetime = forever) - rule *.reddit.com

Problem:
When I use reddit.com, web.whatsapp, messenger.com and click on an external link, when I left click on it, it tries to open the link into a new browser window but gets closed immediately. If I press shift+left click it works as expected and the link opens in a new window.

When I disable the containerise extension or create a fresh profile with no extensions the problem is gone and the behavior works as expected.

=> I have the suspicious if a friend shares a youtube link through the whatsapp container (web.whatsapp.com), it tries to assign the youtube container from within the whatsapp container and probably the reason why it doesn't work but random links sometimes do works at times , what baffles me is why shift+left always work into a new browser window.

Appreciate if you can look into this bug.

@WeaponX1
Copy link
Author

WeaponX1 commented Sep 3, 2021

Hello,
Adding the following granular rules helped resolved the issue but problem for website links however for youtube videos the problem persits (but if I enter ctl+shift+i for network debug it automatically starts working again)

Example redirect rules which helpped e.g.
*.redd.it , Reddit
*.reddit.com , Reddit
*.redditmedia.com , Reddit
*.redditstatic.com , Reddit

The youtube referrer returns "strict-origin-when-cross-origin" through reddit links and I'm wondering whether this might be the problem?

@WeaponX1 WeaponX1 closed this as completed Sep 3, 2021
@WeaponX1 WeaponX1 reopened this Sep 3, 2021
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

1 participant