Fuck QQ Alert

QQ拦截页面自动重定向

目前为 2022-01-13 提交的版本,查看 最新版本

// ==UserScript==
// @name         Fuck QQ Alert
// @namespace    http://tampermonkey.net/
// @version      0.1
// @license      unlicense
// @description  QQ拦截页面自动重定向
// @author       PRO
// @match        https://c.pc.qq.com/middlem.html*
// @icon         https://3gimg.qq.com/tele_safe/static/tmp/ic_alert_blue.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    function redirect() {
        var url = document.querySelector("#url").textContent;
        window.location = url;
    }
    window.setTimeout(redirect, 500); // <- 如若感觉等待时间过长或无反应,请自行调整这个数值
})();