Greasy Fork镜像 - Auto Enable Syntax-Highlighting Source Editor

Auto enables Greasy Fork镜像's syntax-highlighting source editor

// ==UserScript==
// @name         Greasy Fork镜像 - Auto Enable Syntax-Highlighting Source Editor
// @namespace    https://gf.qytechs.cn/users/649
// @version      1.1.5
// @description  Auto enables Greasy Fork镜像's syntax-highlighting source editor
// @author       Adrien Pyke
// @match        *://gf.qytechs.cn/*/script_versions/new*
// @match        *://gf.qytechs.cn/*/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();
    }
  });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址