您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
如名
// ==UserScript== // @name 123网盘自动填写提取码、关闭广告 // @namespace http://tampermonkey.net/ // @version 0.5 // @description 如名 // @author CCCC-L // @match https://www.123pan.com/s/* // @icon https://www.google.com/s2/favicons?sz=64&domain=123pan.com // @grant none // @run-at document-start // ==/UserScript== (function() { 'use strict'; // 获取pwd参数 let pwd = new URLSearchParams(window.location.search).get("pwd") // 没有pwd参数提前返回 if (!pwd) { return } let shareKey = window.location.pathname.match(/\w+-\w+/)[0] localStorage.setItem("shareKey", shareKey) localStorage.setItem("SharePwd", pwd) })();