Great rid of those Annoying Qik messages on Pownce

By Aaron Bassett Last update Jun 16, 2008 — Installed 26 times. Daily Installs: 0, 0, 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
// ==UserScript==
// @name           Great rid of those Annoying Qik messages on Pownce
// @namespace      http://3makestuff.com
// @description    All Qik spam messages replaced with something more accurate
// @include        *pownce.com*
// ==/UserScript==

var p=document.getElementsByTagName("p");
var d;
for(var i=0; i < p.length; i++) {
	if(p[i].innerHTML.indexOf("I'm streaming live on Qik") != -1) {
		d = p[i].parentNode.getElementsByTagName("div")[0];
		p[i].parentNode.removeChild(d);
		p[i].innerHTML = p[i].innerHTML.replace("I'm streaming live on Qik", "I'm a spamming prick!");
	}
}