Fuck Tumblarity

By Miles Barger Last update May 11, 2009 — Installed 6,453 times.

There are 7 previous versions of this script.

// Fuck Tumblarity
// --------------------------------------------------------------
//
// Tumblarity does not value original content and encourages
// users to post based on the criteria "Will this garner a lot 
// of facile internet attention?" rather than "Is this 
// meaningful?". Or: it sucks.
// 
// Rather than having such a shallow metric constantly thrown 
// in your dashboard-checking face, install this userscript, 
// remove that nasty shit, and keep on keepin' on.
//
// --------------------------------------------------------------
//
// ==UserScript==
// @name			Fuck Tumblarity
// @namespace		http://milesbarger.com
// @description		Remove all mentions of Tumblarity from your dashboard. Replace your Tumblarity with Swagglarity.
// @version			0.5.2
// @include			http://www.tumblr.com/dashboard
// @include			http://www.tumblr.com/dashboard/*
// @include			http://www.tumblr.com/tumblelog/*
// @include			http://www.tumblr.com/activity
// @include			http://www.tumblr.com/queue
// @include			http://www.tumblr.com/drafts
// ==/UserScript==

// Set variable to check URLs
var url = window.location.href;
var dashboardurl = "http://www.tumblr.com/dashboard";
var activityurl = "http://www.tumblr.com/activity";

// Swagglarity
var swagga = document.createElement("div");
swagga.innerHTML = '<div style="margin: 0 auto 0 auto; ' +
    'font-size: small; ' +
    'color: #000;"><span style="font-size: 36px;"> ' +
    'On a <br /><span style ="margin-bottom: -1em; color: #333; font-size: 48px;">Hundred</span><br /> <span style="color: #666; font-size: 72px;">Thousand</span><br /> <span style="color: #999; font-size: 96px;">TRILLION.</span>' +
    '</span></div>' +
    '<div style="position: absolute; right: 0; top: 0"> ' +
    '<span style="font-size: 24px;"><a style="color: #fff; text-decoration:none;" href="http://www.tumblr.com/dashboard">&larr; Dashboard</a></span>' +
    '</div>';


function fucktumblarity() {
	// Replace Tumblarity with Swagglarity
	if (url == activityurl) {
		fuck(window.document,document.evaluate('//*[(@id = "container")]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,null,null,null);
		document.body.insertBefore(swagga, document.body.firstChild);
	}
	// Remove from Dashboard
	else if (url == dashboardurl) {
		fuck(window.document,document.evaluate('//*[(@id = "right_column")]//*[(((count(preceding-sibling::*) + 1) = 2) and parent::*)]//*[contains(concat( " ", @class, " " ), concat( " ", "tumblelog_controls", " " ))]//li[2]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,null,null,null);
	}
	// Remove from individual /tumblelog pages
	else {	
		fuck(window.document,document.evaluate('//*[(@id = "right_column")]//*[contains(concat( " ", @class, " " ), concat( " ", "active", " " ))]//li[2]', document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue,null,null,null);
	};
};

window.addEventListener("load", function() { fucktumblarity() }, false);

function fuck(doc, node) {
  node.style.display = "none";
};