你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/9165-auto-close-youtube-ads/discussions/91426,源站連結 點此以跳轉

Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< 脚本 Auto Close YouTube Ads 的反馈

评价:好评 - 脚本运行良好

§
发布于:2021-06-28

I have modified the code a bit to run at document-start and now it is muting and hiding ads immediately instead of playing while the page is still loading. I wait for document.body to appear before running any other code because that seems to be the main (hidden) dependency.

I posted the modified code to a pastebin. Please feel free to use it.
https://paste.fizi.ca/?9159eda5c8167dea#DUSfLPopczPJ2rBWU4PY8t8M8M3yUo4eUtuQeLquFq8b

§
发布于:2021-06-29

I dont have modified the code a bit to run at document-start and

fuzetsu作者
§
发布于:2022-03-19

Thanks for the idea. I played around with it and opted for @run-at document-body so that I don't need the extra waitForElems('body').

Included the tweak in 1.4.4!

发布留言

登录以发布留言。