Greasy Fork is available in English.
block ad from CHZZK the Korean Stream Platform
当前为
// ==UserScript==
// @name CHZZK Ad Blocker
// @namespace http://tampermonkey.net/
// @version 2023-12-21
// @description block ad from CHZZK the Korean Stream Platform
// @author LambFerret
// @match https://chzzk.naver.com/*
// @icon https://ditto-phinf.pstatic.net/20231213_298/17024369030470dJNT_PNG/65792026d3c26c0931a57cb8.png
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
const debugMode = true;
const enableAdblock = true;
if (enableAdblock) removeAds();
function removeAds() {
if (debugMode) console.log("Start removing Ads");
setInterval(()=> {
const adList = [...document.querySelectorAll('video[data-role="videoEl"]')]
const video = adList[0];
if (video) video.playbackRate = 10;
if (video) video.currentTime = video.duration || 0;
}, 50)
}
})();