News for hackers. Stuff that matters.
Re:GitHub Secrets by AndyKelley on Friday October 21, 2011 @06:53PM (#3142069)
I love this concept: "There's also a slew of other shortcut keys you can use, depending on the page- just hit ? to see them."

Please, let this become a standard for every website, that '?' brings up a list of shortcut keys.

Edit: It works in Gmail!

Re:GitHub Secrets by mileszs on Friday October 21, 2011 @09:37PM (#3142451)
I could be wrong, but I have been under the impression Google set that as a standard of sorts years ago, starting with GMail, and continuing with their other products. Pivotal Tracker has done it for a while, too. I think there are others, but I cannot recall what they are.

I press '?' on any site that I think might/should have keyboard shortcuts!

Re:GitHub Secrets by sbayless on Friday October 21, 2011 @07:45PM (#3142229)
And Google news, docs, calendar. Not the Google search pages though, since key presses are intercepted by the search bar.
Re:GitHub Secrets by edsrzf on Friday October 21, 2011 @11:18PM (#3142631)
The new Google Groups also has it. The shortcuts are similar to Gmail's.
Re:GitHub Secrets by jordibunster on Friday October 21, 2011 @08:56PM (#3142389)
Works in Yammer too (I work there)
Re:GitHub Secrets by juandopazo on Saturday October 22, 2011 @09:36AM (#3143481)
Twitter as well.
Re:GitHub Secrets by dbbo on Friday October 21, 2011 @11:36PM (#3142675)
Personally, I dislike websites that try to grab my keys. I use pentadactyl/vrome, so if the website just lists everything I need to do there as a normal hyperlink, I need only hit f+number and I'm good to go. That isn't to say that it isn't innovative or cool. It's just not up my alley. I like to let local applications manage the keyboard.
Re:GitHub Secrets by AndyKelley on Friday October 21, 2011 @11:41PM (#3142688)
I agree that websites should not be able to override your keys. I'm often annoyed when I press '/' in firefox, expecting quicksearch to come up, and instead the website hijacks it for their own search.

However, I don't think that this should be solved at a website level. Websites shouldn't know or care what keys do in your browser; they should simply provide reasonable shortcut keys. Browsers should make it so that their shortcut keys cannot be overridden without your explicit permission.

Re:GitHub Secrets by 127 on Sunday October 23, 2011 @09:48AM (#3146107)
This is mostly the fault of insufficient Chrome addon API afaik. In Firefox/Pentadactyl the addon automatically hijacks all the keypresses and only by pressing CTRL-Z can you fall back into direct mode and feed keypress events to Javascript.