Thursday, December 18, 2008

ESPN FBA Player Rater userscript

For Fantasy Basketball lover! A small Greasemonkey script that show more information in ESPN FBA Player Rater page:
  • Positional ranking (PRK)
  • % owned
  • Average draft position (ADP)
Not very useful, but is funny for you to locate the sleepers and dusts. Watch Nene jump from ADP 96 to rank 21, Duhon from ADP 122 to 29 and Millsap from undrafted to 31.
Down to the table, you will feel sorry for the owners of Marion (11.5 to 72), Iverson (11.3 to 85) and Brand (17.2 to 111).
Install and download from http://userscripts.org/scripts/show/38843.  It supports Firefox and Chrome (Chrome users please read this post).

Tuesday, December 16, 2008

Chrome 1.0 (not Chromium) supports Greasemonkey now

ChromonkeyGoogle Chrome 1.0 supports Greasemonkey.  You can use Google Reader Unread Count and Better Mobile Twitter in Chrome now.

To enable Greasemonkey in Chrome, download and install the latest Chrome. Right click your Chrome shortcut, add "--enable-greasemonkey" to the end of the "Target" box (see below).  Finally, you have to put the scripts in the folder "C:\scripts\" and the script files' extension must be ".user.js".

Friday, December 5, 2008

Google Reader has new look



Google Reader has new look.  I like the collapsible section so I can free more space for the feed list.  And I'm please to tell you that my Google Reader Unread Count greasemonkey script still works for new look.  Enjoy it.

Thursday, November 20, 2008

Better Mobile Twitter version 3

Better Mobile TwitterJust finish the version 3 of Better Mobile Twitter greasemonkey script. You can install in http://userscripts.org/scripts/show/35396.

Better Mobile Twitter is to enhance the user experience in Twitter's mobile version, with the following features:
  • Automatically load the next page when scrolling to bottom of the page (similar to Google Reader)
  • Count the characters remaining as you typing
  • Check for new tweets in background
  • Wider input box
  • An on/off button so you can turn off the auto-next-page function to access the links in the bottom of the page
You can see how it works in the video below.

Firefox users can first install the Greasemonkey add-on, install the script from http://userscripts.org/scripts/show/35396, then point your browser to http://m.twitter.com/home.

Chrome users need to download the nightly build of Chromium, put the script in c:\scripts and run Chrome with command-line "chrome.exe --enable-greasemonkey", or create a shortcut for it.

You can take a look on my other greasemonkey scripts in my user page in userscripts.org.

Friday, November 14, 2008

Google Reader Unread Count version 4 supports Chrome

I rewrite the Google Reader Unread Count user script to support Chrome (i.e. Chromium nightly build). And fix the bug that cannot display the '+' sign if any one single feed has more than 1000 unread items.

Get the update from http://userscripts.org/scripts/show/12601.

There is a major difference of Greasemonkey support in Firefox and Chrome. In Firefox, your user script is put in a separated context. That's why you should use unsafeWindow to refer to the webpage's context. In Chrome, otherwise, is put in same context of the webpage. This introduce name conflicts in the script. For example, I added the famous $(id) function in my script which overrides the original $ function in Google Reader and makes it broken. To solve it I put everything in my own namespace to avoid the conflict.

Friday, November 7, 2008

Google Reader Unread Count version 3

Someone reported that my Google Reader Unread Count user script doesn't work since 28-Oct (I'm busy keeping my unread items below 1000 so I didn't notice that it is broken). I made up a version 3 to fix this problem and another bug that didn't count the untagged feeds.

Get the update from http://userscripts.org/scripts/show/12601.

In addition, I include this script to my greasemonkey collections project (ellab-gm) in Google Code. Please check out my other scripts.

Monday, October 13, 2008

Better Mobile Twitter user script

I always keep a tab in Firefox opening Twitter and I prefer the mobile version instead of the standard one for speed and simplicity.

Despite the simplicity, one thing I would like to have is automatically load next page when the mouse scroll to bottom (just like what Google Reader does). As a result I come up with the Better Mobile Twitter user script.

You can install in http://userscripts.org/scripts/show/35396.

Below is showing how it works, or you can watch in high quality.

Saturday, June 14, 2008

Some stats from Firefox 3 Download Day

Download DayDid you pledge in Firefox 3 Download Day 2008? For me, I'm very interest on the world map, where I know how many people pledge to download Firefox 3 on the first day in each country or region. To have a more detail view, I wrote an AppJet webapp to visualize the data.

Here is the URL:

http://ffpledge08.appjet.net/

We can see that besides US, Poland has the second most pledges, followed by Brazil, France and Italy.

If we count the population factor, among the regions which population greater than 1 million, Slovenia has the highest support rate - 0.25% of Slovenian promise to download Firefox 3 in the first day of release. Estonia and Poland are not far behind, has 0.23% and 0.22% respectively.

The data by some means reflecting the Internet penetrating rate in these countries. For example, Bangladesh and Nigeria, which population greater than 100 million, have only 500 and 200 pledges respectively. Most Africa countries fill up the bottoms. Ethiopia is the worst, only 70 out of 77,127,000 people pledged.

Wednesday, January 16, 2008

The best About Us I ever seen

Zavity may not be a success web2.0 startup, but it's About Us is the best I ever seen.

See TechCrunch's article about Zavity.