Stop mousemove event javascript
function mouseMoveHandler(e) {
e = e || window.event;
// handle mouse move event
}
// add event listener
document.addEventListener("mousemove", mouseMoveHandler);
// remove event listener
document.removeEventListener("mousemove", mouseMoveHandler);
MattDESTROYER