acfun地址替换

把ac土豆替换回http://www.acfun.tv/

// ==UserScript==
// @name        acfun地址替换
// @namespace   https://gf.qytechs.cn/users/29338
// @description   把ac土豆替换回http://www.acfun.tv/
// @include     http://acfun.tudou.com/*
// @version     1
// @grant       none
// ==/UserScript==
search=location.href.split("/")[3];
ac=location.href.split("/")[4];
if (ac.split("",2)[1]=="c" || search.split("",2)[1]=="e")
 location.href="http://www.acfun.tv/" + location.href.split("/")[3] + "/" + location.href.split("/")[4];

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址