Electric Development Blog

Monday, July 25, 2005

User script: CibLines

Another day, another script.

My first two user scripts/greasemonkey scripts I made were named AutoTOC and Bloglines HAI. So this time I thought I should be doing something that started with a C. So. My third script (and probably the third best one so far...):

CibLines ... aka Comments in Bloglines.



The usual picture (1000 words).

(Not very cleverly named, this one - either.) Anyway - CiBLines is a simple script that works like this: When you click the Comments link, it creates a small window (iframe) just below the "Comments" link in Bloglines, containing all comments to a post.

The script only applies to blogs where the RSS contains a comment link. Unlike my own Blogger blog. Shame on it.

The usual disclaimers apply (it may not work at all, it may not work as you wish...).
Please send me comments, suggestions etc. below - in the comments field.

Download here: http://runeskaug.com/greasemonkey/ciblines.user.js

Tags: , , .

Sunday, July 24, 2005

AutoTOC Bookmarklet

Thanks to an anonymous commenter, I decided to create a bookmarklet version of the AutoTOC script. Drag the following link to your linkbar, and press it when you want your TOC: TOC it!

(sorry, I only tested it for Firefox)

Tags: , .

Wednesday, July 13, 2005

AutoTOC 1.4

I just uploaded an updated version of the AutoTOC user script to my server (version 1.3). I have added a per-site, per-session cookie for the Hide behaviour, which means you don't have to hide the toc-bar more than once per site. This behaviour can easily be turned off by setting useCookie to false.

The updated version can be downloaded or installed directly from here: AutoTOC

Tags: , , .

Update 2005-07-20: Version 1.4. Disabled adding of menu item due to security restrictions in Greasemonkey. It is very important that you all upgrade to the latest version of Greasemonkey. (read more @ Greaseblog).

Tuesday, July 12, 2005

User script: AutoTOC

Update 2005-12-01: Version 1.6 has been released, which fixes a few bugs, adds FF1.5 compatibility etc. See separate post here.

This user script (a.k.a. Greasemonkey script) creates a select box in the lower right corner of your screen (sort of a Start menu for your web page), containing quick-links to all headers (H1,H2,H3,H4) - an automagically created table of contents. It really helps navigating through long documents (with a certain amount of standard HTML tags), no matter how hard it used to be. Here, another 1000 words on the subject:



(hey - why didn't I think of that last year when I handed in those 3000-word essays ??)

The script should be working nicely in Firefox (with Greasemonkey installed) and Opera 8. For Firefox installation instructions, see previous post (except the part where you log into bloglines (c: ), for Opera installation instructions, see the official Opera User Script tutorial.

The script can be downloaded from here:
http://www.runeskaug.com/greasemonkey/autotoc.user.js

Update 2005-07-06: Made the script even more standards-friendly, thanks to the strict userjs.org moderators ;)

Update 2005-07-11: Version 1.1. Improved the tag scanning algorithm, and added a "Hide TOC" button (thanks to Julien for the suggestion) - which can be turned off by using setting in the script.

Tags: , ,

.

Monday, July 04, 2005

User script: Bloglines HAI (Hide Archived Items)

Oy! I'm back with an updated version of the Bloglines HAI Greasemonkey script (a.k.a. user script). The script modifies your Bloglines experience, so that your archived (a.k.a. bookmarked) news items are hidden from view unless explicitly asked for...




Installation instructions:

  1. Install Firefox, if it isn't already installed.
  2. Install the Greasemonkey extension, if it isn't already installed.
  3. In Firefox, surf to http://www.runeskaug.com/greasemonkey/bloglines-hai.user.js
  4. In Firefox, go Tools -> Install User Script...
  5. In Firefox, surf to Bloglines.
  6. If you have saved any items (By using the "Keep New" checkbox in the lower right corner of each item), they will be hidden by default. Show them by using the "... Archived" link as shown in the screenshot above.


Why you want it:

  • Because you're always in a hurry - you like to save some interesting items for later. Problem is, these items will always show up under your articles (or even worse - on top if you sort your items cronologically (as older articles tend to be ... older than the new ones... ;) - and slow down your reading.
  • If you show new and updated articles for all your feeds (in my case - "51 Feeds" - that's the top folder in the left-hand navigation tree), you will see new items only, not all the old ones you archived for some reason.
  • You may also want it for other reasons, please let me know in the comments.

Update 2005-07-07: Fixed a couple of bugs when reading "all blogs", the previous version totalled all blogs and put the same numbers on all blog headers. Also, renamed the script from HABI to HAI. ;)

Please leave a comment if you like the script - or have any suggestions - or if you hate it and want to give me money to stop making lame scripts ;)


Tags: , ,

Saturday, July 02, 2005

Starting off with a Greasemonkey script... Bloglines HABI!

Hey'all,

I'll be coming back with more shortly, but for now ... the only content of this blog is a mention of my brand new Greasemonkey [read more there if you don't know what the heck I'm talking about...] script for Bloglines, which hides (and shows) your archived items (the ones you "Keep New"...)

Install from here: Bloglines HABI: Hide Archived Bloglines Items

Please, add your suggestions at any time!

Update: New post / version here.