preventDefault
preventDefault是阻止浏览器默认行为,阻止冒泡是stopPropagation
Event.prototype.stopPropagation = function () {}
重写stopPropagation应该能满足你的需求
1.4m articles
1.4m replys
5 comments
57.0k users