您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
自动跳过QQ\知乎链接提醒、逼站的奇怪页面
// ==UserScript== // @name Fuck QQ\知乎非官方网页提示、逼站的奇怪页面 // @namespace http://huoyiming.cf:2005/ // @version 6.1 // @description 自动跳过QQ\知乎链接提醒、逼站的奇怪页面 // @author Lucien2714 // @match https://c.pc.qq.com/middlem.html?* // @match https://link.zhihu.com/?target=* // @match https://www.bilibili.com/s/video/* // @icon https://i.loli.net/2021/08/04/WtCjarZQqPwBlzI.png // @grant none // @license GPL-3.0 // ==/UserScript== (function() { 'use strict'; var url=location.href; if(url.indexOf("https://c.pc.qq.com/middlem.html?")!==-1){ var qstr=url.substring(url.indexOf("=")+1,url.indexOf("&")); var qprefix=""; if(!qstr.includes("http")){ qprefix="https://"; } location.href=qprefix+decodeURIComponent(qstr); } else if(url.indexOf("https://link.zhihu.com/?target=")!==-1){ var zstr=url.substring(url.indexOf("=")+1,url.length); var zprefix=""; if(!zstr.includes("http")){ zprefix="https://"; } location.href=zprefix+decodeURIComponent(zstr); } else if(url.indexOf("https://www.bilibili.com/s/video/")!==-1){ var bstr=document.URL.replace("/s",""); var bprefix=""; if(bstr.includes("http")){ bprefix="https://"; } location.href=bprefix+decodeURIComponent(bstr); } })();