Skip to content

Commit f42b65a

Browse files
author
ImAyx
authored
UserScript
1 parent 6685879 commit f42b65a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// ==UserScript==
2+
// @name c.pc.qq.com Alert Auto Redirect
3+
// @namespace https://jmpyx.github.io/
4+
// @version 1.0.4
5+
// @description Fuck Tencent QQ/TIM's stupid alert! 当腾讯 QQ/TIM 打开网页时显示「当前网页非官方页面」、「非官方页面,请勿输入QQ帐号和密码,如需访问,请复制后使用浏览器访问」时,自动跳转到打开的链接。
6+
// @author ImAyx
7+
// @license GPLv3
8+
// @match http://c.pc.qq.com/middlem.html?pfurl=*
9+
// @match https://c.pc.qq.com/middlem.html?pfurl=*
10+
// @grant none
11+
// ==/UserScript==
12+
var url = getParams("pfurl");
13+
if (url != null) {
14+
window.location.href = url;
15+
}

0 commit comments

Comments
 (0)