Code: Select all
function blockEvent(e) {e.stopImmediatePropagation();e.stopPropagation();}; window.addEventListener("mouseleave", blockEvent, false); window.addEventListener("mouseout", blockEvent, false);
Code: Select all
function blockEvent(e) {e.stopImmediatePropagation();e.stopPropagation();}; window.addEventListener("mouseleave", blockEvent, false); window.addEventListener("mouseout", blockEvent, false);