// ==UserScript== // @name Better GreasyFork Forum // @namespace BetterGreasyForkForum // @version 0.2 // @description Show only the Creation Requests and Development Boards on the GreasyFork Forum. // @author hacker09 // @match https://greasyfork.org/* // @icon https://www.google.com/s2/favicons?domain=greasyfork.org // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; document.querySelector("li.forum-link > a").href = '/discussions/no-scripts'; //Make the Default Forum button redirect to another url if (location.href === 'https://greasyfork.org/en/discussions/no-scripts') //If the user on the Forum website { //Starts the if condition var Topics = document.querySelectorAll("div.discussion-meta-item.discussion-meta-item-script-name"); //Create a variable to hold the total Topics elements for (var i = Topics.length; i--;) { //Starts the for condition if (Topics[i].innerText === "Greasy Fork Feedback") { //Starts the if condition Topics[i].parentElement.parentElement.parentElement.style.display = 'none'; //Hide the element } //Finishes the if condition } //Finishes the for condition } //Finishes the if condition })();