how do i stop firefox from opening links in new tabs?

User Help for Mozilla Firefox
Post Reply
tab help
Guest

how do i stop firefox from opening links in new tabs?

Post by tab help »

sometimes a website link opens in new tab, but I only want it to do that when I tell it to from ctrl+click.
Anonymosity
Posts: 8779
Joined: May 7th, 2007, 12:07 pm

Re: how do i stop firefox from opening links in new tabs?

Post by Anonymosity »

With a Mac, that would be Command-click. Some links are set to open in a new window, which Firefox changes to opening a new tab. I know of no way to force that kind of link to open in the same tab. There is a cursor change you can use to tell which links will open in a new tab and which will open in the same tab. Use this in the userContent.css file:

Code: Select all

/* Change cursor for links that open in new window/tab */ 
:link[target="_blank"], :visited[target="_blank"],
:link[target="_new"],   :visited[target="_new"] {
   cursor:  crosshair;
}

If the link will open in a new tab, the cursor looks like a crosshair when you mouse over it. If the link will open in the same tab, it will look like a hand with a pointing finger.
Post Reply