✨Roblox Game Filter

Enable the 'Old-School' Game Filter, decent for finding the perfect game.

  1. // ==UserScript==
  2. // @name ✨Roblox Game Filter
  3. // @version 1.0.1
  4. // @run-at document-start
  5. // @namespace game
  6. // @author levisurely
  7. // @license Apache-2.0
  8. // @description Enable the 'Old-School' Game Filter, decent for finding the perfect game.
  9. // @match *://*.roblox.com/games/?SortFilter*
  10. // ==/UserScript==
  11. //lev#9999 On Discord
  12. //discord.gg/tmYQr99wTa
  13.  
  14. function loadEvent() {
  15. new MutationObserver(function() {
  16. let getFilter = document.getElementsByClassName('filter-hidden');
  17. if(getFilter[0]) {
  18. Array.from(getFilter).forEach(function(GameFilter) {
  19. GameFilter.style.visibility = 'unset';
  20. GameFilter.style.height = 'unset';
  21. })
  22. };
  23.  
  24. }) .observe(document, {
  25. subtree: true,
  26. childList: true
  27. });
  28. };
  29.  
  30. window.onload = loadEvent;