fmz200 / wool_scripts

收集一些QuantumultX、Loon、Surge、ShadowRocket的配置与脚本,去广告合集。
GNU General Public License v3.0
1.88k stars 128 forks source link

请求更换YouTube脚本 #11

Closed hubumulity closed 1 year ago

hubumulity commented 1 year ago

https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js 感觉这个比较好用,chongxie.txt中的只是暂停了广告播放,但会等待相应市场。望采纳!

fmz200 commented 1 year ago

https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js 感觉这个比较好用,chongxie.txt中的只是暂停了广告播放,但会等待相应市场。望采纳!

我和RuCu6确认了脚本没问题,我自己用也没问题,你可以看看自己QX的general模块有没有配置udp_drop_list = 443 如果想用上面的脚本,也可以在本地重写里面单独添加:

# > YouTube
# 开启画中画,后台播放
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/account\/get_setting\?key url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js
# 首页 瀑布流,上传按钮,短视频,反馈
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|guide|reel\/reel_watch_sequence)\?key url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/feedback\?key url reject-200
# 播放页 插播广告,贴片广告
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(next|player)\?key url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js
^https:\/\/[\w-]+\.googlevideo\.com\/initplayback\?.+&oad url reject-200
# 搜索页
^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/search\?key url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js
hubumulity commented 1 year ago

好的感谢