您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto enables greasy fork's syntax-highlighting source editor
- // ==UserScript==
- // @name Greasy Fork - Auto Enable Syntax-Highlighting Source Editor
- // @namespace https://greasyfork.org/users/649
- // @version 1.1.5
- // @description Auto enables greasy fork's syntax-highlighting source editor
- // @author Adrien Pyke
- // @match *://greasyfork.org/*/script_versions/new*
- // @match *://greasyfork.org/*/scripts/*/versions/new*
- // @require https://cdn.jsdelivr.net/gh/fuzetsu/userscripts@ec863aa92cea78a20431f92e80ac0e93262136df/wait-for-elements/wait-for-elements.js
- // @grant none
- // ==/UserScript==
- (() => {
- 'use strict';
- waitForElems({
- sel: '#enable-source-editor-code',
- stop: true,
- onmatch(checkbox) {
- checkbox.click();
- }
- });
- })();