_OwNeD.YoU_ Posted October 10, 2009 Share Posted October 10, 2009 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); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.