squirrel shortkeys

By Hampei Last update Apr 11, 2008 — Installed 259 times.


Script Summary: Makes squirrel-mail a bit more like gmail. Adds most shortkeys of gmail (that have a use in a non-label-mail-service). Adds an arrow to the mail-line that the shortkeys work on. Adds messagecount to the page-title.

limitations

Only works completely with english language setting. Some functionality works for other languages and no exceptions are thrown while using other languages, but I never support different languages.

Firefox/Mozilla only. (can't live without xpath)

Install

In theory the script will work 'out of the box' on a lot of servers. But it is safer en more efficient to configure the includes:

Functionality

Input is always appreciated.

  • Adds shortkeys to squirrelmail (like in gmail)
  • Adds unread messagecount to page-title
  • Adds an arrow to the current mail (mail the shortcuts work on)
  • Adds the following shortkeys to folderview and mailview
    • j : goto next mail
    • k : goto previous mail
    • i : goto inbox
    • c : compose new mail
    • / : search
  • Adds the following shortkeys to folderview:
    • - <enter> : view current mail</enter>
    • d or # : delete selected mails or if none selected the current mail
    • x : toggle selection of current mail
  • Adds the following shortkeys to mailview
    • d or # : delete the current mail
    • r : reply to current mail
    • a : reply all of current mail
    • f : forward current mail

todo

Changelog

Version 0.6 2008-04-11
- shortkeys won't trigger the fast search anymore.

Version 0.5 2007-12-02
- When moving the mailpointer, the viewport will center on it when it moves out of view.

Version 0.4 2007-12-02
- onkeypress checks if alt or ctrl are not pressed, so it won't clash with global shortkeys

Version: 0.3 2007-11-29
- Added function to left frame, so shortkeys work from there also