onmousemove鼠标截取

document.onmousemove = function(e) {

}
document.onmouseup = function(){
  this.onmousemove = null;//阻止mousemove执行
  this.onmouseup = null;
}
原文地址:https://www.cnblogs.com/Zting00/p/7497666.html