Home
Community
Scripts list
Browser Extension
Log In
Script Archived
This script has been archived by the author. The script may be no longer functional, and the author no longer maintains it. You cannot provide feedback for this script.
智慧树反异常检测/反闭包
Home
Code
Issue
Comment
Version List
// ==UserScript== // @name 智慧树反异常检测/反闭包 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author LiHengDao // @match https://onlineexamh5new.zhihuishu.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=zhihuishu.com // @grant none // @run-at document-start // ==/UserScript== let old=Element.prototype.attachShadow Element.prototype.attachShadow=function(...args){ args[0].mode='open' return old.call(this,...args) } let oldset=window.setInterval let oldout=window.setTimeout window.setInterval=function(...args){ let err= new Error('大赦天下'); if(err.stack.indexOf('checkoutNotTrustScript')!==-1){ return } return oldset.call(this,...args) } window.setTimeout=function(...args){ let err= new Error('大赦天下'); if(err.stack.indexOf('checkoutNotTrustScript')!==-1){ return } return oldout.call(this,...args) }