Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

LiveJournal Filter

filters out user entries based on tags/keywords present or absent

This script allows to filter out LiveJournal Friends Page entries depending on tags and/or keywords present or absent. Install it in the usual way, open your Friends Page in Firefox, then go to menu entry Tools → Greasemonkey → User Script Commands → Edit LiveJournal Filter Rules. A small window will open containing a text area with examples of filtering rules and comments. Put your tags and keywords there, and don't ever see boring entries again.

The current version works with S2 styles Nautical Generator, Smooth Sailing, Unearthed, Martial Blue, Flexible Squares, Component (for the above both keyword and tag filtering works) as well as with Punquin Elegant, A Sturdy Gesture and Refried Paper (only allow filtering by tag). It can be adopted to other S2 styles, but it requires additional work. Leave your LJ username and style name in the comments to this script, and I'll add it when I can.

The following comes from the original description by the author, [lj user=slobin]:

While I was hacking the version 1.6 (current) from the version 1.5 (initial), the namespace of the script was changed. Therefore you cannot just upgrade from previous version, you must uninstall it and install new from scratch. Sorry for inconvenience.

If you have installed version 1.5+6 of this script (was here for a while), don't bother to upgrade to 1.6, changes are purely cosmetic. Or upgrade if you don't like "beta" feeling, changes are purely cosmetic indeed.






Mar 6, 2008
Xtina Scriptwright

Ack. Change these two lines, from what I just commented:

name: 'Expressive / Mixit',userXpath: ".//div[@class='user-icon']/span[last()]/span[@class='ljuser']//b/text()",

I'm sure there's a cleaner way, but I couldn't find it. :/

 
Mar 4, 2008
Xtina Scriptwright

To get it to work with Expressive, add this chunk into the styles array:

    // Expressive
    {
      name: 'Expressive',
      entryXpath: "//div[@class='post-asset asset']",
      userXpath: ".//span[@class='ljuser']//b/text()",
      tagXpath: ".//ul[@class='asset-tags-list']//a[contains(@href, 'tag')]/text()",
      textXpath: ".//div[@class='asset-content']",
      removeFunction: function(entry) {
        par = entry.parentNode;
        remember(par, entry);
      }
    },

You could comment on this script if you were logged in.