firefox 配置技巧(转-英文)

Mozilla Firefox 1.0 is due out soon, and by then I'll have a whole bunch of pref settings that I use, and extensions, and probably various other tips. But for now, just a few links and extensions.

Stuff from my user.js file (note: some things may no longer apply, due to changes in nightly builds):

// Stop annoying crap
user_pref("browser.blink_allowed", false);
user_pref("browser.block.target_new_window", true);
user_pref("dom.disable_window_flip", true);
user_pref("dom.disable_window_move_resize", true);
user_pref("dom.disable_window_open_feature.status", true);
user_pref("dom.event.contextmenu.enabled", false);
user_pref("dom.disable_window_open_feature.resizable", true);
user_pref("dom.disable_window_open_feature.scrollbars", true);

// Change some URLs
//user_pref("browser.throbber.url", "http://texturizer.net/firefox/");
user_pref("browser.throbber.url", "about:");
user_pref("browser.search.defaulturl", "http://google.ca/search?lr=&sourceid=mozilla-search&q=");
//user_pref("keyword.URL", "http://google.ca/search?btnG=Google+Search&sourceid=mozilla-search&q=");
user_pref("keyword.URL", "http://google.ca/search?ie=UTF-8&sourceid=navclient&gfns=1&q=");


// Stop reusing active windows:
user_pref("advanced.system.supportDDEExec", false);

// TypeAhead Find Configuration:
user_pref("accessibility.typeaheadfind.linksonly", false);

// Download Manager
user_pref("browser.download.manager.closeWhenDone", false);
user_pref("browser.download.manager.retention", 1);
user_pref("browser.download.useDownloadDir", false);

// Tabs and images
user_pref("browser.enable_automatic_image_resizing", false);
user_pref("browser.tabs.autoHide", false);
user_pref("browser.tabs.loadInBackground", false);

// Turn off warnings
user_pref("security.enable_java", false);
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_entering_weak", false);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false);

// Just list addresses you've typed in the address bar autocomplete
user_pref("browser.urlbar.matchOnlyTyped", true);

// This one makes a huge difference. Last value in milliseconds (default is 250)
user_pref("nglayout.initialpaint.delay", 0);

// Enable Improve pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true); //Default is false
user_pref("network.http.pipelining.maxrequests", 100); //Default is 4 我在前面介绍了是设为30

// Increase Multi-Threaded Downloading performance
user_pref("network.http.max-connections", 60); //Default is 24 <-- Use this for modems
user_pref("network.http.max-connections-per-server", 32); //Default is 8 <-- Use this for modems
user_pref("network.http.max-persistent-connections-per-proxy", 16); //Default is 4 <-- Use this for modems
user_pref("network.http.max-persistent-connections-per-server", 8); //Default is 2 <-- Use this for modems

// This will allow Firefox to maintain it GUI memory so that the browser window
// will snap right back after being minimized. This is fairly new and will be available
// in the very near future, might be in the 0.9.x builds, but it works in current Trunk/Branch builds
user_pref("config.trim_on_minimize", false);

// If you have the memory to spare, enabling this will run things a little smoother
user_pref("browser.cache.memory.capacity", 65536);  //<-- thus equal about 64 megs, drop down to less if you can't spare the RAM

//  Just to make sure, disable windows shell: protocol
user_pref("network.protocol-handler.external.shell", false);



原文点击 这里
笔者的 adBlock list


丫头语:作者这里提到的user.js,是Mozilla Firefox的一个主要配置文件,用来改变各种选项.位于您配置文件夹
    里. 默认的情况这个文件并不存在,您必需在您加入您的配置之前创建它.创建路径一般情况下可能是:
      C:/Documents and Settings/[User Name]/Application Data.
    例如我用的(这是2003的操作系统)
              C:/Documents and Settings/Administrator.[我计算机的名称]/Application  Data/Mozilla/Firefox/Profiles/trdxhx5g.default/
    
    您可以通过在地址栏中输入about:config Enter来进入编辑保存在user.js中的参数选项.您会在Mozilla
    Firefox中看到一个所有的可用参数选项的列表(大部分是从Mozilla那里引入,其中有一些并没有使用也  
    没有被移除) .双击一个参数选项来改变它的值.您做的改变会立即保存在由Mozilla Firefox自动创建的 
    文件prefs.js中.
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值