Add a Feed to My Yahoo! with a Right-Click

Speed up the time it takes to add RSS feeds to My Yahoo! with Internet Explorer.

Adding an RSS feed to My Yahoo! isn’t a complex process, but it does involve some copying, pasting, clicking, and generally breaking out of the flow of reading a site. With a bit of browser hacking, you can reduce the friction of adding sites to My Yahoo! by adding a context menu entry.

A context menu is the menu that pops up when you right-click an element on a web page (or Ctrl-click it on a Mac). The context part of its name refers to the fact that different choices appear in different situations. For example, when you right-click a link, you have the options to “Open Link in New Window,” Copy Link Location, Bookmark This Link, and others. In another context, such as when clicking an image or clicking highlighted text, you have different choices in the menu.

If you’ve been reading personal weblogs for a while, you’ve probably seen many variations of the white-on-orange XML buttons that indicate a link to an RSS feed, and if not you can find some examples [Hack #35] in this book.

Wouldn’t it be great if you could right-click one of these buttons and have the option to “Add to My Yahoo!”? That would save you quite a few steps, and you wouldn’t have to break from the site you’re currently reading to add the feed. This hack shows how to add this context menu entry in Internet Explorer.

The Code

Much like a bookmarklet [Hack #28] , any JavaScript that runs via ...

Get Yahoo! Hacks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.