Firefox 是文个好用,强大的浏览器。
在浏览器的地址栏中输入 about: 开关的地址时,会显示相应的信息。
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 下载图片,想禁止加载 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,以便于人的阅读;设置为2,便于内容抽取。
其他有用的配置
Firefox允许用户定义多个不后的配置文件(Profile),每个配置可以有不同的插件、书签、设置等。
启动Firefox时,可以通过使用-ProfileManager
选项打开配置文件管理器。
如果没有看到配置文件管理器,则可能是因为有开着的Firefox进程。这种情况下可以使用-no-remote
选项。
在 Mac OS 中的方法是
/Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager
在about:config中修改下列配置值:
browser.showQuitWarning
=truebrowser.warnOnQuit
=truebrowser.warnOnRestart
=true