Skip to content

Commit

Permalink
Add match_origin_as_fallback to manifest-v3.schema.json (#844)
Browse files Browse the repository at this point in the history
* Add match_origin_as_fallback to manifest-v3.schema.json

See https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts#injecting-in-related-frames

* Create unlucky-goats-exist.md

---------

Co-authored-by: Jack Steam <jacksteamdev@gmail.com>
  • Loading branch information
hovavo and jacksteamdev committed Jan 7, 2024
1 parent fe7120d commit a0d4592
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-goats-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rollup-plugin-chrome-extension": patch
---

Add match_origin_as_fallback to manifest-v3.schema.json
5 changes: 5 additions & 0 deletions packages/rollup-plugin/schema/manifest-v3.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@
"description": "Controls whether the content script runs in all frames of the matching page, or only the top frame.",
"type": "boolean"
},
"match_origin_as_fallback": {
"type": "boolean",
"description": "Controls whether the content script runs in frames that are related to a matching frame.",
"default": false
},
"css": {
"description": "The list of CSS files to be injected into matching pages. These are injected in the order they appear in this array, before any DOM is constructed or displayed for the page.",
"items": {
Expand Down

0 comments on commit a0d4592

Please sign in to comment.