If you wish to contribute to the costs of hosting and development, please consider donating.
Disable Targets For Downloads 1.0
Release date: 2005-06-29
Warning: this extension is obsolete
This extension was created in order to block new tabs and windows from being created when certain links were clicked on. The error is actually caused by webmasters, but was not detected and corrected by Firefox. As of Firefox 2.0, these extra tabs and windows are closed once the download begins.
The solution in Firefox 2.0 is a much better all-round fix than this extension ever was, so my advice would be to upgrade to Firefox 2.0 as soon as possible.
What it does
Disable Targets For Downloads eliminates a common error incurred by many webmasters, which ultimately causes blank windows to be opened when you try to download a binary file.
When you click a link, it's target attribute is removed for these specific file extensions:
.zip .rar .exe .tar .jar .xpi .gzip .gz .ace .bin .doc .xls .mdb .ppt .iso .7z .cab .arj .lzh .uue
Gmail and vBulletin attachments are also handled by default.
You can also customise this extension to add or remove extensions by using the provided extension settings dialog. If you prefer, you can also access these settings by typing about:config into the address bar, finding the "disabletarget.extensions" preference, and changing the value. There must be a space between each extension that you add, but the extensions can be any length needed. Note: dont insert the dot ( . ) before any additions.
This extension allows you to use regular expressions to match extensions and URLs/URIs in hyperlinks. This is useful for websites or forums that use non-standard download links, such as php redirects.
For example, the following strings are included by default for matching forum attachment links:
In addition, you can now match any part of an entire URL or URI by including your regexp between forward slashes ("/"). This means that you
can now use this extension to prevent Gmail attachments and suchlike from spawning a blank window. Example:
This extension is compatible with...
|Firefox||0.8 - 1.5.0.*||Install (11 KB)|
If you are using an old version of Firefox, the latest version of this extension may not be compatible.
Previous versions are listed below for your convenience, along with the change history and compatibility details.
1.0 - 2005-06-29 [ Firefox 0.8 - 1.5.0.* ]
- New defaults (including Gmail attachments)
- Prevents some more false positives
0.9 - 2004-12-16 [ Firefox 0.8 - 1.0+ ]
- Now overrides <base> targets.
- Support regexp for URLs/URIs.
0.8 - 2004-11-06 [ Firefox 0.8 - 1.0 ]
- Stopped dot in the file extension being parsed as a regexp wildcard
0.7 - 2004-10-07 [ Firefox 0.8 - 1.0 ]
- Fixed another bug with regexp matching
- Now handles image links (and more)
0.6 - 2004-09-06 [ Firefox 0.8 - 0.10 ]
- Fixed bug with regexp matching
0.5 - 2004-08-31 [ Firefox 0.8 - 0.10 ]
- Modify button now works in Settings UI
- Firefox 1.0PR Compatibility
0.4.1 - 2004-07-16 [ Firefox 0.8 - 0.9 ]
- Settings UI (thanks to TheOneKEA)
0.3 - 2004-05-04 [ Firefox 0.8 - 0.9 ]
- Support for Regular Expressions (thanks to MonkeeSage)
Contributors to the development of this extension:
- TheOneKEA (email@example.com)