相关疑难解决方法(0)

Chrome 扩展中的持久服务工作者

我需要在我的 Chrome 扩展程序中将我的 Service Worker 定义为持久的,因为我使用 webRequest API 来拦截在表单中为特定请求传递的一些数据,但我不知道如何做到这一点。我已经尝试了所有方法,但我的 Service Worker 一直在卸载。

如何保持加载并等待请求被拦截?

javascript google-chrome xmlhttprequest request google-chrome-extension

8
推荐指数
3
解决办法
1552
查看次数