Friendfeed 'Realtime'

By mistapostle Last update Sep 16, 2009 — Installed 1,738 times.


Script Summary: FriendFeed's clock is stopped,it always told your this entry is posted 'x seconds(minutes,houres) ago' but never update it unless you refresh the page.This script make the clock run again

Version: 0.6

Copyright: 2009,Mistapostle (http://mistapostle.appspot.com/)

License: (CC) Attribution Non-Commercial Share Alike;

Script homepage

What it did?

Automatic updating post update time without refreshing page.

It don't Work?

If your browser's first accept-language is not 'en', it really don't work. You need to edit the variable 'localWords'.See the example for 'zh-CN':

var localWords = { seconds:'秒钟', second:'秒钟', minutes:'分钟', minute:'分钟', hours:'小时', hour:'小时', ago:'前' }

Note that: even a diffrent of a space or character will make this script die, be careful :)
If you make it work for some other lanuague, please share it in the discussion area. Thanks!

Versions

  • 0.6 Handle pages that update very fast e.g. search page in realtime mode
  • 0.5 Fix realtime problem, and use less CPU too
  • 0.4 Bug Fix for Verion 0.3. I'm so sorry...
  • 0.3 Bug Fix; Important!
  • 0.2 Less CPU
  • 0.1 init