ˀ tweetrush link

By innit4theminute Last update Jan 7, 2009 — Installed 71 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0

There are 5 previous versions of this script.

// ==UserScript==

// @name           ˀ tweetrush link

// @namespace      http://userscripts.org

// @description    Adds a button on Twitter profile pages to follow users' conversations with Tweetrush

// @include        http*://twitter.com/

// ==/UserScript==

window.addEventListener('load', function()

	{

	if(document.body.id=='profile')

	{

	h2s = document.getElementsByTagName("h2");

	loc = window.location;

	tmparr = loc.toString().split("/");

	uName=tmparr[3];

	for(i=0;i<h2s.length;i++)

		{

		if(h2s[i].className=='thumb')

			{

			thumb = h2s[i];

			break;

			}

		}

		img = document.createElement("img");

		img.setAttribute("src", "data:image/png, ");

		img.setAttribute("width", "20");

		img.setAttribute("height", "20");

		an = document.createElement("a");

		an.href="http://tweetrush.com/"+uName;

		an.appendChild(img);

		an.innerHTML+="÷tRush ";

		thumb.parentNode.insertBefore(an, thumb.nextSibling);

	}

		}, true);