Why is chrome.runtime undefined?

后端 未结 2 1604
借酒劲吻你
借酒劲吻你 2020-12-21 05:17

I am creating a Google Chrome extension (my first one) and I want to send messages from the extension to the current tab.

I am following the documentation:

h

2条回答
  •  一生所求
    2020-12-21 05:44

    If you're inserting JavaScript into a page with a

提交回复
热议问题