Archive for the ‘Extensions’ Category

New tools

January 15, 2008

I recently came by several new neat tools:

del.icio.us Bookmarks (Firefox extension)

Evgeny asked me if I know of a way to synchronize his browser’s hierarchal bookmarks with his Google tagged bookmarks. I recommended him switching to del.icio.us, knowing that such a popular site must have a synchronizing extension. A little search revealed that after Yahoo purchased del.icio.us, they wrote a extension to do exactly what I looked for, and it seems to work extremely well.

One of the main benefits of the extension to me is the option to bookmark an opened Firefox tab while offline, counting on the extension to later synchronize it to del.icio.us when I’m back online.

The only problem is that I have used many, many tags, and this translates to a very long Tags menu. Obviously, the guys at Yahoo thought about it, and added the Favorite Tags feature, but still, if I look for a tag not in my favorites list, it can be annoying. I really need to clean up my list of bookmarks, but that’s not related to the del.icio.us Bookmarks. It would be better, though, if they could put the list of tabs in multiple-columns menu, like the programs menu in Windows’ Start menu, but I don’t know how easy it is to do it in a Firefox extension.

Miranda IM

When I first realized I use several IM clients, and could use one tool that will aggregate them all, I started using Meebo, especially as I was impressed with the Web and AJAX abilities they demonstrated. But then I realized I prefer a non-browser solution, which will not depend on my browser (which is an important working tool for me), and will show me tray notification on events. I picked Pidgin which looked nice.

But recently  I realized I’m having too many problems with it. It didn’t do Hebrew spell checking, it often got stuck while writing messages, it didn’t display Hebrew properly with talking with my boss via MSN, and some more. I started looking again, and found Miranda. Miranda look very nice, and it seem to have a plugin for anything I could think I need. I especially liked the SMS plugin which sends SMS via ICQ for free I so liked it, I recommended it to friends, and even installed it on my wife’s machine, so she can use it for sending SMS (thought she is still using Google Talk for chatting).

The only current problem is that Miranda doesn’t handle Hebrew spell checking well as well. I posted something about it. I hope it will sometime be fixed.

Xobni

When I saw the Xobni video I fell in love and signed up to their closed beta. I recently got an invitation to the beta and started using it. Surprisingly, It doesn’t slow down my Outlook and seems to work very well. I do have some complaints, but because it is too long, I’ll post them in separate posts.

Fireshot (Firefox extension)

I don’t use Nitobi’s products, but after reading Alex’s explanation of how he built the FishEye widget, I subscribed to his blog which sometimes have interesting ideas or links. He recently posted about the Fireshot Firefox extension for taking screenshots from the browser. There are many screen capturing programs, and my favorite is  MWSnap, but his extension allows you to easily edit the captured image – crop and blur areas, add annotations etc. I even used it to open an image captured outside of the browser with MWSnap, by opening the image in Firefox and re-capturing it, just for the editing.

The only problem I’m currently having with it doesn’t have an Undo feature, which means that if you made a mistake in your editing of the captured image, you have to re-capture and start all over again.

Greasemonkey wish: Auto-update user scripts

May 1, 2007

I’m the kind of guy who likes to know when a new version of a software I use is released, and update whenever I can (I guess this is why I installed Office 2007 when it was in Beta). This is why I use Update Notifier Firefox extension, which automatically checks for Firefox add-ons when Firefox starts.

I think Greasemonkey should evolve to support such mechanism for user scripts – each user script should be able to mention its current version and its URL as part of its metadata and then Greasemonkey can periodically check if the user script is updated. As it is now, I might find a script on userscripts.org and install it, but I won’t know that the script was later improved by its author. I think this would be great.

update: while wondering around userscripts.org, I found this script which seems to do what I want. I’ll look into it tomorrow.

Annoying meebo message on Firefox close or restart

April 28, 2007

Every once in a while I need to restart Firefox (e.g. to update an extension, or to remove Firefox memory consumption), or I need to restart my machine and close Firefox. Since I always have a meebo tab open, when I close Firefox I get this annoying message from meebo (which uses the onbeforeunload event):

If you leave, your meebo IM sessions will not be preserved!

Today I realized that this message is almost never useful – I never closes the meebo tab by mistake – I only do it when I want to close (or restart) the browser, and then I realized a quick user script can solve the problem. I checked into Meebo code, and so that the string is a member of the meebolang object that holds language-dependent strings. This string (meebolang.navigateAway) is returned in the onbeforeunload event, so to hide it, I can simply change that member.

A few trials taught me that in Firefox, the onbeforeunload event must return undefined (and not null or false) for the warning unload message to disappear. Once that was achieved, implementing the required user script was easy.

"Display Anchors" toolbar button

March 6, 2007

I often use the “Display Anchors” option found in the Information menu of the Web Developer Firefox extension to build a link directly to a part of a page I’m interested in.

