Greasemonkey was initially only a Firefox extention but due to its popularity it’s quickly adopted by major browsers. Since Opera takes a very small market share, here on the topic of cross browser user scripts, I’m only going to talk about Chrome and Firefox. As for Internet Explorer, I just don’t like it. Now Chrome… Continue reading Writing Greasemonkey User Scripts for Firefox and Chrome
Category: JavaScript
Updated “Google Reader Unread Count in Gmail” Script
Nearly 3 years ago I wrote a Greasemonkey script to show Google Reader’s unread count in Gmail’s top navigation bar. I was quite satisfied at first and shared it on userscripts.org, but later I found that it was too time-consuming for me since I always wanted to monitor the number and click through when it… Continue reading Updated “Google Reader Unread Count in Gmail” Script
Google Reader API changed a little
Recently I noticed that one of my Greasemonkey script called “Google Reader Unread Count in Gmail” was displaying the wrong count. I was too busy but at least two users urged me to solve the problem so I took a look into the issue, which turned out to be very simple and easy to fix.… Continue reading Google Reader API changed a little
DOMContentLoaded and Greasemonkey
A very common purpose of Greasemonkey scripts is modifying the DOM structure of the document, mostly adding something new. I’ve written several scripts before and have been doing such modifications in the “load” event handler, as in this script. The problem is that “load” event is fired after all images on the page have been… Continue reading DOMContentLoaded and Greasemonkey
Toggling the Google Reader Shared Items Panel
I’m a fan of Google Reader. Although FeedDemon went free recently and it offers synchronization with NewsGator which is great attraction for many people, I still couldn’t drop Google Reader. However the panel above the subscription list takes up too much space for my humble screen resolution of 1024×768. As Google rolled out the much… Continue reading Toggling the Google Reader Shared Items Panel
Starbox With Prototip
Today I did some modifications to Starbox to let it utilize the power of Prototip. They are both cool JavaScript libraries written by Nick Stakenburg. How does it work? When you hover your mouse on a star, a tip shows you a brief word like “lame” or “great” which helps you with your choice. If… Continue reading Starbox With Prototip