user.js - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Computer Support Topics (https://www.supportforums.net/forumdisplay.php?fid=4) +---- Forum: Networking, Wifi, and Internet Connection Help (https://www.supportforums.net/forumdisplay.php?fid=29) +----- Forum: Web Browser Help (https://www.supportforums.net/forumdisplay.php?fid=45) +------ Forum: Firefox Browser (https://www.supportforums.net/forumdisplay.php?fid=65) +------ Thread: user.js (/showthread.php?tid=8508) |
user.js - FirefoxWiz - 03-21-2006 There are some hidden options for the Tabbed Browsing that will allow you to force links that open new windows to open in the current or a new tab. First, add the following code to your user.js file: Code: // Reveal Preferences... under Linux and Mac OS X), select Advanced and click on Tabbed Browsing. The following options should be visible: Force links that open new windows to open in: the same tab/window as the link a new tab The options should be self-explanatory. In the tip above, you learned how to reveal the Force links that open new windows... option. If you activated this, all windows that a web page wants to open will be diverted to either the current tab/window or a new tab. However, this also applies to small pop-up windows (e.g. a poll results window or the ICQ window in go.icq.com), which really should be opened in a new window. To change this behavior so it doesn't divert new windows that are spawned by JavaScript, add the following code to your user.js file: Code: /* Force New Windows Restrictions Find As You Type has a few hidden preferences that can be changed to better fit your needs. Add the following prefs to your user.js file: Code: // Find As You Type Configuration: Firefox has a few options that allow you to decide what scripts can and can not do with windows. These options are available from Tools > Options > Web Features > Advanced. However, this list of options doesn't cover them all. There are some other useful options which can be applied by adding the following code to your user.js file: Code: // More DOM/JavaScript options If you are using Netscape 6/7 or Mozilla, you can share your bookmarks with Firefox. All bookmarks are stored in a file called bookmarks.html and is stored in the profile folder. For example, if you want to use the bookmarks for Netscape 7 in Firefox, add the following code to your user.js file: Code: // Specify which bookmarks file to separators if you're using Windows, e.g. C:\\Path\\bookmarks.html instead of C:\Path\bookmarks.html. By default, if you enter a search term in the address field and press Enter, a Google "I'm Feeling Lucky" search is performed, and you're taken to the first result of that search directly. If you prefer to see the standard search result list instead, add the following code to your user.js file: Code: // Change to normal Google You can disable the display of bookmark icons and "favicons" by adding the following code to your user.js file: Code: // Disable Bookmark Icons When you click on the Activity Indicator (also known as the "throbber"), you are directed to the Firefox Start Page. This can be changed to any URL by adding the following code to your user.js file: Code: // Click on throbber to go to You probably just find the blinking text annoying. To stop it, add the following code to your user.js file: Code: // Put an end to blinking text! Many sites use frames to display their contents, and sometimes the frames are too small. To force all frames to be resizable, add the following code to your user.js file: Code: // Force frames to be resizable |