-
Notifications
You must be signed in to change notification settings - Fork 3
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
"match" in meta file didn't support port #4
Comments
browser-extension-url-match works good on version 1.0.0 You may need to update the dependence? |
Did browser-extension-url-match 1.0.0 really work for you? I tried upgrading it to 1.0.0 and even 1.2.0, and it still threw that error. The matching algorithm it simulates also does not support port matching, so it seems to work as intended. https://developer.chrome.com/docs/extensions/mv3/match_patterns/ |
I means, the url "http://localhost/" didn't match "http://localhost:9000/". It's not same as tampermonkey. New version seems work well |
Ah, I see, you are right. I'll update the version later, thanks for reporting! |
- Closes guansss#4 - Add test case to unsure compatibility with future releases
- Closes guansss#4 - Add test case to unsure compatibility with future releases
- Closes guansss#4 - Add test case to unsure compatibility with future releases
I tried:
And got an error in console:
In
utils.js
matcher.error
isError: Host "localhost:54220" cannot include a port number. All ports are matched by default.
.Then I tried
"match": ["*://localhost/"]
and visitedlocalhost:54220
, but matcher.match(url) returnfalse
, so my script didn't work.The text was updated successfully, but these errors were encountered: