您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Script that will copy the plex access token to your clipboard
当前为
// ==UserScript== // @name Copy Plex token // @namespace http://tampermonkey.net/ // @version 2024-05-11 // @description Script that will copy the plex access token to your clipboard // @license MIT // @author Bastian Ganze // @match https://app.plex.tv/* // @icon https://www.google.com/s2/favicons?sz=64&domain=plex.tv // @grant none // ==/UserScript== (function() { 'use strict'; (function() { alert("Click here to copy the plex token."); setTimeout(() => { const copyText = localStorage.getItem("myPlexAccessToken"); if (!copyText) { console.error("Could not find any token, wtf!?"); } navigator.clipboard.writeText(copyText).then(() => { console.log(`${copyText} copied to clipboard`); },(err) => { console.error('Failed to copy Plex ID to clipboard copy'); console.error(err); }); }, 200); })(); })();