您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Ck工具
当前为
// ==UserScript== // @name 一键拷贝Cookies // @description Ck工具 // @version 1.1 // @license MIT // @author Lx // @require https://update.gf.qytechs.cn/scripts/446666/1389793/jQuery%20Core%20minified.js // @resource https://cdn.staticfile.org/limonte-sweetalert2/11.7.1/sweetalert2.min.css // @require https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js // @grant GM_addStyle // @grant GM_cookie // @grant GM_setClipboard // @match **://**/** // @namespace https://gf.qytechs.cn/users/956311 // ==/UserScript== (async () => { AddBtnElements(); const Toast = Swal.mixin({ toast: true, position: "top-end", showConfirmButton: false, timer: 3000, timerProgressBar: true, didOpen: (toast) => { toast.onmouseenter = Swal.stopTimer; toast.onmouseleave = Swal.resumeTimer; } }); /** * 添加按钮组 * @constructor */ function AddBtnElements() { const btns = `<div id="btns-qhy" style="position: fixed; bottom: 50px; right: 50px; z-index: 9999;"> <button id="CP_CK" class="u-button nd-file-list-toolbar-action-item u-button--primary" style="border-radius: 5px; background-color: #008DDB; color: white; padding: 20px; font-size: 20px; font-weight: 700;">一键复制Cookie</button> </div>`; $('body').append(btns); $('#CP_CK').click(async function () { GM_cookie('list',{}, async (response) => { const cookieStr = response.map(item => `${item.name}=${item.value}`).join(';'); if (cookieStr) { GM_setClipboard(cookieStr, "text", () => Toast.fire({ title: '系统提示', html: 'Cookies成功复制到剪贴板!', })) return } else { Swal.fire({ title: '系统提示', html: '未获取到Cookies信息!', }) } }) }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址