Skip to content

Commit 5965dde

Browse files
committed
Reduced unnecessary permissions (no need for host_permissions).
1 parent 778fc41 commit 5965dde

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Version must be kept in-sync between [`package.json`](package.json) and [`wxt.co
77
## [Unreleased]
88
### Fixed
99
- Appending to GitHub issues was not being enhanced, now fixed. ([#105](https://github.com/diffplug/gitcasso/issues/105))
10+
- Reduced unnecessary permissions (no need for `host_permissions`)
1011

1112
## [1.0.0] - 2025-10-02
1213
- Fix html escaping inside single-tick and double-tick code blocks.

src/entrypoints/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default defineContentScript({
5555
"handlers"
5656
)
5757
},
58-
matches: ["<all_urls>"],
58+
matches: ["https://*/*", "http://*/*"],
5959
runAt: "document_end",
6060
})
6161

wxt.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export default defineConfig({
77
manifest: {
88
description:
99
"Syntax highlighting and autosave for comments on GitHub (and other markdown-friendly websites).",
10-
host_permissions: ["https://github.com/*"],
11-
optional_host_permissions: ["https://*/*", "http://*/*"],
1210
icons: {
1311
16: "/icons/icon-16.png",
1412
48: "/icons/icon-48.png",

0 commit comments

Comments
 (0)