Hide Ads

Hide banner ads

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Hide Ads
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  Hide banner ads
// @author       Jack
// @match        https://sketchful.io/*
// @grant        none
// @run-at       document-end
// @license MIT
// ==/UserScript==

(function init() {
    setInterval(adsBad, 1000);
})();

function adsBad() {
 const newStyle = 'display: none; visibility: hidden';
 const ad1 = document.querySelector("#moneyTopGame");
 const ad2 = document.querySelector("#moneySide");
 const ad3 = document.querySelector("#moneySideGame");
 const ads = [ad1, ad2, ad3];
//  const bg = 'background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADcCAMAAABpjAddAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEtQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5mA6dAAAABl0Uk5TACgnCoqeFE8ylTt2d4uBWUUxY2w3gJQebaRMqy0AAATRSURBVHic7d3rdqIwFIZhEWJEUagd0Pu/0smBo5XaTuvI3r7Pj1m1EvgynDZ0rWS1AgAAAAAAAAAAAAAAAAAAWJhkvV7f+z79yQbS9Z0tPJC4ziWZ8T5bxH+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iawAkFVZM4oaBq8iYUVE3ihIKqSZxQUDWJEwqqJnNCQdUkTiiomsQJBVWTOKGgahInFFRN4oSCqkmcUFA1iRMKqiZxQkHVJE4oqJrECQVVEz+hoGq6JxRUTeKEgqpJnFBQNYkTCqrGhIIAAAAAAAAAAAAAAAAAAAAAAAAAADwUo+QvCaPkLwuj5C8Mo+QvC6PkL8xrjJIvpmp5iVHyJVUtrzBKvqiq5RVGyRdVtbzAKPnSqhb1o+RLq1qUj5Ivr2pRPkq+vKpF+Sj58qoW5aPky6ta1I+SL61qUT9KvrSqRf0o+dKqFvWj5EurWtSPki+talE/Sr7oqkXjKPnqq5ZIzij56quWSM4o+eqrlkjOKPnqq5ZIzij56qsW0TRWLS9CTtXyIuRULS9CTtXyIuRULQAAAAAAAAAAAAAAAAAAAAAA/La/gJLVcXmhVhsAAAAASUVORK5CYII=);'
 function hideAds(ad){
     ad.setAttribute('style', newStyle)
 }
 ads.forEach(hideAds)
//  const back = document.querySelector("html");
//  back.setAttribute('style', bg)
};