<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Tweaked it so it runs on home.php regardless of parameters (it didn't run without the trailing ?) and only deletes if the span contents matches pefectly (seems to work fine)

&lt;code&gt;
// ==UserScript==
// @name           Facebook Sponsored News Remover
// @author         Tosk
// @date           2006-11-11
// @version        1.0
// @namespace      http://www.tosker.net
// @description    Removes sponsored news in the news feed.
// @include        http://*.facebook.com/home.php*
// ==/UserScript==

(function()
{
	var ttags = document.getElementsByTagName('span');

    //alert(ttags[0]);
	for (var i=0;i &lt; ttags.length;i++)
		if (ttags[i].innerHTML == &quot;Sponsored&quot;)
		{
			ttags[i].parentNode.parentNode.parentNode.parentNode.removeChild(ttags[i].parentNode.parentNode.parentNode);
			//ttags[i].parentNode.parentNode.insertBefore(&quot;&lt;br /&gt;&lt;br /&gt;&quot;,ttags[i]);
		}
    
})();
&lt;/code&gt;</body>
  <body-html>Tweaked it so it runs on home.php regardless of parameters (it didn't run without the trailing ?) and only deletes if the span contents matches pefectly (seems to work fine)

&lt;code&gt;
// ==UserScript==
// @name           Facebook Sponsored News Remover
// @author         Tosk
// @date           2006-11-11
// @version        1.0
// @namespace      http://www.tosker.net
// @description    Removes sponsored news in the news feed.
// @include        http://*.facebook.com/home.php*
// ==/UserScript==

(function()
{
	var ttags = document.getElementsByTagName('span');

    //alert(ttags[0]);
	for (var i=0;i &amp;lt; ttags.length;i++)
		if (ttags[i].innerHTML == &quot;Sponsored&quot;)
		{
			ttags[i].parentNode.parentNode.parentNode.parentNode.removeChild(ttags[i].parentNode.parentNode.parentNode);
			//ttags[i].parentNode.parentNode.insertBefore(&quot;&lt;br /&gt;&lt;br /&gt;&quot;,ttags[i]);
		}
    
})();
&lt;/code&gt;</body-html>
  <created-at type="datetime">2007-08-26T23:39:34Z</created-at>
  <forumable-id type="integer">6327</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">61005</id>
  <topic-id type="integer">14936</topic-id>
  <updated-at type="datetime">2008-11-17T00:07:12Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">6782</user-id>
</post>
