您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show the Codes page of any script on GreasyFork With all code lines background in white
当前为
// ==UserScript== // @name Better GreasyFork Code Reader // @namespace BetterGreasyCodeReader // @version 0.1 // @description Show the Codes page of any script on GreasyFork With all code lines background in white // @author hacker09 // @match https://greasyfork.org/* // @icon https://www.google.com/s2/favicons?domain=greasyfork.org // @run-at document-end // @grant none // ==/UserScript== (function() { 'use strict'; setTimeout(function(){ if (document.querySelector("li.current").innerText === "Code") { //Run only on the Code page var Lines = document.querySelectorAll("li"); //Create a variable to hold the total Code Lines for (var i = Lines.length; i--;) { //Starts the for condition Lines[i].style.background = 'none'; //Remove the grey line background } //Finishes the for condition } //Finishes the if condition }, 500); })();