Jump to content

Javascript Greasemonkey gmail keyboard shortcut key


_OwNeD.YoU_

Recommended Posts

Guys im trying to create a gmail shortcut key for clicking a focusing on the cc button but gmail is not accepting it at all

// ==UserScript==

// @name          gmail2

// @include        https://mail.google.com/mail/contacts/ui/ContactManager*

// @include        http://mail.google.com/a/audiogeer.com/contacts/ui/ContactManager*

// ==/UserScript==

 

window.addEventListener("keypress",function(e){ isSignOut(e); }, false);

function ProcessKeyClick(event)

{

switch(event.keyCode)

{

 

 

 

 

case 83 : { // enter

window.frames[1].document.getElementById(":lt.").click();

 

} break;

 

 

 

 

 

}

}

 

 

 

window.addEventListener("keyup", ProcessKeyClick, false);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.