王一之 发表于 2026-6-25 18:08:19

uuorz 发表于 2026-6-25 17:04
刚刚卸载插件.然后重新安装,还是不行, 哈哈哈. 看来 我只能在video脚本顶部手动过滤一下 域名了.目 ...

那真见鬼了。。。复现不出来 哥哥导出文件包出来呢?

uuorz 发表于 7 天前

王一之 发表于 2026-6-25 18:08
那真见鬼了。。。复现不出来 哥哥导出文件包出来呢?

!(data/attachment/forum/202606/26/085133juqiin3hin9p3asn.png)
第一个脚本导出的option
```{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_prototypes":false,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":["*://localhost"],"orig_includes":[],"orig_matches":["http://*/*","https://*/*"],"orig_noframes":true,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null},"settings":{"enabled":true,"position":1},"meta":{"name":"u - APP","uuid":"eee3283b-035c-5c7b-b28e-6ca93be1720f","sc_uuid":"eee3283b-035c-5c7b-b28e-6ca93be1720f","modified":1782434566973,"file_url":""}}```

另一个脚本的option:
```
{"options":{"check_for_updates":false,"comment":null,"compat_foreach":false,"compat_metadata":false,"compat_prototypes":false,"compat_wrappedjsobject":false,"compatopts_for_requires":true,"noframes":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":["*://*.douyin.com/*","*://*.kuaishou.com/*","*://localhost*"],"orig_includes":[],"orig_matches":["http://*/*","https://*/*"],"orig_noframes":null,"orig_run_at":"document-idle","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]},"run_at":null},"settings":{"enabled":true,"position":2},"meta":{"name":"u - video","uuid":"f1b5e54e-26d3-5305-801a-9a2d4bf55e9d","sc_uuid":"f1b5e54e-26d3-5305-801a-9a2d4bf55e9d","modified":1782434566975,"file_url":""}}
```

不知道怎么上传zip文件. 代码很长. 就没贴代码了. storage 都是空的.只有option.json 有内容, 似乎没有什么有效信息,没有其他哥哥反馈, 估计是个例吧.

王一之 发表于 7 天前

uuorz 发表于 2026-6-26 08:59
!(data/attachment/forum/202606/26/085133juqiin3hin9p3asn.png)
第一个脚本导出的optio ...

哥哥直接导出备份文件,然后上传,最好的话可以在GitHub上发一下

https://github.com/scriptscat/scriptcat/issues/new?template=bug_report.yaml&scriptcat-version=1.4.0&browser-version=Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_15_7)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F149.0.0.0%20Safari%2F537.36%20Edg%2F149.0.0.0

cyfung1031 发表于 7 天前

你重新载入网页 ( Ctrl+R)看看

cyfung1031 发表于 7 天前

你最初的那个截图没有截到网址列,判断不了

uuorz 发表于 6 天前

cyfung1031 发表于 2026-6-26 21:12
你最初的那个截图没有截到网址列,判断不了

感谢大佬回复. 找到问题了. // @noframes 的原因

uuorz 发表于 6 天前

王一之 发表于 2026-6-26 11:15
哥哥直接导出备份文件,然后上传,最好的话可以在GitHub上发一下

https://github.com/scriptscat/script ...

搞了好几天. 终于发现问题了.是因为video.js里面没有 // @noframes 今天我重构代码发现. 至于之前为什么不行.只能理解为缓存了吧.哥哥认为// @exclude排除了这个页面了. 即使没有noframes 他的三方请求是不是也应该拦截呢.我不清楚逻辑. 只是请教.

王一之 发表于 昨天 16:29

uuorz 发表于 2026-6-27 17:13
搞了好几天. 终于发现问题了.是因为video.js里面没有 // @noframes 今天我重构代码发现. 至于之前为什 ...

没有@noframes 不应该拦截三方请求的,这个逻辑没问题

就像你的脚本是 全部匹配,你可能也希望在iframe里面运行,如果你exclude了某个网站,结果导致iframe里面期望的内容没有运行,也会造成困扰
页: 1 [2]
查看完整版本: exclude 这个到底怎么用.