Skip to content

Instantly share code, notes, and snippets.

@yasinkuyu
Last active December 30, 2023 17:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yasinkuyu/87d6302e9ec912e4fa212089c1a13888 to your computer and use it in GitHub Desktop.
Save yasinkuyu/87d6302e9ec912e4fa212089c1a13888 to your computer and use it in GitHub Desktop.
Dizipal Ads Blocker and Intro Ads Skipper (Tampermonkey/Greasemonkey Chrome Extension)
// ==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