|  |      1tux      2015-07-18 19:49:48 +08:00  1 试试重定义页面的 "location.href" 方法,这样即使到时间调用,也不会跳了 | 
|  |      2zsx      2015-07-18 19:50:53 +08:00  1 window.setTimeout = function() { /*Your code here */ } | 
|  |      3kfll      2015-07-18 20:15:39 +08:00  1 有挺多方法能完成你的需求的... 比如看他判断是不是 app 的逻辑,随便劫持掉一个条件 比如你说的 clearTimeout ,不知道 ID 的情况下,你从 0 清到 10000 大概也都清完了 另外 location 是无法重定义的 | 
|  |      4leehon OP 我写了window.setTimeout=null;现在不跳转了,但是页面的其他js没办法执行了,不知道什么原因 | 
|  |      5zhangchioulin      2015-07-18 21:16:28 +08:00 | 
|  |      6wkdhf233      2015-07-18 21:23:13 +08:00 https://addons.mozilla.org/zh-cn/firefox/addon/foxreplace/ 试试用这玩艺把location.href给替换掉? | 
|  |      7wkdhf233      2015-07-18 21:24:07 +08:00 槽,发完才看到你是扣肉党。。 | 
|  |      8KCheshireCat      2015-07-18 21:24:50 +08:00 设置 // @run-at document-start 来让脚本优先运行 setTimeout = function(X) {'''}; 把setTimeout函数覆盖掉,如果有其他部分使用setTimeout函数, 可以 sT = setTimeout; setTimeout = function(X) { if( '某种对X参数的判断' ) sT(X); }; |