1

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?

2 Answers2

2

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

javascript:void(window.open("http://www.wolframalpha.com/input/?i="+encodeURIComponent("%s")));
Dan
  • 2,096
1

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

javascript:window.open("http://www.wolframalpha.com/input/?i="+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.

Majenko
  • 32,964