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

"world" option missing for registerContentScript #22409

Closed
marvinhagemeister opened this issue Nov 19, 2022 · 1 comment · Fixed by #22673
Closed

"world" option missing for registerContentScript #22409

marvinhagemeister opened this issue Nov 19, 2022 · 1 comment · Fixed by #22673
Labels
Content:WebExt WebExtensions docs help wanted If you know something about this topic, we would love your help!

Comments

@marvinhagemeister
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/scripting/RegisteredContentScript

What specific section or headline is this issue about?

Property list, "world" is missing.

What information was incorrect, unhelpful, or incomplete?

Chrome and Edge have an additional property "world" for registered content scripts. See: https://developer.chrome.com/docs/extensions/reference/scripting/#property-RegisteredContentScript-world

What did you expect to see?

The "world" property is missing.

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

https://developer.chrome.com/docs/extensions/reference/scripting/#property-RegisteredContentScript-world

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@github-actions github-actions bot added needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. Content:WebExt WebExtensions docs labels Nov 19, 2022
@bsmth
Copy link
Member

bsmth commented Nov 21, 2022

Hi @marvinhagemeister, thanks a lot for raising this one. Would you like to open a pull request to add it to the list?

@sideshowbarker sideshowbarker added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Nov 27, 2022
dawei-wang added a commit to dawei-wang/content that referenced this issue Dec 2, 2022
@rebloor rebloor added the P3 label Dec 15, 2022
Rob--W added a commit that referenced this issue Feb 17, 2023
* Add world property

Fixes #22409

* Update files/en-us/mozilla/add-ons/webextensions/api/scripting/registeredcontentscript/index.md

Co-authored-by: Rob Wu <rob@robwu.nl>

---------

Co-authored-by: Rob Wu <rob@robwu.nl>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:WebExt WebExtensions docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants