tags:

views:

71

answers:

1

Hello,

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 there a way to bypass the Javascript execution?

Thank you on your time, bojanski

+1  A: 

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);
Delan Azabani