Archive for the 'firefox' Category

在windows下装mac的firefox3主题

June 21st, 2008

来自:http://playpcesor.blogspot.com/2008/06/firefox-3-macxpvista.html其实就是firefox 3 mac主题的独立安装插件,在这里安装:https://addons.mozilla.org/en-US/firefox/addon/7172,由于是在测试中,所以需要登录后才能安装,帐号 firefox@cybernetnews.com ,密码 cybernetnews 。另外还有vista和xp主题的独立安装版:在xp上装vista版的ff:https://addons.mozilla.org/en-US/firefox/addon/6839在vista上装xp版的ff:https://addons.mozilla.org/en-US/firefox/addon/7119


其实完全没必要装Stylish

April 18th, 2008

Stylish是Firefox下自定义网页界面的一个插件,相当不错,不过如果已经装了Greasemonkey,就完全没必要装Stylish了。userstyles.org有相当一部分Style能直接在Greasemonkey里加载使用:如果只能在Stylish里使用的话,只需要把它的css复制进一个字符串(记得删除换行和替换双引号为\"),然后新建一个作用于相应网站的脚本即可:var css = "这里是css";if (typeof GM_addStyle != "undefined") { GM_addStyle(css);} else if (typeof addStyle != "undefined") { addStyle(css);} else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); }}用这种方法成功的用Greasemonkey实现了Gmail Redesigned:


Change firebug’s default font

February 18th, 2008

Firebug的默认字体是Monaco,mac下相当好看: xp下面却显的大了点: 还是换成可爱的Consolas吧,方法如下:在"C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\"文件夹里,用Ctrl+F找到firebug.jar这个文件,用winRAR(7-zip也可以)打开,定位到skin\classic,按类型排序,然后把所有css文件拖出来(实际上只需要修改8个): 把这些css文件再拖进EditPlus(或者其他编辑器),用Ctrl+H把"font-family: Monaco"替换成"font-family: Consolas"(或者其他字体),记得勾上"All open files": 共有19处会被替换,然后save all; 把修改后的css文件用winRAR重新打包进去就行了,这时要关了firefox,否则会提示文件正在使用。启动firefox,搞定~ 另外,firebug的1.1 beta能够安装在firefox 3 beta 3上了,但在Mozilla上还是1.05,可以在这里下载。


美化firefox查看源代码页面

February 14th, 2008

firefox默认的查看源代码页面真是丑的要死,虽然不经常用,但的确是太丑了:可以通过在"工具"-"选项"-"内容"-"字体&颜色"-"高级"里对等宽字体的设置来解决:我修改成了: 这样就好看多了:  其实在firefox安装目录\res文件夹里面有个viewsource.css是专门控制源代码页面的样式的,除了上面的在选项里设置外,还可以直接修改viewsource.css: #viewsource { font-family: consolas; font-weight: normal; font-size:12px; color: black; white-space: pre;}这样也可以达到同样的效果,推荐这一种方法啦,css是强大的: