Dice rolling device

By Peter Sidor Last update Mar 1, 2008 — Installed 129 times.

Script Summary: A simple tool for rolling dice.



Special thanks to quirksmode.com, where the drag&drop code was taken from:
http://www.quirksmode.org/js/dragdrop.html

(The keyboard control had to be commented out due to some tricky event handling that is not compatible with Greasemonkey. Perhaps it will come in another release - or someone else will work it out.

There were more changes to the code, and it has very likely lost the intra-browser compatibility. Since this is designed for Firefox only, it doesn't matter as much.)

There's a lot of code waiting to be cleaned up, and it behaves funnily with some movements (selecting and deselecting page text), but it does what it is supposed to.