您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
一键复制阿里云盘refresh_token
// ==UserScript== // @name 阿里云盘refresh_token // @namespace https://www.aliyundrive.com/ // @version 0.7 // @description 一键复制阿里云盘refresh_token // @author 生瓜太保 // @match https://www.aliyundrive.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=aliyundrive.com // @homepage https://gf.qytechs.cn/zh-CN/scripts/449160 // @supportURL https://gf.qytechs.cn/zh-CN/scripts/449160 // @grant GM_setClipboard // @grant GM_registerMenuCommand // @connect * // @grant unsafeWindow // @grant GM_notification // @compatible chrome // @license MIT // ==/UserScript== (function() { 'use strict'; GM_registerMenuCommand('📋 复制refresh_token', copyToken) GM_registerMenuCommand('👁 显示refresh_token', showToken) function getToken() { try { return JSON.parse(unsafeWindow.localStorage.token).refresh_token } catch (e) { console.error(e) alert(`获取refresh_token失败:"${e.toString()}"!请确认已登录(不可用)。如已登录(不可用),请按F12查看Console。`) } return '' } function copyToken() { const token = getToken() if (token) { GM_setClipboard(token) GM_notification({ text: '已复制refresh_token', timeout: 3e3 }) } } function showToken() { const token = getToken() if (token) { prompt('refresh_token:', token) } } })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址