Skip to content
Discussion options

You must be logged in to vote

Have you requested the tabs permission? Those APIs are only available if you've added that permission to the manifest.

https://developer.chrome.com/docs/extensions/reference/api/tabs#perms

Dev mode adds some, like tabs, so it can reload content scripts on change. But those permissions don't show up in production builds unless you explicitly add them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xunziheng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants