Mouse Gestures in Javascript
christodd writes "I have become big fan of mouse gestures, a feature included in Opera, Mozilla, and MyIE2. There's even a plugin for IE. Other programs like StrokeIt and Cocoa Gestures are also based around the concept. I can't believe nobody else has thought of this before, but what about mouse gestures in javascript? Turns out that it is incredibly simple to implement, and really handy for those 'feature incomplete' web browsers. Unfortunately, for the total user experience, we'd have to upgrade the whole internet..."
Another annoying feature that wannabe web designers can add! Oh well. At least I don't have to worry about it. *Makes sure Disable Javascript is checked*
Crushing dreams at the speed of sarcasm
I'll be honest here, I still don't understand why anyone would want to use mouse gestures. No one seems to be able to provide a believable reason other than "but it's cool". Anyone?
It would be nice if, for once, web technology was developed that made content more accessable to people with disabilities instead of less.
"Ask not what your country can do for you." --John F. Kennedy
I've never been much of a fan of mouse gestures. Whenever you see someone using them, there's a rapid flick of the wrist in some angled direction... that can't be good for you if repeated often...
:-).
In general I don't have much sympathy for RSI sufferers. (I was going to put sufferers in quotes, but thought better of it
I use a keyboard something like 8 hours a day, and have done for the last 15 years, programming computers. If anyone is a prime candidate, it's me, and no RSI as yet. On the other hand, I'm reasonably careful - I don't hammer the keyboard, and I try to rest all my forearms on the desk in front of the keyboard. Sensible things to minimise the effect... unlike "gestures", which are just a disaster waiting to happen, IMHO.
Simon
Physicists get Hadrons!
if you can get proximitron or privoxy to insert javascript code into a jpg
I could do it if I knew proxomitron's or privoxy's architecture. Just rewrite links to images (as opposed to inlining of images) to wrap them in an HTML page.
Will I retire or break 10K?
If I were into conspiracy theories, I'd say that someone deliberately distributes web page creation tools that pointlessly use features that tickle bugs in older browsers - eventually forcing upgrades.
Warning - this page is old-browser dehanced.
Netscape 3 has all the features I want in a browser, except one - it's buggy. It can format text and graphics. It does forms. It does ssl (security). It's small and very fast (except that it's cache slows rapidly, and you have to restart it frequently to maintain speed).
People say, what does it matter? New browsers are free. My response is that downloading a new browser over a 28.8 modem is not nearly free. Most users do not have what it takes to make it happen. They get a browser upgrade by buying a new system.
-- Stephen.
This is inane.
Repeat after me:
"Web Standards."
It belabors the obvious to point out that this will never be implemented my more than a tiny fraction of sites, that it actively interferes with normal point/click/drag behaviors (like highlighting text? click, drag left->right?) and that learning PER-SITE navigation is simply ridiculous.
It's not that no-one's thought of it before, it's that it's a bad idea on the face of it.
La via sola al paradiso incommincia nel inferno
I'm not slamming the concept of mouse gestures in general; some people like them and do find them useful. What I'm looking at here is making the user interface decision up to the web developer, and not the user. Going from page to page and either having mouse gestures, not having them, or having some wierd implementation; that's annoying.
It will be the final straw that kills Javascript (if this becomes slightly popular), as people will turn off Javascript in order to take back control of their user interface. I already have....
...
This is a user interface feature that randomly turns on and off or changes behavior, depending on which web page you're on. How popular do you think the mouse would be, if for random periods it switched directions, reversed buttons, or turned off completely?
...
I don't get the fascination with mouse gestures. Is it really that much more convenient than clicking a button or pressing a key? From the Mozilla gestures page:
p -Right. How did I ever live without these things?
View Source - Left-Down-Right-Down-Left (draw a squarish S)
Is right-clicking and choosing "view source" such a chore that you'd rather draw "S" shapes instead?
Reload (bypass cache) - Up-Down-Up
I dunno, pressing "F5" always seemed to work for me.
Personally I think the obsession with mouse gestures boils down to the typical geek fascination with things that, impractical and useless they may be, are just "exciting" for some reason.
Hey look, Slashdot implemented gestures.
Submit post - Left-Right-Up-Down-Down-Down-Up-Left-Down-Right-U
And as I've asked before, is a virus written in C++ a reason why C++ should be retired?
Using HTML in email is like putting sound effects on your phone calls. Just say <strong>no</strong>.
This could all have been handled much better with a declarative constraint based forms validation extension. Then the features you describe above could be built into the browser where they belong rather than being invented differently on every damn web site.
Looking for an Information Security student project suggestion?
Try http://dotcrimeManifesto.com/