<Sirisian> shepazu, so have you thought about defining the default action for right and middle mouse buttons?
Sirisian: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-type-click
<pimpbot> Title: Document Object Model (DOM) Level 3 Events Specification (at dev.w3.org)
<Sirisian> I mean for mousedown and mouseup. Like preventDefault could stop the event from going to the browser.
<shepazu> Sirisian: you're right, those fit more for mousedown than for click
<shepazu> at least the context menu
* johnst has quit (Quit: Leaving)
<Sirisian> So mousedown if you just call prevent default it would stop context menu and the stupid middle click thing on some browsers >:|
<shepazu> if you send a reminder to www-dom@w3.org, I will change that

So event.preventDefault(); could be used to stop the context menu or middle mouse down scroll feature which should be defined as the default actions. Middle mouse down causes the scroll feature normally. (In FireFox for instance it only creates it when the page is scrollable.) For right click up it normally creates the context menu as you know.

If you made browsers define things like context menu and the middle mouse down scroll the default action then powerful browser applications could be made.

Thanks for listening.