Looking for a URL matches pattern to ignore language-locale pairs in the path

Viewed 10

The content_scripts section in my V3 manifest includes:

"matches": ["https://*.domain.com/search?*"]

When I’m using my VPN to connect through a different country, Chrome sometimes adds a language-locale pair (eg “en-gb”) in front of the path in the URL which excludes my content script.

I’ve tried adding a match for:

https://*.domain.com/*search?*

and even, just to see if I could force it:

https://*.domain.com/en-gb/search?*

but my script is never executed.

Any idea how to deal with this? Ideally in a way that would cover all language-locale pairs.

0 Answers
Related