Greasy Fork is available in English.

Gats.io Adblock

Adblocker for Gats.io

Mint 2022.11.14.. Lásd a legutóbbi verzió

// ==UserScript==
// @name         Gats.io Adblock
// @namespace    http://tampermonkey.net/
// @version      1
// @description  Adblocker for Gats.io
// @author       Taureon
// @match        https://gats.io/
// @grant        none
// @license      Unlicense
// ==/UserScript==

(function main(){

    //if the game hasn't loaded yet, wait until it is loaded
    //it is checked if the game has loaded by checking if the game tick function exists
    if (typeof a41 !== 'function') return setTimeout(main);

    //this disables ad related functions
    a119=()=>{};a78=()=>{};a79=()=>{};a80=()=>{};

    //this removes ad elements
    for (var ad of j36) document.getElementById(ad.pl).remove();

})();