Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a firefox keyword ("alpha") to search Wolfram|Alpha, but if I type something like "alpha 1+1" then Wolfram|Alpha will search for "1 1"; the plus sign gets eaten en route

Luckily for me this problem was found and solve by this guy. Sadly his solution opens the search in the current tab, is there a way I can alter the Javascript to open in a new tab instead?

share|improve this question
up vote 2 down vote accepted

Surrounding with void() opens in a new tab without changing the current window's content.

share|improve this answer

After playing around with the javascript for a bit I have decided that the answer is "no".

While you can get it to open WA in a new tab with""+encodeURIComponent("%s"));

it replaces the current window's content with [Object Window] which is just plain annoying.

Your best bet may be to install the Open Bookmarks In New Tab add-on for firefox.

share|improve this answer
That's the same answer I came to. Ah, well. If no-one has a better answer I'll accept yours. Thanks for the link too! – Oscar Cunningham Apr 4 '11 at 14:59

You must log in to answer this question.

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