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:
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.
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 |

