Debug events tagCo

Debug TC events

目前为 2018-11-15 提交的版本。查看 最新版本

// ==UserScript==
// @name         Debug events tagCo
// @namespace    http://leroymerlin.fr/
// @version      0.2
// @description  Debug TC events
// @author       BAMF Consulting
// @match        *://*/*
// @grant        none
// @noframes
// ==/UserScript==

function overrideTcEvents(){
    console.log("%c---------------------","color:#44FF44;background-color:#000000;");
    console.log(window.orinterval);
    if(typeof window.tc_events_global !='undefined'){
        window.old_tc_events_global = window.tc_events_global;
        window.tc_events_global = function(){
            console.log("%c------ TC EVENT ------","color:#FF4444;background-color:#000000;");
            console.log(arguments);
            window.old_tc_events_global.apply(this,arguments);
        }
        console.log("%c------ OVERRIDE TC EVENT ------","color:#44FF44;background-color:#000000;");
        window.clearInterval(window.orinterval);
    }
}

(function() {
    console.log("here");
    window.orinterval = window.setInterval(overrideTcEvents,100);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址