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);
精彩评论