Skip to content

Commit 4c17950

Browse files
committed
fix: add tabs permission for background script injection
Added 'tabs' permission to enable the background script to inject content scripts into existing GitHub tabs when the extension is installed or updated. This ensures the extension works on already open tabs without requiring a page reload.
1 parent 7d44588 commit 4c17950

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
version: '1.0.0',
77
description: '__MSG_appDescription__',
88
default_locale: 'en',
9-
permissions: ['scripting'],
9+
permissions: ['scripting', 'tabs'],
1010
host_permissions: ['https://github.com/*'],
1111
icons: {
1212
16: '/images/icon-16.png',

0 commit comments

Comments
 (0)