Posts Tagged ‘Firefox’

  • Speed up Our Firefox Browser

    Date: 2009.04.02 | Category: Software, Web Front-end | Response: 3

    So far as we know, Fire­fox is a power­ful and easy-of-use web bro­wser in the world. Alth­rough Chrome is beco­ming better and better, but without exten­sion fun­ctions, Goo­gle Chrome will always be my second choice to use. Indeed, Chrome is much qui­cker than Fire­fox, while it spends more memory spa­ces for its San­dBox model.

    Recen­tly, I saw an arti­cle talked about how to speed up fire­fox by edi­ting some para­me­ters in about:config. Let’s have a try!

    Reduce the amount of RAM Fire­fox uses for its cache fea­ture

    1. Type “about:config” (no quo­tes) in the adress bar in the bro­wser.
    2. Find “browser.sessionhistory.max_total_viewer”
    3. Set it’s value to “0“;(Zero)

    Inc­rease the Speed at Which Fire­fox loads pages

    1. Type “about:config” into the add­ress bar and hit Enter.
    2. Alter the ent­ries as follows:
    Set “network.http.pipelining” to “true”
    Set “network.http.proxy.pipelining” to “true”
    Set “network.http.pipelining.maxrequests” to some number like 10.

    This means it will make 10 reque­sts at once.

    3. Lastly, right-click anywhere and select New-> Inte­ger. Name it “nglayout.initialpaint.delay” and set its value to “0“;.(Zero)

    This value is the amount of time the bro­wser waits before it acts on info­r­ma­tion it receives. If you’re using a broa­dband con­ne­ction you’ll load pages faster now.
    Optio­na­lly (for even faster web bro­wsing) here are some more options for your about:config (you might have to create some of these ent­ries by Right Click –> New– > Inter­ger or String

    network.dns.disableIPv6: set “false”
    “content.notify.backoffcount”: set “5“; (Five)
    “plugin.expose_full_path”: set “true”.
    “ui.submenuDelay”: set “0; (zero)

    Reduce RAM usage to 10MB when Fire­fox is mini­mi­zed:

    This little hack will drop Firefox’s RAM usage down to 10 Mb when minimized:

    1. Open Fire­fox and go to the Add­ress Bar. Type in about:config and then press Enter.
    2. Right Click in the page and select New -> Boo­lean.
    3. In the box that pops up enter “config.trim_on_minimize”. Press Enter.
    4. Now select True and then press Enter.
    5. Restart Firefox.

    That’s all! After my trying, I think it rea­lly faster a little bit than before. Great!

    The ori­gi­nal link is: http://www.dagorret.net/2009/03/25/a-handful-of-firefox-tweaks-that-will-double-your-browser-speed/

    • Share/Bookmark
  • IE6里准确显示较小高度的DIV

    Date: 2009.03.23 | Category: Web Front-end | Response: 1

    在做网页设计的时候,尤其是给咱们国内做网站,一定要考虑到兼容性的问题。Firefox、Chrome、Safari、IE8这类对于CSS标准支持的比较好的网站,基本上测试一种就差不多行了(一些Javascript除外)。但是对于IE6IE7这两个浏览器,要区别对待。特别是IE6,支持CSS一点都不好,自己说了算,但是在国内却有数量庞大的电脑依然在使用IE6浏览器。我想这与安装了盗版XP并禁用了自动更新功能有关吧。

    转到今天的主要话题。在给一个朋友做网站的时候,发现有个小问题。在我定义的一个div层中,只有一条横线,高度为4px。在IE8、Firefox、Chrome中均显示正确,但是在IE6中却显示出了三条线,而这个div的高度也增加为15px。于是我将高度设成10px,依然不见效,但是设置成30px的时候,高度就增加出来了。这说明这个div盒子里面并不是空的,尽管我在<div></div>中间连一个空格也没有。

    没错,这就是字体虚占位了。IE6默认按照字体大小min-height了一下这个div层,才会出现如此的问题。所以我们将计就计,把字体大小设成0不就好了?再加上一个overflow的hidden,一切就完美了。

    建议定义一个css的class来处理这类的问题,我是这么干的:

    .miniboxhack{font-size:0; overflow:hidden;}

    问题解决了。

    • Share/Bookmark
  • 技巧:在IE, Safari 上使用Foxmarks 书签同步扩展

    Date: 2009.02.06 | Category: Software, Web Front-end | Response: 0

    从网上看到的一篇文章,对我很有用,相信很多人也都需要,转贴来,呵呵。

    源地址:http://www.cnbeta.com/articles/76382.htm

    这下子,我们可以同步IE、Firefox和Safari中的书签了。真正实现了书签“大一统”。不容易啊。

    Foxma­rks 原本是Fire­fox 上的书签同步扩展, 它可以将你的书签以及密码全部同步到服务器上, 就算重装或是换了电脑都不必担心书签遗失和密码忘记的问题.
    来自Life­ha­cker的消息称, Foxma­rks 已经开始支援其他浏览器IE, Safari. 这样就算换了电脑浏览器不是Fire­fox 也一样能同步到熟悉的书签.

    http://i448.photobucket.com/albums/qq206/dingstyle/foxmarks_ie_splash.png
    Foxma­rks 在IE, Safari 的浏览器上提供了和Fire­fox 基本相同的功能, 不过目前还是有一些变化的:
    首先, 没有密码同步功能. 呃, 不过没有关系, 我们可以找Dro­pbox 的密码同步功能来解决这个问题.
    另外, 你也不能同步到自己的服务器上去. 我们知道在Fire­fox 里是可以选择同步到自己搭建的服务器上的, 不过对大多数使用者来说, 这个功能还是很少用到的啦.
    还有, 就是如果要和iPhone 同步书签的话, 必须使用Mac Safari. 不过当初使用Fire­fox 也不能同步啦, 所以这可以算是个新添的吧.
    如果你想用Foxma­rks 对IE, Safari 进行书签同步, 你可以到官网下载Foxma­rks for IE, Safari(猛击这里下崽儿).
    或请直接猛击图标下崽儿:
    Download Foxmarks for Internet Explorer Download Foxmarks for Safari

    • Share/Bookmark
  • batch of wallpapers about Firefox

    Date: 2008.07.23 | Category: Web Front-end | Response: 0

    Share some inte­re­sting and won­der­ful wallpa­pers, and they are all about Fire­fox and Thunderbird.

    Hope you like them!

    And the ori­gi­nal link: http://www.cnbeta.com/articles/60124.htm

    • Share/Bookmark
  • 解决IE6IE7CSS中设置最小高度遇到的问题

    Date: 2008.07.07 | Category: Web Front-end | Response: 0

    在开发一个某公司的网页界面时,遇到了这样的问题:当设置某一个区域的最小高度为某个值的时候,在Firefox、IE6以及IE7中的表现并不一样。如果只是设定了min-height值,那么在IE6中不能识别;但设定了height值,在IE7和Firefox中,位置就会固定了。这是一个很大的问题。那么为了协调各个浏览器和各个版本,我们怎样做才能解决最小高度的问题呢?

    我在网络上寻找了一些相关资料,有一种解决方法比较好:

    .distance {
    height:auto!important;
    height:100px;
    min-height:100px;
    }

    !import(优先)标签在IE6中并不认识,所以在IE6中上述代码会被理解成为:

    height:100px;
    min-height:100px;

    而在IE7中则是:

    height:auto;
    min-height:100px;

    在这里,我们所利用的特性是:

    • IE6不能识别 !impo­r­tant 标签;
    • IE6不能识别 min-height 标签;
    • IE6中的高度(height)标签的最终效果等同于IE7与Firefox浏览器中的最小高度(min-height)标签;

    最终便可以解决上述问题。

    • Share/Bookmark
  • Set Firefox 3 to Launch Gmail for mailto Links

    Date: 2008.06.27 | Category: Web Front-end | Response: 0

    For­ward from web. Just enjoy that!~

    image
    In today’s ear­lier list of five exten­sions you won’t need in Fire­fox 3, we said you won’t need any spe­cial too­lbars, third-party apps, Grea­se­mon­key scri­pts, or exten­sions to get Fire­fox to use weba­pps to open cer­tain types of links. This means that when you click on an email add­ress that uses the stan­dard mailto: email pro­to­col, Fire­fox 3 itself can launch Gmail instead of a desktop app. By default, the Fire­fox RC 1 only comes with Yahoo Mail as a possi­ble mailto: link han­dler, which leaves Gmail users out in the cold—unless you know how to set it up by hand. Here’s how to con­fi­gure Fire­fox 3 to use Gmail as your default mailto: appli­ca­tion handler.

    Ready to set up Gmail? Roll up those sleeves.

    1. Open Gmail in Firefox.
    2. In the tab where Gmail is loa­ded, copy and paste the follo­wing sni­ppet of Java­Sc­ript into your add­ress bar:

      javascript:window.navigator.registerProtocolHandler(“mailto”,“https://mail.google.com/mail/?extsrc=mailto&url=%s”,“GMail”)

      If you are a Goo­gle Apps user, use this code instead, but replace example.com with your domain name:

      javascript:window.navigator.registerProtocolHandler(“mailto”,“https://mail.google.com/a/example.com/mail/?extsrc=mailto&url=%s”,“GMail”)

    3. Fire­fox 3 will ask per­mi­ssion to add Gmail as default mai­lto han­dler. Click the Add Appli­ca­tion button, as shown.
      image

    Update, 6÷18÷08: Thanks to a great tip from a rea­der And­rew, the inst­ru­ctions above have been sho­r­te­ned con­si­de­ra­bly. Thanks, And­rew!

    Now, if you click a mailto: link—try the tips link on Lifehacker’s sidebar—Firefox 3 will ask which appli­ca­tion you want to use. Choose Gmail, and select “Reme­mber my choice for mai­lto links” to set the pre­fe­rence permanently.

    image

    **Upda­ted 5/21** If this trick doesn’t work for you, go into about:config and make sure that network.protocol-handler.external.mailto is set to its default value true.

    ***Upda­ted 5/21*** To remove the Gmail han­dler, in Firefox’s Tools menu, choose Options. (Mac users, go to the Pre­fe­ren­ces dia­log.) In the Appli­ca­tions tab, sea­rch for mai­lto. From the drop-down of mai­lto han­dlers, choose Appli­ca­tions Details, as shown. Here you can select a webapp han­dler and Remove it using the button.

    image

    Fire­fox 3’s new abi­lity to regi­ster weba­pps as link han­dlers has lots of poten­tial usage, for ever­ything from fax and tele­phone numbers to IM buddy name links. Setting up your mai­lto han­dler is just the begin­ning. Read more about Fire­fox 3 web pro­to­col han­dler possi­bi­li­ties. Thanks, rea­dme!

    Fire­fox 3 Gmail web mail han­dler bug fixed [Digi­tal Wanderer]

    • Share/Bookmark

Paul’s Online Services

Dynamic Tag Cloud

Recent Posts

Recent Comments

Tags

2008.11.Trip-of-GuangXi ASP.net C++ China Chrome css dotNet FCGuoAn Firefox Football gmail IBM IE IIS IT Association Joke Microsoft music mysql NLP Nokia ntfs NumPy OpenSolaris open source Open Team php pidgin PKUSS Python Python Challenge qq Samba SciPy Learning shell solaris SQL SUN Thunderbird Travel web host Win 7 WordPress X11 zfs