Port error: Could not establish connection. Receiving end does not exist. In Chromiume

前端 未结 17 2406
甜味超标
甜味超标 2020-12-05 09:26

I\'m developing an extension in Chrome, and there\'s a problem. In my inject.js, I make a request like:

chrome.extension.sendRequest({command:         


        
17条回答
  •  悲&欢浪女
    2020-12-05 09:33

    If you get the problem, mostly because you are referring the outdated document, update it!

    Visit: chrome extension: messaging.html

提交回复
热议问题