chrome扩展程序在一段时间后停止工作

时间:2019-06-03 21:13:13

标签: google-chrome-extension

我有一个奇怪的错误,即安装后一切正常。但是随着时间的流逝,延伸不再起作用。似乎弹出脚本无法与内容脚本通信。为什么会这样?

源代码:https://github.com/XaooB/block-user-chrome-extension

编辑:添加用户弹出窗口后,我得到了

Error handling response: TypeError: Cannot destructure property `error` of 'undefined' or 'null'.
    at setResponse (chrome-extension://lfmmnikaagmompojjjdicfkdficnndjl/popup.js:102:24)
popup.html:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.

所以我的问题是为什么? //现在看来,页面刷新后甚至没有加载内容脚本...发生了什么。一切正常,我什至没有更改一行代码...

0 个答案:

没有答案
相关问题