您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
shows the user's token in the account settings
// ==UserScript== // @name CAI Token // @namespace http://tampermonkey.net/ // @version 1 // @description shows the user's token in the account settings // @author kramcat // @license MIT // @match https://beta.character.ai/settings* // @icon https://i.imgur.com/unIzTZO.png // @grant none // ==/UserScript== const char_token = localStorage.getItem('char_token'); const token = JSON.parse(char_token).value; const TokenText = document.createElement('p'); TokenText.textContent = token; TokenText.style.position = "bottom"; TokenText.style.marginTop = '64px'; TokenText.style.color = 'rgb(159, 151, 136)'; TokenText.style.textAlign = "center"; document.body.appendChild(TokenText);