Seocheckout

Dailymotion ad skipper chrome (tampermonkey)

Dailymotion ad skipper chrome (tampermonkey)

Dailymotion is a video hosting site just like youtube and i need a script to skip the preroll ads.

Right now i'm using 'chromium browser automation' extension for chrome but unfortunately is not on autopilot, it requires user input (clicks, etc)

I'm using a bookmarklet that skips any unskippable ads that work with javascript:

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

Regarding this one...it should skip the ads after a few seconds.

and a click recorded with that extension that skips skippable ads:

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

This is how they look working together in the extension:

{"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}

What i need is a working script with this two things on chrome. I saw similar extensions and scripts but they are made only for youtube.
Thanks in advance


Requirements

javascript, etc


Skills Required

Javascript Html

Bids

No bids made yet - be the first!

Bid On Listing

Bid On Listing Created 6 years ago in Solo Ads

Other jobs by avastpro33