While I answered this question in Stack Overflow:
How does the Stack Overflow Search Input work?

I found this hidden feature: If you type your search expression than clicking Ctrl + Enter it will open a new tab\window with the results for your search expression.

I thought it will make someone happy, so I shared the info.


For some browsers you will need to allow popups in the site to make it work.

For the sake of completness The keydown (javascript - jQuery)code looks like this:

function(c) {
    if (13 == c.which && c.ctrlKey && d.val()) 
        return window.open("/search?q=" + encodeURIComponent(d.val()), "_newtab"), !1

(Maybe it should be in an answer using the "share your knowledge, Q&A-style" feature?)

  • Should I make it a Q&A style? it's not like it can be answered... – user173320 Jun 21 '12 at 13:25
  • clicking Ctrl + Enter ... ... ... – Time Traveling Bobby Jun 21 '12 at 14:18
  • No repro here on FF12...or did you mean that you can use that as userscript? – Time Traveling Bobby Jun 21 '12 at 14:20
  • @UristMcBobby. Write some text in the little search text on the top right screen, than click Ctrl + Enter. Did it work? – user173320 Jun 21 '12 at 14:22
  • No...Ctrl+Enter does nothing for me. – Time Traveling Bobby Jun 21 '12 at 14:23
  • I have to allow a popup for it to work in Firefox 13, but once I do, it does open in a new tab. – Ricardo Altamirano Jun 21 '12 at 14:25
  • @UristMcBobby. Maybe you blocked popups? I tried it in IE and removing this restriction seems to do the magic. – user173320 Jun 21 '12 at 14:25
  • @pythonscript. 19 secs later. – user173320 Jun 21 '12 at 14:25
  • @gdoron: Ohh...true... – Time Traveling Bobby Jun 21 '12 at 14:31
  • @UristMcBobby. It's funny, SE programmers write features, sharing no one about them. I'm sure even they didn't know about it... Well that's why we have SO. :) – user173320 Jun 21 '12 at 14:33
  • 3
    Perhaps this should just be answer to Hidden features of Stack Overflow? – Some Helpful Commenter Jun 21 '12 at 14:36

You must log in to answer this question.