Open link in the same tab for Firefox

Is it possible to enforce opening a link in the same tab with Firefox?

There are some cases where I don't want an extra tab to be opened.


Solution 1:

From https://support.mozilla.org/fr/questions/970999 :

  • In about:config page (confirm that you'll be careful)
  • Enter browser.link.open_newwindow in the search field
  • Double click browser.link.open_newwindow.restriction and set value to 0
  • Double click browser.link.open_newwindow and set value to 1

Solution 2:

The simplest way to achieve this is to just drag the link into the address bar at the top of firefox (the long white bar with http;//superuser.com/questions/blah/blah/blah in it). The contents will be replaced by the destination of the link and the link will open in the current page.