No Retweets

By beejaminBoy Last update Feb 13, 2009 — Installed 82 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
// ==UserScript==
// @name           No Retweets
// @namespace      benhull.info
// @description    Hide all retweets for a more personal twitter. Requires jQuery
// @include        http://twitter.com/*
// @include        https://twitter.com/*
// ==/UserScript==

function GM_wait() {
		if(typeof unsafeWindow.jQuery == 'undefined') {
        window.setTimeout(GM_wait,100);
    } else {
        $ = unsafeWindow.jQuery;
        scanForReTweets();
    }
}
GM_wait()

function scanForReTweets() {
	$('span.entry-content').each(function(){
		if ($(this).text().match(/^RT\s*@/)) $(this).parents('li.status').hide();		
	})
}