<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on HSS Ad Remover | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/23740</link>
    <description>Recent comments on userscript: HSS Ad Remover</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by NanoTech</title>
      <description>&lt;p&gt;Here's an update:&lt;/p&gt;

&lt;p&gt;Find:
&lt;br /&gt;&lt;code&gt;&lt;pre&gt;var adDiv, allDiv;
allDiv = document.getElementsByTagName('div');
var regEx = /^AFc_all[0-9]{1,4}$/;
for (var i = 0; i &amp;lt; allDiv.length; i++) {
    if (regEx.test(allDiv[i].class)) {
        adDiv = allDiv[i];
        adDiv.parentNode.removeChild(adDiv);
    }
}&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Replace with:
&lt;br /&gt;&lt;pre&gt;&lt;code&gt;nodes = document.evaluate(&quot;//div&quot;, document, null,
    XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = 0; i &amp;lt; nodes.snapshotLength; i++) {
    thisLink = nodes.snapshotItem(i);
    if(thisLink.className.indexOf('AF') == 0)
        thisLink.parentNode.removeChild(thisLink);
}
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 09 Oct 2008 04:15:10 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11835:30439</guid>
      <author>NanoTech</author>
      <link>http://userscripts.org/posts/30439</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2004 01:04:57 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:11835:30438</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/30438</link>
    </item>
  </channel>
</rss>
