mumingfang / jvmaoTab

一个浏览器新标签页插件
https://jvmao.net
MIT License
15 stars 1 forks source link

chrome 的控制台报错 #1

Open Lovely-Ruby opened 2 weeks ago

Lovely-Ruby commented 2 weeks ago

chrome 的控制台报错了: image

Refused to load the script 'chrome-extension://3e305fe9-9c66-4c70-8126-5f94d5e850c1/static/js/src/content/index-e106e7e6.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

我目前的解决办法是 切换到 onclick

image

longlongvip commented 2 weeks ago

我的报错

createReactComponent-e34d357c.js:40 TypeError: Cannot read properties of undefined (reading 'key')
    at Home-4e2ad530.js:270:819
    at mo (LinkItem-668f51c4.js:34:13648)
    at jA (Home-4e2ad530.js:270:705)
    at index-12337d72.js:3:50518
    at index-12337d72.js:3:49695
    at Nh (index-12337d72.js:3:12185)
    at t.track (index-12337d72.js:3:17201)
    at ly (index-12337d72.js:3:49672)
    at a (index-12337d72.js:3:50497)
    at kg (createReactComponent…34d357c.js:38:19529)
Lovely-Ruby commented 1 week ago

我的问题解决了,manifest.js 中把这里删掉 image

mumingfang commented 1 week ago

我的问题解决了,manifest.js 中把这里删掉 image

你的浏览器版本是多少,我加这个是因为 130 之后改了相关协议

mumingfang commented 1 week ago

我的报错

createReactComponent-e34d357c.js:40 TypeError: Cannot read properties of undefined (reading 'key')
    at Home-4e2ad530.js:270:819
    at mo (LinkItem-668f51c4.js:34:13648)
    at jA (Home-4e2ad530.js:270:705)
    at index-12337d72.js:3:50518
    at index-12337d72.js:3:49695
    at Nh (index-12337d72.js:3:12185)
    at t.track (index-12337d72.js:3:17201)
    at ly (index-12337d72.js:3:49672)
    at a (index-12337d72.js:3:50497)
    at kg (createReactComponent…34d357c.js:38:19529)

你可以单独开一贴,看样子应该是数据问题,可能需要发一下导出的数据

longlongvip commented 1 week ago

我的报错

createReactComponent-e34d357c.js:40 TypeError: Cannot read properties of undefined (reading 'key')
    at Home-4e2ad530.js:270:819
    at mo (LinkItem-668f51c4.js:34:13648)
    at jA (Home-4e2ad530.js:270:705)
    at index-12337d72.js:3:50518
    at index-12337d72.js:3:49695
    at Nh (index-12337d72.js:3:12185)
    at t.track (index-12337d72.js:3:17201)
    at ly (index-12337d72.js:3:49672)
    at a (index-12337d72.js:3:50497)
    at kg (createReactComponent…34d357c.js:38:19529)

你可以单独开一贴,看样子应该是数据问题,可能需要发一下导出的数据

已开新的 issue

Lovely-Ruby commented 1 week ago

我的问题解决了,manifest.js 中把这里删掉 image

你的浏览器版本是多少,我加这个是因为 130 之后改了相关协议

我的是 Version 131.0.6778.86 (Official Build) (64-bit)