您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
重定向其他百度贴吧域名到tieba.baidu.com
// ==UserScript== // @name 百度贴吧重定向 // @version 1.2 // @author 火心 // @description 重定向其他百度贴吧域名到tieba.baidu.com // @compatible chrome // @include http://tieba.baidu.com.cn/* // @include http://tieba.baidu.cn/* // @include http://c.tieba.baidu.com/* // @include http://xingqu.baidu.com/* // @include http://v.tieba.com/* // @include http://v.tieba.baidu.com/* // @include http://1111.baidu.com/* // @include http://post.baidu.* // @include http://www.tieba.com/* // @include https://wapp.baidu.com/* // @include https://wefan.baidu.com/* // @include https://jump2.bdimg.com/* // @include http://anfudianshang.com/* // @run-at document-start // @namespace https://greasyfork.org/users/319402 // ==/UserScript== if (window.location.host = "anfudianshang.com"){ window.location.href = window.location.href.replace('anfudianshang.com/tieba_baidu_', 'tieba.baidu.com') } else{ window.location.host = "tieba.baidu.com" }