您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
8/28/2023, 11:43:38 AM
- // ==UserScript==
- // @name Redirect to old chat - character.ai
- // @namespace Violentmonkey Scripts
- // @license MIT
- // @match https://beta.character.ai/
- // @grant none
- // @version 1.2
- // @author -
- // @description 8/28/2023, 11:43:38 AM
- // ==/UserScript==
- // if the url starts with "https://beta.character.ai/chat2"
- if (window.location.href.startsWith("https://beta.character.ai/chat2")) {
- // redirect to "https://beta.character.ai/chat?char={char}"
- char_id = window.location.href.split("char=")[1].split("&")[0]
- window.location.href = "https://beta.character.ai/chat?char=" + char_id
- }