2

I’m stuck using a crappy website that is very dynamic and uses a lot of JavaScript, basically it has a table with many rows, each containing a link. Initially the rows are in a very poor order and I click various buttons to sort them. However, when I click a link and then try to go back to this page, when I go back the ordering is back to its useless initial state.

To overcome this problem I would like to open links in new tabs. But since the links have the location javascript:void(0) how can I do this? If I try click with the middle button of the mouse, a new empty tab opens. I’m using Firefox and am willing to install addons.

Here’s a link to a download of the source code.

Hennes
  • 65,804
  • 7
  • 115
  • 169
Celeritas
  • 8,341

2 Answers2

1

There was once an add-on called "Smart Middle Click" that provided the ability to middle-click JavaScript links. It's no longer available at addons.mozilla.org or the author's website, but I've uploaded a copy for you:

http://www67.zippyshare.com/v/7SsmjES2/file.html

SMC doesn't work with all JS links, but rarely has trouble with the type you described. Hope it does the job for you!

blackwind
  • 219
0

Since Smart Middle Click didn't work for you, try this:

  • Open the Developer Console (Ctrl+Shift+K)
  • Click one of your links
  • Quickly hit Esc (or the Stop button) before the page changes
  • Middle-click the resulting link in the Console

It's a significantly less convenient solution, but it beats what you're doing now, and unfortunately, short of writing your own add-on or Greasemonkey script, it's your last remaining option.

blackwind
  • 219