Greasy Fork is available in English.

Remove Clutter on Roblox

Remove any div with id btr-blogfeed-container or btr-blogfeed (Blog Section), and the "Get Premium" button on the Roblox home page

  1. // ==UserScript==
  2. // @name Remove Clutter on Roblox
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description Remove any div with id btr-blogfeed-container or btr-blogfeed (Blog Section), and the "Get Premium" button on the Roblox home page
  6. // @author Mysmic
  7. // @match https://www.roblox.com/home
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. // Function to remove the blog feed divs and the "Get Premium" button
  16. function removeElements() {
  17. const blogFeedContainer = document.getElementById('btr-blogfeed-container');
  18. const blogFeed = document.getElementById('btr-blogfeed');
  19. const premiumButton = document.getElementById('upgrade-now-button');
  20.  
  21. if (blogFeedContainer) {
  22. blogFeedContainer.remove();
  23. }
  24.  
  25. if (blogFeed) {
  26. blogFeed.remove();
  27. }
  28.  
  29. if (premiumButton) {
  30. premiumButton.remove();
  31. }
  32. }
  33.  
  34. // Run the function when the page loads
  35. window.addEventListener('load', removeElements);
  36. })();