Bypass Missing Information

Hide the missing information box.

Från och med 2023-09-17. Se den senaste versionen.

// ==UserScript==
// @name         Bypass Missing Information
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hide the missing information box. 
// @author       Your Name
// @match        https://www.roblox.com/*
// @license      All Rights Reserved
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Function to hide elements by ID with !important
    function hideElementById(id) {
        const element = document.getElementById(id);
        if (element) {
            element.style.setProperty('display', 'none', 'important');
        }
    }

    // List of IDs to hide
    const idsToHide = [
        'simplemodal-overlay',
        'simplemodal-container',
        'modalCloseImg',
        'simplemodal-close',
        'simplemodal-wrap',
        'simplemodal-data'
    ];

    // Hide each element by ID
    idsToHide.forEach(hideElementById);
})();