28
// ==UserScript==
// @name        Unlock contentPremium section
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Remove restrictions from contentPremium div
// @author      You
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    function modifyContentPremium() {
        const contentDiv = document.getElementById('contentPremium');
        if (contentDiv) {
            contentDiv.className = '';
            contentDiv.style.display = '';
        }
    }

    // Try immediately
    modifyContentPremium();

    // Observe DOM changes in case the element is added later
    const observer = new MutationObserver(() => {
        modifyContentPremium();
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true
    });
})();
Obrazek zwinięty kliknij aby rozwinąć ▼
0.069130897521973