您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirect from kinopoisk.ru to w3w.kpfr.cc
当前为
// ==UserScript== // @name Kinopoisk Redirect // @namespace https://t.me/johannmosin // @version 0.1 // @description Redirect from kinopoisk.ru to w3w.kpfr.cc // @author Johann Mosin // @match https://www.kinopoisk.ru/*/*/ // @license MIT // ==/UserScript== (function() { 'use strict'; // Get the current URL var currentUrl = window.location.href; // Extract the type and id from the URL var parts = currentUrl.split('/'); var type = parts[3]; var id = parts[4]; // Construct the new URL var newUrl = 'https://w3w.kpfr.cc/' + type + '/' + id + '/'; // Redirect to the new URL window.location.href = newUrl; })();