Firefox Browser 火狐浏览器

@ 2009-10-16 19:53:57
标签:

    Firefox 是文个好用,强大的浏览器。

    Firefox 的 about 协议

    在浏览器的地址栏中输入 about: 开关的地址时,会显示相应的信息。

    • about: 版本信息
    • about:blank 空白页面
    • about:config 配置信息
    • about:plugins 安装的插件信息
    • about:credits 参与贡献者名单
    • about:mozilla 显示 Book of Mozilla (Mozilla 之书) 中的一段文字。3.5版本中的文字 重生...狐之智慧...

    Mammon slept. And the beast reborn spread over the earth and its numbers grew legion. And they proclaimed the times and sacrificed crops unto the fire, with the cunning of foxes. And they built a new world in their own image as promised by the sacred words, and spoke of the beast with their children. Mammon awoke, and lo! it was naught but a follower.

    from 《The Book of Mozilla》, 11:9


    玛门沉睡了。野兽重生遍布地面,而且无所不在。它们称颂时代并献出庄物直至灵巧的狐狸带来火焰。它们并依照自己的形象创造新天地,正如神圣之言所应许,尚有野兽以及孩子的话语所预言的,玛门苏醒,看!他只是个无价值的追随者。

    来自 《Mozilla 之书》, 11:9

    让 Firefox 只下载当前页面的文本内容

    不想让Firefox 下载图片,想禁止加载 stylesheet,想禁止执行 JavaScript 脚本。这些都可以通过下面的方式实现。

    编辑 about:config , 添加以下配置。

    permissions.default.image 2                  # 图片
    permissions.default.object  2                # flash等
    permissions.default.script 2                 # 脚本
    permissions.default.stylesheet 2 
    permissions.default.subdocument 2
    permissions.default.objectsubrequest 2
    permissions.default.other 2
    
    # permissions.default.document
    # permissions.default.ping
    # permissions.default.refresh
    # permissions.default.xbl
    # permissions.default.xmlhttprequest 
    

    关于设置的值:

    • 1: Allow all images to load, regardless of origin. (Default) 允许所有图片。
    • 2: Block all images from loading. 禁止所有图片。
    • 3: Prevent third-party images from loading. 禁止来自于第三方网站的图片。

    参考 Permissions.default.image

    设置为1,以便于人的阅读;设置为2,便于内容抽取。

    其他有用的配置

    • network.prefetch-next = false 禁止预先读取页面
    • network.http.pipelining = true

    Multiple Profile 多个配置文件

    Firefox允许用户定义多个不后的配置文件(Profile),每个配置可以有不同的插件、书签、设置等。

    启动Firefox时,可以通过使用-ProfileManager选项打开配置文件管理器。

    如果没有看到配置文件管理器,则可能是因为有开着的Firefox进程。这种情况下可以使用-no-remote选项。

    在 Mac OS 中的方法是

    /Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager
    

    保存tab groups以在下次恢复使用

    在about:config中修改下列配置值:

    • browser.showQuitWarning=true
    • browser.warnOnQuit=true
    • browser.warnOnRestart=true
    标签:

      分享到:
      comments powered by Disqus

      20/22ms