This box will be fixed on your screen using Firefox, Opera9 or IE7.

fix font issue in Echofon for Vimperator

上次介绍 Vimprerator 时有位莫多泡泡朋友留言曾谈到这个问题—— Echofon(原twitterfox)在装有 Vimperator 的 Firefox 中 tweets 字体全部会变粗。当时也没上心,反正正常功能一点不影响,就凑合用吧。昨天看到一叫果果的朋友制作的修改版 Echofon 增加了很多功能,还可以解析 bit.ly 短地址,试用了一下,感觉很不错。

随手把 addon 里面的 chrome 目录下的 Echofon.jar 解开看了一下,在 content 目录有好多 css 文件,一下就想到了上面的这个问题,稍微看了一下,尝试修改之。果然很快,字体问题得到了解决。贴图是我修改后的效果图。

PiC下面我贴上具体的修改方法,有需要的朋友自己动动手,这样一旦 Echofon 有升级就也可以照猫画虎。

  1. 推荐下载果果修改版
  2. firefox 安装之
  3. 进入 echofon 的安装目录,比如说我的是:~/.mozilla/firefox/mm0netwg.default/extensions/twitternotifier@naan.net/chrome
  4. Echofon.jar 文件移出来准备修改
  5. 可以将 jar 后缀改为 zip,然后就可以使用 unzip 解压之
  6. 进入解压后的 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]

  7. 然后重新把解压的目录打成 jar 压缩包,你需要安装 jdk 才行。jar 命令:
    [code lang=”java”]jar cvf Echofon.jar content locale[/code]
  8. Echofon.jar 挪回它应在的地方

6 Comments

  1. Twitter Trackbacks for 雨吁 » Firefox·专题 » fix font issue in Echofon for Vimperator [takeback.net] on Topsy.com Pingbacks @ 21:52:46 on 2009-10-27

    […] 雨吁 » 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 […]

  2. yegle Comments @ 21:44:25 on 2009-11-01

    原本啥样?什么原因导致的呢?

  3. dark Trackbacks @ 22:40:02 on 2009-11-01

    不装vimperator的话是正常的,就和贴图一样,装了Vimperator的话就echofon的tweets的全部字体会变粗体,可能是vimperator的状态栏是粗体的原因吧,成为父元素然后继承给了echofon,而echofon中并未特别强调字体粗细。

  4. rory(莫多泡泡) Comments @ 13:05:53 on 2009-11-12

    好多feed没读了。今天才看到。看来我又可以试试 vimperator了。感谢分享。

  5. rory(莫多泡泡) Comments @ 13:06:50 on 2009-11-12

    ps 第5步可以改成 jar xvf Echofon.jar 就可以解压了。

  6. nike lebron 15 Comments @ 16:09:40 on 2019-01-08

    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.