What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

I'm curious if anyone has gone and created a Greasemonkey script that makes the entire StackOverflow site Hotkeyed similar to Google Reader/Google Mail? Seems like it would be an awesome way to power answer questions.

Something like:

j and k - Move Post Selector
o - open post
p - go back (back to last screen)
i - retag
u - edit
y - open 'close question' dialog
t - open flag dialog
n - open comment box
m - open answer box
[ - upvote question
] - downvote question

If you really got into it you could make an answer selector to navigate answers.

share|improve this question
    
can this please be moved to stackapps.com/?tab=scripts as necessary? Or flag for deletion. –  Jeff Atwood Jul 31 '11 at 22:50
    
add comment

2 Answers 2

up vote 0 down vote accepted

I haven't seen one yet, but I imagine if you give Jonathan Sampson enough time he will whip one out.

share|improve this answer
    
That was part of why I posted this. Either someone has made it, or someone will probably make it. –  Tyler Carter Jul 28 '09 at 23:01
    
Hmm. Sounds like a fun project - if I get some free time tonight I'll play with it :) –  Jonathan Sampson Jul 28 '09 at 23:23
    
One Word: Yay! (typing this so that I can reach the minimum character limit) –  Tyler Carter Jul 28 '09 at 23:25
    
John, I see your answer in the recent activity section, but not on the question. –  Tyler Carter Jul 29 '09 at 2:37
    
I built the script last night, but deleted it shortly thereafter. jQuery doesn't support focus and blur for $.live(), so any comment boxes, and wmd-input pop-up boxes wouldn't ignore the hotkeys...this was very problematic. Basically, the hotkeys worked perfectly for up/down voting, going to the answer box, going to the question comment box, and that's about it. I'll play with it a bit later. –  Jonathan Sampson Jul 29 '09 at 10:25
    
@Jonathan, you use the livequrey plugin: plugins.jquery.com/project/livequery –  Sam Hasler Jul 29 '09 at 11:21
    
Thanks, Sam. I'll check it out when I get home tonight. –  Jonathan Sampson Jul 29 '09 at 11:44
    
I took a crack at it, and the big problem is the fact that the comments form is created 'after' you click on the link. You can use bind() for almost everything else (including blur), but only live works for future elements. –  Tyler Carter Jul 29 '09 at 18:10
add comment

So, I took a whack at implementing some Hotkeys, and found that it was really useful to bind some Hotkeys to Filters. So, in my really novice (Third Script) attempt at fixing this problem, I've created the following Greasemonkey script.

Basically, here are its 'features':

Navigation Keys

Big Tabs
Q - Questions
T - Unanswered Questions
Y - Ask Question

Small Tabs
A - Active
F - Featured
H - Hot
W - Week
M - Month
B - New
V - Votes

Filter Keys

R - Reset Filters
U - Questions with 0 Answers
I - Hide everything but Interesting Tags
O - Hide Ignored Tags
N - New Users Only
(Hides Questions that the latest activity was by a person with less than 100 rep)

Very Basic Feature Set, but I like it.

Note: It is automatically excluded from Actual Questions, the Ask Page, and edit pages
If it isn't, it makes typing in comments and answers problematic.

All the features can be turned off/on by setting the variable equal to false. IE:

var setting_navKeys = true; 
// turns into
var setting_navKeys = false; 

Here is the download.

Tell me what you think.

share|improve this answer
    
It's a nice first step –  Bruce Connor Jan 6 '11 at 20:25
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .