FuckQQ

拦你妈呢死妈 QQ 管家

目前为 2022-07-22 提交的版本。查看 最新版本

// ==UserScript==
// @name            FuckQQ
// @namespace       https://github.com/Cierra-Runis/FuckQQ
// @version         0.2
// @description     拦你妈呢死妈 QQ 管家
// @connect         raw.githubusercontent.com
// @connect         github.com
// @connect         cdn.jsdelivr.net
// @author          https://github.com/Cierra-Runis
// @match           https://c.pc.qq.com/*
// @icon            https://github.com/Cierra-Runis/FuckQQ/blob/master/favicon.png?raw=truedomain=qq.com
// @grant           none
// ==/UserScript==

function sleep(numberMillis) {
    var now = new Date();
    var exitTime = now.getTime() + numberMillis;
    while (true) {
        now = new Date();
        if (now.getTime() > exitTime)
            return;
    }
}

(function () {
    'use strict';


    window.location.href = document.getElementById('url').textContent;
    sleep(50);
    window.alert("已跳转");
    sleep(50);
    window.close();
})();