Spankbang BYPASS

Age restriction bypass

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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 });
})();