Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< 脚本Auto Close YouTube Ads的反馈

询问评论

§
发布于:2018-07-20

Can you modify this script for Dailymotion? I will pay for your work


fuzetsu作者
§
发布于:2018-07-20

I don't need payment. Give me a link to a video with ads and I'll see if it's doable.

§
发布于:2018-07-25
编辑于:2018-07-26

I will let you a link to a playlist.

https://www.dailymotion.com/video/x5xlhen?start=20000&playlist=x5w50d

I have some codes that i use and they work but they need user input, clicks, etc

This one is a bookmarklet that skips almost any unskippable ad that works with javascript:

javascript: (function(){ void(document.querySelector('video').currentTime = document.querySelector('video').duration) })()

and this one works with chromium browser automation extension and it skips skippable ads:

body div.videoAdUi div.videoAdUiSkipContainer.html5-stop-propagation BUTTON.videoAdUiSkipButton.videoAdUiAction.videoAdUiRedesignedSkipButton

The thing is that i don't know how to make them work on autopilot. I have no clue how to code.

fuzetsu, if you can combine this two things into one script that works with tampermonkey on chrome, on dailymotion website, you will be my hero. Thanks in advance :)

This is how they look working together in chromium browser automation, extension for chrome:

{"action":[{"data":"body div.videoAdUi div.videoAdUiSkipContainer.html5-stop-propagation BUTTON.videoAdUiSkipButton.videoAdUiAction.videoAdUiRedesignedSkipButton","evType":"click","msgType":"userEvent","newValue":""},{"data":"(function(){ void(document.querySelector('video').currentTime = document.querySelector('video').duration) })()","evType":"cs-inject","msgType":"userEvent","newValue":""}],"name":"project0","level":"1","isLeaf":true,"expanded":false,"loaded":true}

@fuzetsu dijo: I don't need payment. Give me a link to a video with ads and I'll see if it's doable.

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址