您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show only the Creation Requests and Development Boards on the GreasyFork Forum.
当前为
// ==UserScript== // @name Better GreasyFork Forum // @namespace BetterGreasyForkForum // @version 0.1 // @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 // ==/UserScript== (function() { 'use strict'; document.querySelector("#site-nav > nav > li.forum-link > a").href = '/discussions/no-scripts'; //Make the Default Forum button redirect to another url if (location.href.match('/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 })();