Technology
 

Greasemonkey Scripts

From Sage Community Wiki

These scripts require the Greasemonkey extension for Firefox.
Once you've installed it, just right-click in the install link and select "Install User Script".
N.B. Greasemonkey scripts always have the extension .user.js
Users should only install Greasemonkey scripts if they are satisfied that they present no security risks to their PC. The fact that a script is listed in this page should not be taken as assurance on this score. Study the scripts first, and make sure you understand what they do and how they work.

Contents

[edit] Sage Collapser

Collapse feed items after page finish rendering showing only the title. After that:

  • Clicking on the title toggle visibility status
  • Clicking on the item text destroy it and all items above
  • There is a link to go to the post page in the original site
  • Image ads are removed (based on a list of patterns stored in a wiki page)
  • Post's images appears as thumbnails under title

The objective is to read feeds faster eliminating the time wasted moving the hand from the keyboard to the mouse, and then looking for the scroll bar handles. You can use the scroll-wheel but after a while it causes pain in your fingers.

Changelog:

  • 20051220: add thumbnails below the title post for each existing image. Useful for sites like Gizmodo, Fleshbot, etc. with lot of pictures or just when you are tired of reading.
  • 20060717: patterns to erase image ads are now stored in a separate page, not in the script code.

TODO:

  • Add a preference to allow custom URL for ad-killer patterns
  • Keyboard navigation (shortcuts to select item, expand/collapse, kill...)

[edit] RSS Site Index Panel

Someone asked about adding autodiscovery for RSS feeds on a site. This can already be done providing you have Greasemonkey installed. RSS Site Index Panel makes a nice complementary tool in Firefox - you can see immediately whether to consider adding any of the discovered feeds to the Sage sidebar for return visits.

[edit] Open All Sage Links In A New Window

A Greasemonkey user script that adds target="_blank" to all links on the feed page. If used in conjunction with single window mode (either via Firefox or an extension), this will force all Sage links to open in a new tab.

  • Install DEAD LINK, READ NOTE AT BOTTOM

To prevent this script from conflict with Sage Collapser script, add the following line

if(!thisLink.href.match(/^javascript\:/))

before this line

thisLink.setAttribute("target","_blank");

Note: Alternatively you can use Ctrl + Click, or Middle Click to achieve the same result. I have left the link in case the author can be identified, and the file rehosted.

[edit] Technorati Link Replacers

These Greasemonkey scripts will replace Technorati trackback links with any blog search services. Note that you can only use one of these scripts.

[edit] Blogger Blog Search

Replace Technorati trackback links with Blogger blog search.

[edit] IceRocket Blog Search

Replace Technorati trackback links with IceRocket Blog Search.

Rate this article: