Hey folks,
I think I'm having a little too much fun with Greasemonkey. I decided to make another fun, simple and potentially useful script called "Drag Everything".
Basically it makes anything (or almost anything) instantly draggable on a page. Why would you want to do this? Maybe you just want to waste time and have some fun, or maybe you're a designer and want to change your layout at client-side runtime. Once you have a layout you like, you can view the run-time generated source using a cool tool like the FireFox Add-on
Web Developer to test out your new markup layout.
Grab the script on userscripts.org
here. As usual, make sure FireFox is installed with Greasemonkey. See my
previous posts on Greasemonkey to get that setup.
Here's the non-minified code. I minify the code on userscripts.org so as to reduce the footprint of the script. It's not to make anything super secret. I couldn't bother pasting my script in my blog because formatting it was a pain, so here's the script,
drag_everything.js.
Labels: drag, firefox, greasemonkey, javascript, jquery