Tags:
Flickr Hacks
, GMiF
, Greasemonkey
Flickr just changed some internal object and function names of Javascript, such as, 'photo_hash' becomes 'global_photos', and 'getCookie()' becomes '_get_cookie()'.
Two updated scripts:
GMiF: flickr.gmap.user.js
Toggle Comments: flickr.comments.toggle.user.js
Tags:
Ajax
, Greasemonkey
, Rojo

Rojo is lacking of some designs of user friendly. Why am I saying that? Sometimes we need to make an unnecessary click to get some basic but useful information of a feed. While reading stories of a feed, we probably want to take a look at the profile of it, or we also need to link to its original site. Furthermore, we would like to know the number of subscribers, unsubscribe, or rename the feed. All the stuff is in the profile of the feed, and need a click to get it.
The worse is still the slow response of Rojo. Loading a new page requires not only to fetch from server, but also needs extra time for browsers to render it. Now the script rojo.ajax.user.js v1.3 adds some bits to it. It fetches the profile of the feed in background, then displays a toggle below the title of feed. Click the toggle will show the information on the feed in Ajax way.
Download: AJAX Wrapper for Rojo v1.3 rojo.ajax.user.js
Technically, this is not an Ajax. I didn't fetch XML data from Rojo server. The data structure I can exploit in the HTML pages of Rojo is not much. Rojo didn't release API like Flickr or Google Maps, the only way to hack Rojo is to dive into its scripts. But this time I use an ugly way to reach my goal. I actually don't need XML, so I get the HTML page by calling XMLHttpRequest instead of XML data. I only need to parse the HTML text to get the piece of code about the profile and insert into current DOM tree.
Previous articles:
[Ajax] Hacking Rojo - Ajaxize more of 'Mark as Read'
[Ajax] Hacking Rojo - Ajaxize 'Mark as Read' function
[Ajax] Hacking Rojo - Slow Response of Rojo
[Ajax] Hacking Rojo - an Ajax Wrapper for Rojo
[Ajax] Hacking Rojo - Rojo is not Ajax?
Tags:
Ajax
, Greasemonkey
, Rojo

Last time I have Ajaxized a 'Mark as Read' on a single feed to move the HTTP request to background by calling XMLHttpRequest instead of bringing to a new page. The counters of unread entries are reset on LHS menu. This time I extend the work to each single story and the feed below the story entry. That means you can now mark a story read as well as the feed of a story. See the screenshot above.
For each story, you can now do expand/collapse, mark as read, or both on it. For the feed of a story, you can also mark it read. This makes you much easier to mark a feed read without going to the page of that feed.
Download: AJAX Wrapper for Rojo v1.2 rojo.ajax.user.js
Previous articles:
[Ajax] Hacking Rojo - Ajaxize 'Mark as Read' function
[Ajax] Hacking Rojo - Slow Response of Rojo
[Ajax] Hacking Rojo - an Ajax Wrapper for Rojo
[Ajax] Hacking Rojo - Rojo is not Ajax?
Blogs talking about this:
Someone Hacked Rojo Using Greasemonkey!
Speed up Rojo using GreaseMonkey- Firefox Users only
Related Articles:
The Blog Herald - Rojo reviewed