您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Debug TC events
当前为
// ==UserScript== // @name Debug events tagCo // @namespace http://leroymerlin.fr/ // @version 0.4 // @description Debug TC events // @author BAMF Consulting // @match *://*/* // @grant none // @noframes // ==/UserScript== function overrideTcEvents(){ 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); } } window.orinterval = window.setInterval(overrideTcEvents,100); window.setTimeout(function(){window.clearInterval(window.orinterval);},5000);