hundev01 / Totalcar_Anti-Adblocker_Blocker

// ==UserScript==
// @name         Totalcar_Anti-Adblocker_Blocker
// @namespace    https://totalcar.hu/
// @version      1.0
// @description  Greedy Totalcar
// @author       Anonymous
// @match        https://totalcar.hu/*
// @grant        unsafeWindow
// @run-at       document-start
// @updateURL    https://openuserjs.org/meta/hundev01/Totalcar_Anti-Adblocker_Blocker.meta.js
// @license      MIT; https://opensource.org/licenses/MIT
// ==/UserScript==

(function() {
    'use strict';
    const oldCreateElement = unsafeWindow.document.__proto__.createElement;
    unsafeWindow.document.__proto__.createElement = function(tagName) {
        if (tagName && tagName.toLowerCase() == "iframe") {
            throw "nemkellreklam";
        }
        return oldCreateElement.apply(this, arguments);
    };
})();