Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后台调试页面和前台页面的value不一致 #305

Open
CosilC opened this issue Aug 23, 2024 · 3 comments
Open

后台调试页面和前台页面的value不一致 #305

CosilC opened this issue Aug 23, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@CosilC
Copy link

CosilC commented Aug 23, 2024

  • 后台
    image
  • 前台
    image

刷新调试页面,添加@storageName,脚本储存依然不一致

猜测:
打开background.html的devtools,与调试页面(option.html)的indexdb比较,value表的数据并不一致
可能是插件的background和option域不一样,indexdb被隔离了?

@CodFrm CodFrm added the bug Something isn't working label Aug 26, 2024
@CodFrm
Copy link
Member

CodFrm commented Aug 26, 2024

这里的应该是一样的,同一个扩展(域)indexdb是共用的一个,插件的background和option也是同一个域。

刷新之后呢?有正常么,使用的什么浏览器?

@CosilC
Copy link
Author

CosilC commented Aug 26, 2024

这里的应该是一样的,同一个扩展(域)indexdb是共用的一个,插件的background和option也是同一个域。

刷新之后呢?有正常么,使用的什么浏览器?

问题依然是这样,360极速x和edge都是一样(version信息在下面),我晚点弄个mre上来

360极速浏览器X 22.1.1090.64 (正式版本) (64 位)
修订版本 01be6f75fe24495b56354cdde12bef7743fc5456
操作系统 Windows 10 Version 21H2 (Build 19044.4291)
JavaScript V8 11.9.169.6
用户代理 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36 QIHU 360EE

Microsoft Edge 127.0.2651.86 (正式版本) (64 位)
修订 ac31d8b8296916cd30e022450164e1cd578ef699
Chromium 版本 127.0.6533.89
操作系统 Windows 10 Version 21H2 (Build 19044.4291)
JavaScript V8 12.7.18.7
用户代理 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

@CodFrm
Copy link
Member

CodFrm commented Aug 26, 2024

QQ_1724667649354

从option页和background页看indexeddb的数据是不同的?不应该啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants