Skip to content

Commit

Permalink
Merge pull request #1122 from dotboris/min-browser-version
Browse files Browse the repository at this point in the history
Set minimum browser versions
  • Loading branch information
dotboris committed May 12, 2024
2 parents f73f815 + ceaafa4 commit c5c1063
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/blue-rivers-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"prod-guard": patch
---

Set minimum version of Chrome to 121. This is the first version of Chrome that ignores the `background.scripts` property in `manifest.json`. We need this property to be ignored because we distribute this extension in Firefox which requires this key.
5 changes: 5 additions & 0 deletions .changeset/shiny-wasps-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"prod-guard": patch
---

Set minimum version of Firefox to 112. This is the first version version of Firefox to support both Manifest v3 and the `background.type` property.
4 changes: 3 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"permissions": ["storage", "scripting", "tabs"],
"host_permissions": ["*://*/*"],

"minimum_chrome_version": "121",
"browser_specific_settings": {
"gecko": {
"id": "dev-prog-guard-extension@example.com"
"id": "dev-prog-guard-extension@example.com",
"strict_min_version": "112.0"
}
}
}

0 comments on commit c5c1063

Please sign in to comment.