Skip to content

Instantly share code, notes, and snippets.

@jarsba
jarsba / fast_forward_mtv3_ads.js
Created September 14, 2023 18:44
Fast forward MTV3 ads
function fastForwardAds() {
const interval = setInterval(function() {
let addCounter = document.querySelectorAll('.mtv-player-ad-counter')[0]
let video = document.querySelectorAll("[id^=pulseAdPlayerHTML5]")[0]
if (addCounter.firstChild) {
// Chrome has max playback rate 16, Firefox doesn't have limitations
video.playbackRate = 16.0
@jarsba
jarsba / fast_forward_ruutu_ads.js
Last active March 13, 2025 10:40
Fast forward Ruutu.fi ads
function fastForwardAds() {
const interval = setInterval(function() {
let video = document.querySelector('video')
if (video.dataset.isad === "true") {
// Chrome has max playback rate 16, Firefox doesn't have limitations
video.playbackRate = 16.0
} else {
video.playbackRate = 1.0