I usually doing it by clicking the toolbar button to show the Web Developer toolbar, then open the Information menu and select “Display Anchors”. A shorter way might have been using the right-click menu, since all Web Developer options are also available through a right click menu item. In any case, it requires at least three steps – Web Developer -> Information menu -> Display Anchors for this simple operation.

Today I’ve got sick of it and looked for a way to make it a one click operation. I googled for “display anchors” toolbar Firefox and got to David McRitchie’s bookmarklets page, where as point to the no-longer-available Show Classes and IDs bookmarklet page, but also has his own “id visible’ bookmarklet, which does something similar:

javascript:(function(){ var z=[],N,id,tc,j; function r(N) { if (N.id) z.push(N); var C=N.childNodes,i;for(i=0;i<C.length;++i)r(C[i]); } r(document.body); for (j in z) { N=z[j]; id=document.createTextNode(” %C2%ABid=”+N.id+”%C2%BB”); tc=document.createElement(”span”); tc.style.color=”red”; tc.style.background=”#FFEE99″; tc.appendChild(id); N.parentNode.insertBefore(tc,N.nextSibling); N.parentNode.insertBefore(document.createTextNode(” “),tc); }})();

I worked on it a little, and came up with a bookmarklet that creates link in a fashion similar to Web Developer’s “Show Anchors” way:

javascript:(function(){ var z=[],N,tc,j; function r(N) { if(N.id) z.push(N); var C=N.childNodes,i;for(i=0;i<C.length;++i)r(C[i]);}r(document.body);for(j in z) { N=z[j];tc=document.createElement(”div”);tc.innerHTML=”<a style=\”background-color:#FFFF99 !important;border:solid 1px #FFCC66 !important;color:#000000 !important;opacity:0.9 !important;text-decoration:none !important;font-size:10px !important;\” href=\”#”+N.id +”\”>#”+N.id+”<a>”;N.parentNode.insertBefore(tc,N);}})();

It currently only add links to elements with ID and not to a href-less named <a> elements. I’ll add these when I see the need.

Note: The bookmarklets are currently not links as I can’t find a way to convince WordPress editor to make them proper links.

Videos on the Road

February 19, 2007

The VideoDownloader Firefox Extension is a godsend for anyone like me who has a long ride to work every morning, and doesn’t drive on his own.

Ever since I have a laptop, I can read on the way to and from work (about one hour drive in each direction) if I’m not too exhausted, even in dark winter days. In the past, I used to read books and articles, with a little lamp, but a laptop screen is much more convenient. The downside is, of course, that I get to read a lot more blog posts than literature I would like to read…

Since I found the VideoDownloader extension, I can also view videos on the way. One of the recent outcomes is that I used to see some chapters of Family Guy and fell for it.

Anyway, this laptop think now enables me to go over my del.icio.us ToRead list and ToHear list and catch up. This morning, I started watching this video about Human Computing which I bookmarked long ago, don’t know how I got there. This video talk (or at least its first 20 minutes which I already watched) is both hilarious and very interesting. Highly recommended.

Edit: I forgot to mention that the main drawback of the VideoDownloader extension and other similar tools is that they don’t support downloading from YUI Theater, and from Yahoo! Video in general. YUI Theater has some pretty good JavaScript talks. However, the YUI guys usually now put (or plan to put) a downloadable version for each of the interesting videos.

Locationbar² also decodes URLs for better readability

January 29, 2007

I recently found Locationbar² Firefox extension somehow, and thought it is nice to have it emphasis the domain name of the URL you are in.

Only today, when I wanted to tell some friends about “Family Guy” for which I recently fell after reading a post in some Hebrew blog I don’t usually read, and wanted to link to the Hebrew Wikipedia entry about Family Guy, I noticed that Locationbar² makes the Hebrew Wikipedia URL readable, and not containing long list of escaped character. I verified that indeed, its second feature, after “emphasizing the domain name” is “[d]ecodes URLs for better readability” with a sample from Ukraine Wikipedia.

Very cool.

Update: I just found out this can also be handy when you have Google searches with special characters, where it is hard to see the search phrase from the URL without Locationbar².

Open This URL

January 22, 2005

I finally sat down to find a solution to a problem that been bothering me for a while now. Sometimes I see a URL in a web site (this mostly happens in forums or blogs), which is not a link, so if you want to see it, you must copy and paste it.

Avant Browser version 10 came with a little toolbar that sometimes show near your selection, but this toolbar is not predictable – I couldn’t figure out when exactly Avant decides to show it, and it only has a Search button. Normally, when Google is searched for a URL, this URL is opened, but I don’t want to count on this.

So, what I did is creating a file in d:\winnt\web named OpenThisURL.html, with the following content:

<script>
external.menuArguments.open(external.menuArguments.document.selection.createRange().text);
</script>

And I also added a new registry key to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt named “Open This &URL” with default value set to d:\WINNT\Web\OpenThisURL.html. I also added a binary value named Contexts, with its value set to “10 00 00”. Now, after restarting the browser, selecting the URL text, and right-clicking adds an “Open This URL” menu item, which opens it in another window.

This even works well in Avant Browser.