Last active
December 30, 2023 17:56
-
-
Save yasinkuyu/87d6302e9ec912e4fa212089c1a13888 to your computer and use it in GitHub Desktop.
Dizipal Ads Blocker and Intro Ads Skipper (Tampermonkey/Greasemonkey Chrome Extension)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Dizipal AdBlock | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Dizipal Ads Blocker and intro ads skipper (tampermonkey / greasemonkey chrome extension) | |
// @author Yasin Kuyu | |
// @date 17/09/2022 | |
// @grant unsafeWindow | |
// @grant GM_xmlhttpRequest | |
// @include *dizipal*.com/* | |
// @include *dizipal*.net/* | |
// @include *dizipal*.org/* | |
// @include *stream.dizipal*.com/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var remove_ads = true; | |
var skip_video_ads = true; | |
var mute_ads = true; | |
if(mute_ads){ | |
soundToggle(); | |
} | |
if(remove_ads){ | |
document.querySelectorAll(".containerAds").forEach(e => e.remove()); | |
adHide('bottomAd'); | |
} | |
while (skip_video_ads) { | |
skipAd(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment