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

content_scripts match not working #33759

Closed
kaiser101 opened this issue May 26, 2024 · 1 comment
Closed

content_scripts match not working #33759

kaiser101 opened this issue May 26, 2024 · 1 comment
Labels
Content:WebExt WebExtensions docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@kaiser101
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#examples

What specific section or headline is this issue about?

match not matching path urls

What information was incorrect, unhelpful, or incomplete?

The examples section is incorrect. I wanted to create a addon which matches on youtube shorts. The shorts have url which is of type

https://www.youtube.com/shorts/

I tried matching it with

"match" : "https://www.youtube.com/shorts/*" and it does not work.

What did you expect to see?

I expected my js file to get triggered.

Do you have any supporting links, references, or citations?

NA

Do you have anything more you want to share?

No response

@kaiser101 kaiser101 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 26, 2024
@github-actions github-actions bot added the Content:WebExt WebExtensions docs label May 26, 2024
@rebloor
Copy link
Contributor

rebloor commented May 27, 2024

@kaiser101 Please post a question in the add-on development forum and remember to provide an example of the code with the problem.

@rebloor rebloor closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebExt WebExtensions docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants