HowTos: 在Debian 5 (Lenny) 上编译firefox

Monday, February 22nd, 2010

刚安装了Debian 5,试一下编译Firefox. 有如下要点:(注意命令在root下执行). 基本上参看官方指南, https://developer.mozilla.org/en/Linux_Build_Prerequisites, 但也有些不同.
1. 安装编译工具

How to draw web contents into a canvas

Saturday, June 28th, 2008

Canvas element is introduced into firefox 1.5.
Rendering Web Content Into A Canvas
This feature is only available for code running with Chrome privileges. It is not allowed in normal HTML pages.
Mozilla’s canvas is extended with the drawWindow method. This method draws a snapshot of the contents of a DOM window into the canvas. For [...]

Firefox Build on x64 linux and windows

Monday, May 19th, 2008

Firefox好像到目前为止还没有官方的Windows 64bit build。Linux下的64位Build完全没有问题。
还好这里有非官方的64bit Windows Build,不过可惜的是他的改动并没有Check in

设置firefox

Monday, April 28th, 2008

firefox有自己的设置管理系统, (Profile),通常对每一个用户会有一个配置脚本。脚本里可以配置如下的参数, 这些参数会影响浏览器的行为。
//
// user.js: Personal prefs which mozilla shouldn’t overwrite.
//

小技巧:设置firefox

Sunday, April 6th, 2008

firefox有上百个设置选项,高级用户可以通过如下方式查看和修改当前设置:

Firefox 3.0 Beta 5 打开Google Reader的问题

Saturday, April 5th, 2008

最近用自己编译的Firefox 3.0 Beta 5打开我的Google Reader, 发现Google Reader的内容完全显示不出来,只有顶上的导航条显示。如果打开iGoogle呢,Google Reader的订阅是可以显示在iGoogle里面的。
经过一番搜索,关键字是“firefox 3 beta google reader”,我在这篇Post里面找到了解决方案:

Firefox在Linux下的中文字体显示问题

Thursday, February 21st, 2008

偶在Ubuntu下用Firefox的时候发现它的一个Bug。中文字体显示的有大有小,如下图所示:

XULRunner的编译

Saturday, February 9th, 2008

这两天我在试图用VS2005编译XULRunner,  经过数十个小时的尝试,终于功夫不负有心人,成功!
简要步骤如下: