MozillaZine

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

User Help for Mozilla Firefox
tab help
Guest
 

Post Posted December 27th, 2009, 11:22 am

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: 8174
Joined: May 7th, 2007, 12:07 pm

Post Posted December 27th, 2009, 11:31 am

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.

dickvl

User avatar
 
Posts: 51514
Joined: July 18th, 2005, 3:25 am

Post Posted December 27th, 2009, 11:57 am


Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 17 guests