<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on No auto-refresh | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/4097</link>
    <description>Recent comments on userscript: No auto-refresh</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by Lucza Gyuri</title>
      <description>&lt;p&gt;&lt;a href=&quot;http://userscripts.org/scripts/show/5506&quot;&gt;http://userscripts.org/scripts/show/5506&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 15 Jul 2008 07:46:27 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31325</guid>
      <author>Lucza Gyuri</author>
      <link>http://userscripts.org/posts/31325</link>
    </item>
    <item>
      <title>Archived Comments, replied by n0nick</title>
      <description>&lt;p&gt;lior z - thanks a lot for the tip ! i integrated your line to the script.
&lt;br /&gt;if someone knows how to do a case-insensitive search, i guess that would be the best option...
&lt;br /&gt;until then!&lt;/p&gt;</description>
      <pubDate>Thu, 09 Nov 2006 20:05:20 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31326</guid>
      <author>n0nick</author>
      <link>http://userscripts.org/posts/31326</link>
    </item>
    <item>
      <title>Archived Comments, replied by Lior Zur</title>
      <description>&lt;p&gt;Nice work, but why don't you just use the | operator inside the XPath, as follows:   
&lt;br /&gt;//meta[@http-equiv='Refresh']|//meta[@http-equiv='refresh']|//meta[@http-equiv='REFRESH']&lt;/p&gt;

&lt;p&gt;Look for reference:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.zvon.org/xxl/XPathTutorial/Output/example10.html&quot;&gt;http://www.zvon.org/xxl/XPathTutorial/Output/ex...&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 05 Aug 2006 18:58:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31327</guid>
      <author>Lior Zur</author>
      <link>http://userscripts.org/posts/31327</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jeff 2</title>
      <description>whoops! that didn't work as well as i'd hoped.  my edited copy is at &lt;br /&gt;&lt;br /&gt; &lt;a href=&quot;http://jeffhecker.net/noautorefresh.user.js&quot;&gt;http://jeffhecker.net/noautorefresh.user.js&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Thanks again / Jeff</description>
      <pubDate>Mon, 12 Jun 2006 08:44:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31328</guid>
      <author>Jeff 2</author>
      <link>http://userscripts.org/posts/31328</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jeff 2</title>
      <description>&lt;p&gt;n0nick,&lt;/p&gt;

&lt;p&gt;I took your script and just put the tests in a loop so that the code isn't repeated three times.  It would be better for you to update your script rather than me adding yet another no-refresh script.  Thanks in advance.  Here's the bits...&lt;/p&gt;

&lt;p&gt;var tag = new Array ( &quot;refresh&quot;, &quot;Refresh&quot;, &quot;REFRESH&quot; );
&lt;br /&gt;var i, r, refresh, content, stoptimer;&lt;/p&gt;

&lt;p&gt;for (i=0; i&amp;lt;tag&gt;&lt;br /&gt;	r = tag[i];
&lt;br /&gt;	refresh = document.evaluate(&quot;//meta[@http-equiv='&quot; + r + &quot;']&quot;,
&lt;br /&gt;				document,
&lt;br /&gt;				null,
&lt;br /&gt;				XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
&lt;br /&gt;				null);
&lt;br /&gt;	if (refresh.snapshotItem(0) != null){
&lt;br /&gt;		content = refresh.snapshotItem(0).getAttribute(&quot;content&quot;);
&lt;br /&gt;		stopTimer = window.setTimeout(&quot;window.stop();&quot;,
&lt;br /&gt;			(content-1)*1000); // in case load hasn't finished when the refresh fires
&lt;br /&gt;		window.addEventListener (&quot;load&quot;, function(){
&lt;br /&gt;			try { window.clearTimeout(stopTimer); } catch(ex) {}
&lt;br /&gt;				window.stop();
&lt;br /&gt;				}, true);
&lt;br /&gt;		GM_log (&quot;stopped meta-&quot; +r);
&lt;br /&gt;	}
&lt;br /&gt;}&lt;/p&gt;</description>
      <pubDate>Mon, 12 Jun 2006 08:37:38 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31329</guid>
      <author>Jeff 2</author>
      <link>http://userscripts.org/posts/31329</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:59 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12056:31324</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/31324</link>
    </item>
  </channel>
</rss>
