One-click clipboard quote → GitHub Gist, with keyword highlighting
目前為
// ==UserScript==
// @name Clip-to-Gist
// @name:zh-CN Clip-to-Gist 金句剪贴脚本(v2)
// @namespace https://github.com/yourusername
// @version 2.0
// @description One-click clipboard quote → GitHub Gist, with keyword highlighting
// @description:zh-CN 一键剪贴板金句并上传至 GitHub Gist,支持关键词标注和高亮
// @author Your Name
// @match *://*/*
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// @grant GM_registerMenuCommand
// @license MIT
// ==/UserScript==
(function() {
'use strict';
// ——(下面就是之前给你的完整脚本逻辑)——
GM_registerMenuCommand('配置 Gist 参数', openConfigModal);
/* … 脚本主体省略 … */
})();