Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Show Keybind In Gmail

You press **'? key'** will open the shortcut help.






1 point
login to vote
Logistiker scriptwright
Posted Jan 13, 2007

h (for help) also gets you the screen, it's bigger now (easier to read) and it focuses so you don't have to use the mouse to click first to focus and scroll.

--- showkeybindingmail_dist.user.js 2007-01-12 22:40:04.946278362 -0600
+++ showkeybindingmail.user.js 2007-01-12 22:41:24.074787639 -0600
@@ -67,7 +67,7 @@
var self = this;

with(this.elm.style) {
- height = '70%';
+ height = '95%';
width = '60%';
}

@@ -92,7 +92,11 @@

toggle: function() {
this.load();
- this.elm.style.display = this.elm.style.display ? '' : 'none';
+ if (this.elm.style.display){
+ this.elm.style.display = '';
+ this.elm.focus();
+ }
+ else this.elm.style.display = 'none';
}
};

@@ -108,7 +112,8 @@
function(e) {
var target = e.target.tagName;
if(target == 'INPUT' || target == 'TEXTAREA') return;
- if(e.charCode == 63)
+ //Accessible by ? or h
+ if(e.charCode == 63 || e.charCode == 104)
obj.toggle();
},
false

1 point
login to vote
Posted Nov 8, 2006

Very nice - one of those "why didn't google provide it in the first place?" doohickeys.

1 point
login to vote
Kyosuke script's author
Posted Sep 29, 2006

Thanks ajg23. I added http:// url.., now

1 point
login to vote
ajg23 user
Posted Aug 25, 2006

Helpful--thought I knew everything about keys but didn't!

**NOTE** If it is not working, you need to add http://mail.google.com/mail/* to "included pages" (currently has only https://...)

You could comment on this script if you were logged in.