Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
V4 @match behaves differently than V3 and TamperMonkey #2673
My script has following entries (sanitized at those are intranet addresses):
On V3/tampermonkey it works for all following addresses examples (both http and https)
Hovewer on V4  and  does not work. For  fix was to add those to match the port too:
As for  i tried this, but even it does not help
And this does not make any sense for me as  work on first (original) rule set alone.
The official documentation is terse and doesn't mention ports at all. Will be sure to include a test when fixing, to prevent regressions.
That said comparing the new/old code:
I'm unclear how this happened, it didn't change.
added a commit
Dec 4, 2017
Not directly related to the problem functionality, but guarantees compatibility with FF implementation. Should said API be implemented.
This fix should be in 4.1beta6; testing and confirming this would be very appreciated!