开发者

How to manipulate JavaScript

I was wondering if there was any way to manipulate JavaScript execution on predetermined action on a certain website.

Thus meaning if there will be an action on mouse hover, is t开发者_JAVA技巧here a way to bypass the Javascript execution?

Thank you on your time, bojanski


If you have a function on hover like so:

function myHover(e) { ... }

And you listen for hover on a node like this:

myNode.addEventListener('click', myHover, false);

Then to remove the listener, remove it with the same arguments as you created it, except with removeEventListener:

myNode.removeEventListener('click', myHover, false);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