g3rv4 / OnChrome

A Firefox extension to open certain sites on Chrome. Every. Freaking. Time
https://onchrome.gervas.io
MIT License
20 stars 2 forks source link

Excluding URLs does not work #10

Closed TobiasWenzel closed 2 years ago

TobiasWenzel commented 2 years ago

I want all Google URLs to be opened in Chrome, except for accounts.google.com. So this is how I configured OnChrome:

image

Unfortunately the exclusion does not work, it will also open https://accounts.google.com/ in Chrome (as well as all other .google.com URLs, which is fine). I already tried experimenting with different schemes. For example, I also tried the appropriate URL match pattern `://accounts.google.com/*` in the exclusion, although it clearly states that the exclusion URL has to be a regular expression. But that didn't work either.

Any help would be appreciated.

g3rv4 commented 2 years ago

I think I understand what happens there :)

You go to accounts.google.com, and OnChrome does the right thing (it doesn't open Chrome for that). However, then Google redirects you to myaccount.google.com. And that doesn't match your exclusions list.

Give it a try with .*accounts?\.google\.com.* as the regular expression

TobiasWenzel commented 2 years ago

Cool, that worked! 😀 Thank you very much! Nice extension! 👍