adblock helper

simple "adblock detected" remover

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         adblock helper
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  simple "adblock detected" remover
// @description:pt-BR simple "adblock detected" remover
// @description:ar simple "adblock detected" remover
// @description:bg simple "adblock detected" remover
// @description:cs simple "adblock detected" remover
// @description:da simple "adblock detected" remover
// @description:de simple "adblock detected" remover
// @description:el simple "adblock detected" remover
// @description:eo simple "adblock detected" remover
// @description:es simple "adblock detected" remover
// @description:fi simple "adblock detected" remover
// @description:fr simple "adblock detected" remover
// @description:fr-CA simple "adblock detected" remover
// @description:he simple "adblock detected" remover
// @description:hu simple "adblock detected" remover
// @description:id simple "adblock detected" remover
// @description:it simple "adblock detected" remover
// @description:ja simple "adblock detected" remover
// @description:ko simple "adblock detected" remover
// @description:nb simple "adblock detected" remover
// @description:nl simple "adblock detected" remover
// @description:pl simple "adblock detected" remover
// @description:ro simple "adblock detected" remover
// @description:ru simple "adblock detected" remover
// @description:sk simple "adblock detected" remover
// @description:sr simple "adblock detected" remover
// @description:sv simple "adblock detected" remover
// @description:th simple "adblock detected" remover
// @description:tr simple "adblock detected" remover
// @description:uk simple "adblock detected" remover
// @description:ug simple "adblock detected" remover
// @description:vi simple "adblock detected" remover
// @description:zh-CN simple "adblock detected" remover
// @description:zh-TW simple "adblock detected" remover
// @author       fienestar
// @match        *://*/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    function update(){
        const style = document.body.style;
        if(style.overflow === 'hidden')
            style.overflow = '';
    }

    new MutationObserver(update).observe(document.body, { attributes: true });
    update();

    const style = document.createElement('style');
    style.innerHTML = `div.fc-ab-root[class="fc-ab-root"]{
    display: none !important;
}`
    document.head.append(style);
})();