您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirect from Bilibili to Google
当前为
// ==UserScript== // @name Bilibili to Google Redirect // @namespace http://tampermonkey.net/ // @version 0.1 // @description Redirect from Bilibili to Google // @author You // @match https://www.bilibili.com/* // @grant none // @run-at document-start // @license MIT // ==/UserScript== (function() { 'use strict'; if (window.location.href.includes('https://www.bilibili.com')) { document.documentElement.innerHTML = ''; // 清空页面内容 document.documentElement.style.background = 'white'; // 将背景设置为白色以避免显示任何内容 window.stop(); // 停止页面加载 window.location.replace("https://www.google.com"); } })();