Skip to content

Commit f95903c

Browse files
committed
remove tabs permission; show green icon after local detection
1 parent 9029833 commit f95903c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/background.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ async function detectVue (tabId, url, force = false) {
8888
})
8989
}
9090
} else if (hasVue) {
91+
browser.browserAction.setIcon({
92+
tabId,
93+
path: 'icons/icon-128.png'
94+
})
9195
await analyze(tabId, url)
9296
} else {
9397
store.commit('SET_SHOWCASE', 'noVue')

src/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
]
3434
},
3535
"permissions": [
36-
"tabs",
3736
"background",
3837
"storage",
3938
"https://*/*"

0 commit comments

Comments
 (0)