crimx / ext-saladict

🥗 All-in-one professional pop-up dictionary and page translator which supports multiple search modes, page translations, new word notebook and PDF selection searching.
https://saladict.crimx.com/
MIT License
11.98k stars 730 forks source link

无法保存设置 #956

Closed thermal-power closed 4 years ago

thermal-power commented 4 years ago

设备信息

描述问题

保存设置时右上角弹出提示框: 设置保存失败 QuotaExceededError: storage.sync API call exceeded its quota limitations.

复现步骤

期待的正常行为

截图

额外信息

crimx commented 4 years ago

是偶尔出现还是每次都会出现?火狐 79 对存储同步做了较大修改,尚未稳定。

thermal-power commented 4 years ago

每次都会,而且现在还发现不能切换情景模式了,同样提示 Error: QuotaExceededError: storage.sync API call exceeded its quota limitations.

crimx commented 4 years ago

火狐这个问题已经有人反馈了,从这个错误本身很难判断是频率还是容量超了。你可以先导出沙拉查词设置备份,然后重置沙拉查词设置试试。

thermal-power commented 4 years ago

无法重置,点击确定无反应

crimx commented 4 years ago

我在 79 上测试了一遍,保存设置没有发现问题。

你可以试试打开 about:debugging#/runtime/this-firefox ,然后 inspect 沙拉查词,在弹出的 console 下输入 await browser.storage.sync.clear(),回车。

image

thermal-power commented 4 years ago

666,有效果,现在功能都正常了

vejei commented 3 years ago

2021 了,在 Mac 下的 Firefox 里面依然有这个问题

不过,执行了await browser.storage.sync.clear()倒是没这个问题了

luneknight commented 2 years ago

2022用坚果云同步还是会出现这个问题,用@crimx的办法解决了,万分感谢

jizf1984 commented 2 years ago

不懂代码,但是@crimx 的方法完美解决我的问题,谢谢!

QLozin commented 1 year ago

2023 一种可能的原因是在使用的网站上拒绝了网站存储cookie权限,在Firefox(CN)里取消例外即可 如为了使用Newbing曾经拒绝cn.bing.com的cookie存储权限 放开权限后使用代码即可恢复