阅读:3599回复:10
怎么设置才能让FF在下载附件时不要打开一个无标题页面啊?
遇上几十个附件的页面下载后关闭标签页都快麻烦死了。。。能不能像IE一样只跳出下载询问窗口不打开一个网页?还有附件一般地址都是连着的,但是用迅雷批量下不下来,只能得到一堆PHP。。。
|
|
1楼#
发布于:2007-01-25 14:12
同问~
|
|
2楼#
发布于:2007-01-25 14:12
使用TMP标签扩展自带一些过滤下载弹出窗口的规则
下载是php文件的问题是因为垃圾的迅雷自带扩展,不要让迅雷关联Firefox,使用Flashgot扩展配合迅雷使用就不会这样了。具体请搜索一下论坛 |
|
3楼#
发布于:2007-01-25 14:12
也可以使用greasemonkey加载这个脚本:
// ==UserScript== // @name Disable Targets For Downloads // @namespace http://www.rhyley.org/ // @description Disable target/onclick for any link to a binary file. // @include http://* // ==/UserScript== /** licenced under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 ** http://creativecommons.org/licenses/by-nc-sa/2.0/ ** ** Code by: ** Jason Rhyley - jason AT rhyley DOT org - www.rhyley.org ** ** This is a greasemonkey script, intended for use with the Firefox extension Greasemonkey. ** More info: http://greasemonkey.mozdev.org/ **/ (function () { // Add new file extensions to this regex to disable targets for them var exp = new RegExp("(\.zip|\.rar|\.exe|\.tar|\.jar|\.xpi|\.gzip|\.gz|\.ace|\.bin|\.ico|\.jpg|\.gif|\.pdf|\.doc|\.7z)", "i"); linksToFix = document.evaluate("//a[@onclick] | //a[@target]",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null); for (var i = 0; i < linksToFix.snapshotLength; i++) { a = linksToFix.snapshotItem(i); if (exp.exec(a.href)) { a.setAttribute("target", ""); a.setAttribute("onclick", ""); } } })(); 后缀名在代码里面修改和添加,保存代码为*.user.js添加到greasemonkey中安装 |
|
|
4楼#
发布于:2007-01-25 14:12
见鬼了,连斑竹那个都没用。。。装完下了个RAR附件还是有无标题页面打开????
|
|
5楼#
发布于:2007-01-25 14:12
好像自从我用2.0以后,这个问题就不存在了。
|
|
6楼#
发布于:2007-01-25 14:12
不要因为他有五颗星就当他是斑竹.....
|
|
|
7楼#
发布于:2007-01-25 14:12
|
|
8楼#
发布于:2007-01-25 14:12
那个脚本大多数情况下都有效的...........
|
|
|
9楼#
发布于:2007-01-25 14:12
disable targets for downloads
安装这个扩展 |
|
|
10楼#
发布于:2007-01-25 14:12
|
|