IE10 has the event MSHoldVisual
to bring up the square. You can cancel both MSHoldVisual
and contextmenu
to stop this behavior.
// Disables visual
element.addEventListener("MSHoldVisual", function(e) { e.preventDefault(); }, false);
// Disables menu
element.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false);
According to this MSDN page: http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx#context_menus