Comments (9)
因为打开IndexedDB的过程是异步的,所以,如果出错,会通过onerror回调触发,例如:
let dbOpenRequest = window.indexedDB.open("headereditor", 2);
dbOpenRequest.onerror = function(event) {
console.log(event);
};
并且,不同域名的IndexedDB不互相影响
from headereditor.
经测试无法复现问题。
请确认Header Editor版本为最新版本(目前为2.3.0)
若仍有问题,请截图控制台
from headereditor.
error { target: IDBOpenDBRequest, isTrusted: true, eventPhase: 0, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 1506305181397000, cancelBubble: false, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest } storage.js:8:4 error { target: IDBOpenDBRequest, isTrusted: true, eventPhase: 0, bubbles: true, cancelable: true, defaultPrevented: false, composed: false, timeStamp: 1506305181399000, cancelBubble: false, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest } storage.js:8:4
终于复制到了,全是这样的报错信息
from headereditor.
1.尝试关闭隐私浏览模式
2.尝试重新安装该扩展
from headereditor.
没一点用!
另外也不能添加规则,不知道是不是我一个人这样的情况
from headereditor.
这是因为Header Editor无法打开数据库
因出现情况及其偶然,无法复现,原因未知,推测是Firefox的BUG。因此也无法修复
from headereditor.
但我在控制台执行:
indexedDB.open("headereditor", 2);
没报错
from headereditor.
嗯嗯,是我粗心了,试了一下这段代码。
报错!!
不知道是不是pcxFirefox的关系。56版出了有时间再更进吧
from headereditor.
我也用过pcx53,不过,我没有遇到这个问题。
之前有人报告过类似问题,我也测试过,通过VSCode的debugger自动新建一个新的Profile,就会出现这种问题。具体原因不清楚。可能是Firefox的BUG
from headereditor.
Related Issues (20)
- [Question]关于网址的重定向 HOT 2
- { "request": [ { "enable": true, "name": "bing-cn-to-www", "ruleType": "redirect", "matchType": "prefix", "pattern": "https://cn.bing.com", "exclude": "", "group": "bing-redirect", "isFunction": false, "action": "redirect", "to": "https://www.bing.com" } ], "sendHeader": [ { "enable": true, "name": "bing", "ruleType": "modifySendHeader", "matchType": "regexp", "pattern": "^http(s?)://www\\.bing\\.com/(.*)", "exclude": "", "group": "bing-direct", "isFunction": false, "action": { "name": "x-forwarded-for", "value": "8.8.8.8" } } ], "receiveHeader": [], "receiveBody": [] }
- [Feature Request] Support sync to WebDAV
- 123
- [Question]Edge浏览器不支持HE的自定义函数? HOT 1
- [Question]why did Header Editor for edge on macos not work HOT 4
- 1
- head editor
- [Question] How to delete a header in a custom function
- bing
- canshu
- [BUG] 在别的插件中显示sina-img图片返回status 403 HOT 1
- [Question] Match by header (e.g. content-type) HOT 1
- ws和wss协议不能修改
- Firefox 102.13.0 modify response body not working ? HOT 1
- [Question] Only work on html, not on follows js.
- [BUG]ubuntu20.04 firefox 118规则列表界面加载不出来
- [Question] Troubleshooting cookies disappearing in redirect to another domain
- [Question] tls extensions edition
- [Question]我这重定向的自定义函数写对了吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headereditor.