fix font issue in Echofon for Vimperator
上次介绍 Vimprerator 时有位莫多泡泡朋友留言曾谈到这个问题—— Echofon(原twitterfox)在装有 Vimperator 的 Firefox 中 tweets 字体全部会变粗。当时也没上心,反正正常功能一点不影响,就凑合用吧。昨天看到一叫果果的朋友制作的修改版 Echofon 增加了很多功能,还可以解析 bit.ly 短地址,试用了一下,感觉很不错。
随手把 addon 里面的 chrome 目录下的 Echofon.jar 解开看了一下,在 content 目录有好多 css 文件,一下就想到了上面的这个问题,稍微看了一下,尝试修改之。果然很快,字体问题得到了解决。贴图是我修改后的效果图。
下面我贴上具体的修改方法,有需要的朋友自己动动手,这样一旦 Echofon 有升级就也可以照猫画虎。
- 推荐下载果果修改版
- firefox 安装之
- 进入 echofon 的安装目录,比如说我的是:~/.mozilla/firefox/mm0netwg.default/extensions/twitternotifier@naan.net/chrome
- 将 Echofon.jar 文件移出来准备修改
- 可以将 jar 后缀改为 zip,然后就可以使用 unzip 解压之
- 进入解压后的 content 目录,打开 default.css(如果你使用的是 default theme),找到下面这段并修改为:
[code lang=”css”].twitternotifier-status {
font-weight:normal;
font-family:Arial;
background: #fff;
color: #000;
border-color: #fff;
}.twitternotifier-status[unread=”true”]
{
font-weight:bold;
background: #e0f1fd;
background: #e1f1fd;
}.twitternotifier-status[highlighted=”true”] {
font-weight:bold;
background: #E0FDDD;
background: #E3ffdd;
}[/code] - 然后重新把解压的目录打成 jar 压缩包,你需要安装 jdk 才行。jar 命令:
[code lang=”java”]jar cvf Echofon.jar content locale[/code] - 把 Echofon.jar 挪回它应在的地方
[…] 雨吁 » Firefox·专题 » fix font issue in Echofon for Vimperator yx.takeback.net/204/echofon-font-issue.html – view page – cached SubmitThis box will be fixed on your screen using Firefox, Opera9 or IE7. — From the page […]
原本啥样?什么原因导致的呢?
不装vimperator的话是正常的,就和贴图一样,装了Vimperator的话就echofon的tweets的全部字体会变粗体,可能是vimperator的状态栏是粗体的原因吧,成为父元素然后继承给了echofon,而echofon中并未特别强调字体粗细。
好多feed没读了。今天才看到。看来我又可以试试 vimperator了。感谢分享。
ps 第5步可以改成 jar xvf Echofon.jar 就可以解压了。
I wish to show thanks to the writer just for bailing me out of this type of predicament. As a result of researching through the search engines and getting views which are not beneficial, I believed my life was well over. Living without the strategies to the issues you’ve fixed by means of your entire article content is a critical case, and ones that might have in a wrong way affected my entire career if I hadn’t come across your web blog. That skills and kindness in taking care of everything was excellent. I don’t know what I would have done if I had not discovered such a point like this. I am able to at this point look ahead to my future. Thanks a lot so much for this impressive and effective guide. I won’t think twice to propose your blog post to any person who should have guidance on this subject matter.