|
hook js原型函数
我是想知道这个hook.js,函数怎么调用。。。。 |
|
hook js原型函数
很久没上看雪,不好意思,没看到您的消息。 |
|
hook js原型函数
FuXiChen 你这个我在吾爱还有看雪另一篇文章好像也看到了,我觉得你钻进了个死胡同我记得你在看雪另一篇帖子里说是hook别人的代码对吧??? 首先呢,你的myprototype方法内部对于全局上下 ...你好,我明白您意思,您意思就是覆盖掉之前的原型函数,达到修改的效果,但是其他js不单单只有一个函数,直接覆盖掉会导致用不了。 其实在按更简单的,Javascript有继承的功能 比如 var myhook=new mypototype; myhook.prototype=mypototype.prototype; myhook.e=function(){ console.log("修改成功"); } 但是这些并不是我需要的,我需要的是hook.js的使用方法。。就只是使用方法而已。。 |
|
|
|
[求助]hook js原型函数
hook的重点在于,注入hookjs,可以hook某个函数,当执行某个函数之前先执行自己写的函数 hook主要功能是在别人写的js代码中拦截他,先执行我的,再执行你的。 举个例子 我可以hook js时间,这时间是个函数,我hook住以后,传入参数,从而达到修改时间的效果。 意思是这意思。 跑题了。 有没有人会调用啊。hook的js代码我上传到蓝奏云,下载地址在正文里。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值