Tip Details Add a Related Tip

Rate as: Positive Negative

Easily spot links that will open in new windows

Lots of sites use links that open in new Windows. Some times I care, some times I don't. But I like to know what links are going to open in new windows before I click on them, not after. If you are using the firefox browser, there is a quick hack you can make that allows you to easily change the cursor behavior for links that will open in new windows so that you can always tell if this going to happen before you click on a link.

To make this change, search your computer for a file named userContent.css. Once you find this file, open it in an editor and add the following lines:

/*
 *  This code will make it so that when hovering over links that open in a new
 *  window, the cursor will be changed to a crosshair.
 */ 
:link[target="_blank"], 
:visited[target="_blank"],
:link[target="_new"],
:visited[target="_new"] {
    cursor:  crosshair;
}

Save the file, completely close Firefox and restart it, and now when you put the mouse over a link that will open in a new window, the mouse will show as a crosshair.

If you can't find the userContent.css file, don't worry, it doesn't exist by default unless you have already been hacking your Firefox CSS. Instead, search for a file called userContent-example.css. Once you find this file, create a duplicate in the directory where you found it and name the duplicate userContent.css. You are then ready to edit.
Rating: 50% positive, 2 total Votes
Categories: firefox browsers customization
Added: on Aug 31, 2007 at 5:13 pm
Added By: foxnut
Searches: open link firefox file window

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Turn off tool tips in Firefox

92% positive, 5 comments - last added on Sep 15, 2009 at 4:53 pm
– Tip added by an anonymous user on Jan 22, 2008 at 7:32 pm

Turning off autoscroll in Firefox

90% positive, 1 comment - last added on Sep 03, 2008 at 2:08 pm
– Tip added by libby on Feb 25, 2008 at 4:11 pm

Open Firefox search results in a new tab

88% positive, 2 comments - last added on Nov 08, 2008 at 4:50 am
– Tip added by foxnut on Apr 02, 2008 at 3:37 pm

Pimp your firefox browser

100% positive, 2 comments - last added on Mar 13, 2007 at 7:26 pm
– Tip added by Marcos84 on Mar 06, 2007 at 7:31 pm

Fix the Home button in Firefox 3

100% positive, 1 comment - last added on Mar 27, 2008 at 6:48 am
– Tip added by foxnut on Mar 20, 2008 at 8:34 am

Customize Firefox for faster bookmarks

100% positive, 0 comments
– Tip added by rlansky on Mar 27, 2007 at 4:56 pm

Opening Firefox search results in the same tab

100% positive, 0 comments
– Tip added by an anonymous user on Oct 02, 2008 at 4:07 pm

Change the default domains in Firefox

100% positive, 0 comments
– Tip added by an anonymous user on Oct 01, 2008 at 1:34 pm

Changing Firefox startup behavior

100% positive, 0 comments
– Tip added by an anonymous user on Jul 19, 2009 at 10:33 am

Adding search engines to Firefox

100% positive, 0 comments
– Tip added by an anonymous user on Aug 26, 2008 at 8:13 am

Using GMail in Firefox for mail links

100% positive, 0 comments
– Tip added by an anonymous user on Jun 13, 2008 at 8:26 am

Clicking the address bar in Firefox 3

100% positive, 0 comments
– Tip added by an anonymous user on May 27, 2008 at 4:49 pm

Quick copy of text in Firefox

50% positive, 1 comment - last added on Aug 28, 2008 at 12:42 am
– Tip added by an anonymous user on May 12, 2008 at 7:36 am

Live Bookmarks in Firefox

50% positive, 0 comments
– Tip added by foxnut on Aug 04, 2007 at 7:05 am

Turn on visual tab previews in Firefox 3.6

no ratings, 0 comments
– Tip added by an anonymous user on Nov 05, 2009 at 7:10 am

Recovering Autoscroll in Firefox

no ratings, 0 comments
– Tip added by an anonymous user on Jun 05, 2009 at 7:59 am

Disable page transitions in IE8

100% positive, 0 comments
– Tip added by an anonymous user on Oct 26, 2009 at 6:48 pm

Get smooth page up and page down scrolling in Firefox

no ratings, 0 comments
– Tip added by an anonymous user 1 day, 15 hours ago

Get rid of the new tab button in Firefox 3.5

no ratings, 0 comments
– Tip added by an anonymous user on Oct 13, 2009 at 10:10 am

Changing the default download folder for Opera

no ratings, 0 comments
– Tip added by an anonymous user on Oct 09, 2009 at 6:15 pm