Spankbang BYPASS

Age restriction bypass

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Spankbang BYPASS
// @namespace    http://tampermonkey.net/
// @description  Age restriction bypass
// @author       Orgacord
// @version      1.0.6
// @match        https://spankbang.com/*
// @match        https://spankbang.party/*
// @run-at       document-start
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    const style = document.createElement('style');
    style.textContent = `
        .strong-blur { filter: none !important; backdrop-filter: none !important; }
        html, body { overflow: auto !important; position: static !important; }
        .i_icon-lock-18, svg .i_icon-lock-18 { display: none !important; }
        [aria-label="Explicit content locked"] {display: none !important;}
        .bg-surface-black\/40 {visibility: hidden !important;}
        div[x-show^="elementHasToWait == 'recommended_video_"] {display: none !important;}
    `;
    document.documentElement.appendChild(style);

    const removeLocks = () => {
        document.querySelectorAll("div[aria-label='Explicit content locked']").forEach(el => {
            if (el.parentElement) el.parentElement.remove();
        });

        document.querySelectorAll(".i_icon-lock-18, svg .i_icon-lock-18").forEach(el => el.remove());

        document.querySelectorAll("img.strong-blur").forEach(img => img.classList.remove("strong-blur"));
        
        document.querySelectorAll("div[x-show^=\"elementHasToWait == 'recommended_video_\"]").forEach(el => {el.remove();});
        document.querySelectorAll('.bg-surface-black\\/40').forEach(el => el.remove());

        document.documentElement.classList.remove("overflow-hidden");
        document.body.classList.remove("overflow-hidden");
    };

    removeLocks();
    new MutationObserver(removeLocks).observe(document.documentElement, { childList: true, subtree: true });
})();