Bring back the old handy dandy Game Filter.
当前为
// ==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;