This is not the same question as everyone else. I already prevent Chrome from entering text selection mode when dragging and dropping. (Edit: I just want to lock the icon / appearance, and not restrict the location or movement, and only between mousedown and mouseup). I would like to avoid: Chrome changes the cursor when dragging to everything that is under the cursor (i.e. i-beam while input control over the text, manual work on the hyperlink, etc.).
IE and FireFox / Moz support element.setCapture (), which I call in the mousedown event, which "blocks" these browsers for the element, so that the mouse cursor remains at all that the cursor of this element ... is very nice. Chrome does not support this feature or anything like that that I know of.
By observing the mousemove and mouseup events on the document object, and not on the element that was clicked, I can get more setCapture () behavior to track mouse events that occur outside the element and even outside the browser window. However, I was left with another problem, the mouse cursor has changed in Chrome.
eselk source share