腾讯PC端安全中心自动跳转

自动跳过腾讯电脑管家安全中心页面,直接跳转到原始链接

// ==UserScript==
// @name         腾讯PC端安全中心自动跳转
// @namespace    https://github.com/geeki-wonchong/fuckqq
// @version      0.1.0
// @description  自动跳过腾讯电脑管家安全中心页面,直接跳转到原始链接
// @author       geek-wonchong
// @match        http*://c.pc.qq.com/ios.html?*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=qq.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    
    let urlParam = new URLSearchParams(window.location.search);
    let originalUrl = urlParam.get('url');

    if (originalUrl) {
        window.location.replace(originalUrl);
    }
})();