Albert

 

Development: BlogbotTV2Filter

Some software listed in this section might not be stable.

Update: Now available as a general plugin too.

This is a GreaseMonkey UserScript used to filter away blogs from TV2 blogs on the main listing of Blogbot.dk


// ==UserScript==
// @name          Blogbot TV2 Filter
// @namespace     http://orangenose.com/development/
// @description   A script that filters off all TV2 Blog entries from the main list
// @include       http://blogbot.dk/*
// @include       http://*.blogbot.dk/*
// ==/UserScript==

var allLinks, thisLink;
allLinks = document.evaluate(
    "//a[contains(@href,'blog.tv2.dk')]/ancestor::div",
    document,
    null,
    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
    null);
for (var i = 0; i < allLinks.snapshotLength; i++) {
    thisLink = allLinks.snapshotItem(i);

    thisLink.parentNode.removeChild(thisLink);
}


You must have GreaseMonkey installed before you can install this script.

Then install this script and the links are gone. You can however still see the links in the right side panel, just in case :)

This script is fully inspired by Studmuffin's plugin which does the same, except that you have to toggle the plugin on each visit/load.

Copyright © 2002-2006, Orangenose