Greasy Fork 支持简体中文。

ROBLOX: Unhide Game Filter

Bring back the old handy dandy Game Filter.

目前為 2020-04-05 提交的版本,檢視 最新版本

// ==UserScript==
// @author       Rottweiler
// @namespace    https://github.com/RottweiIer

// @name         ROBLOX: Unhide Game Filter
// @description  Bring back the old handy dandy Game Filter.
// @icon         http://svgshare.com/i/a9.svg
// @license      MIT
// @version      0.0.9

// @match        *://*.roblox.com/games*
// ==/UserScript==


function loadEvent() {
    new MutationObserver(function() {
        let getFilter = document.getElementsByClassName('filter-hidden');
        if(getFilter[0]) {
            Array.from(getFilter).forEach(function(GameFilter) {
                GameFilter.style.visibility = 'unset';
                GameFilter.style.height = 'unset';
            })
        }

    }) .observe(document, {
        childList: true,
        subtree: true
    });
}

window.onload = loadEvent;