How to prevent the execution of this Javascript function.
I have a js function that is causing a serious problem and I cannot remove or modify it. I would like to know if it is possible to simply prevent, stop, or kill a function so that it does not execute until I resolve the problem.
So, somewhere inside the page:
<script type="text/javascript"></script>
And all I want is to stop this function from executing by putting a cork inside the header or external js.
Any tips?
HERE A LIVE EXAMPLE HOW TO STOP? http://jsbin.com/uxalag/3
javascript dom javascript-events
devjs11
source share