Unable to get property 'sendMessage' of undefined or null reference

假装没事ソ 提交于 2021-01-07 02:49:06

问题


While trying to use browser.runtime.sendmessage(object) function above error occurs. Runtime API is not available and I see that web runtime API is available on a web page.

This error occurs in Microsoft Edge and not in other browsers in content scripts.

来源:https://stackoverflow.com/questions/64608103/unable-to-get-property-sendmessage-of-undefined-or-null-reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!