您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
redirect you from "chat2?char=" to "chat?char="
- // ==UserScript==
- // @name Character AI URL Redirect
- // @namespace Violentmonkey Scripts
- // @match https://beta.character.ai/chat2*
- // @grant none
- // @description redirect you from "chat2?char=" to "chat?char="
- // @version 0.0.1.20230828085346
- // ==/UserScript==
- (function() {
- 'use strict';
- // Get the current URL
- var currentURL = window.location.href;
- // Replace "chat2" with "chat" in the URL
- var newURL = currentURL.replace('/chat2', '/chat');
- // Redirect to the new URL
- window.location.href = newURL;
- })();