您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
百度云盘钥匙,在浏览器中打开云盘分享链接后,会自动填写云盘提取码。
当前为
// ==UserScript== // @name 隐心百度云盘钥匙 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 百度云盘钥匙,在浏览器中打开云盘分享链接后,会自动填写云盘提取码。 // @author Yisin // @match *://pan.baidu.com/* // @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.0/jquery.min.js // @grant GM_xmlhttpRequest // @supportURL meek.com.cn // ==/UserScript== (function() { 'use strict'; function getKey(){ var key = ""; var url = document.location.href; if(url.indexOf('//pan.baidu.com/s/') != -1){ key = document.location.pathname.substring(4); } else if(url.indexOf('//pan.baidu.com/share/init') != -1){ url = document.location.search; key = getUrlParam("surl"); } return key; } function getUrlParam(param) { var reg = new RegExp("(" + param + ")=([^&#]*)", "g"), matched = location.href.match(reg); return matched && matched[0] ? matched[0].replace(param + "=", "") : null; } var weburl = document.location.href; var bdyKey = getKey(); if(bdyKey){ weburl = 'http://ypsuperkey.meek.com.cn/api/items/BDY-' + bdyKey + '?access_key=4fxNbkKKJX2pAm3b8AEu2zT5d2MbqGbD&client_version=web-client&' + new Date().getTime(); GM_xmlhttpRequest({ method: 'GET', url: weburl, headers: {"Accept": "application/json"}, contentType: "application/json", dataType: 'json', onload: function(response){ if(response.statusText == 'OK'){ try{ var res = JSON.parse(response.responseText); $('.verify-input input').val(res.access_code); }catch(e){} } } }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址