Skip to content

chrome.runtime is undefined in content script #80

Closed Answered by pengyancdl
pengyancdl asked this question in Q&A
Discussion options

You must be logged in to vote

I finally figured out, you cannot call index.ts more than one time. Otherwise, the 2nd time or 3rd time will cause the problem.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mubaidr
Comment options

Answer selected by pengyancdl
Comment options

You must be logged in to vote
0 replies
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