<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Google Reader - Mark Until Current As Read v 1.2 | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/24955</link>
    <description>Recent comments on userscript: Google Reader - Mark Until Current As Read v 1.2</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Anyone else having problems with the new greader and this script?, replied by cheek @ Tue, 14 Apr 2009 00:14:43 +0000</title>
      <description>&lt;p&gt;I found this script not to be working recently and found this thread which i thought confirmed that; however, in looking into a fix, i discovered that the problem was interaction with the Read it Later extension (RIL) and its google reader integration.&lt;/p&gt;

&lt;p&gt;You can correct this by either disabling RIL or its reader-integration, or by adding the following line to the script.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
function getAllEntries(){
	var allDivs = document.getElementsByTagName('div');
	var allEntries = new Array();
	for(var i=0; i &amp;lt; allDivs.length; i++){		
		if(typeof(allDivs[i].className) != 'undefined' &amp;amp;&amp;amp;
				allDivs[i].className == 'entry'
				|| allDivs[i].id == 'current-entry'
				&lt;b&gt;|| allDivs[i].className == 'entry ril-set'&lt;/b&gt;
				|| allDivs[i].className == 'entry overflow-settable'){
			allEntries.push(allDivs[i]);
		}
	}
	return allEntries;
}
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 14 Apr 2009 00:14:43 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18661:110795</guid>
      <author>cheek</author>
      <link>http://userscripts.org/topics/18661</link>
    </item>
    <item>
      <title>alternative behaviour, replied by Gautham Pai @ Thu, 15 Jan 2009 16:43:15 +0000</title>
      <description>&lt;p&gt;It is possible to determine the read status by looking at the CSS styles, so what you say makes sense.&lt;/p&gt;

&lt;p&gt;Let me see if I can modify this to do what you mentioned.&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Gautham&lt;/p&gt;</description>
      <pubDate>Thu, 15 Jan 2009 16:43:15 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20115:90150</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/20115</link>
    </item>
    <item>
      <title>alternative behaviour, replied by lmjabreu @ Thu, 08 Jan 2009 09:42:30 +0000</title>
      <description>&lt;p&gt;ok forget it, m toggles read status.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:42:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20115:88706</guid>
      <author>lmjabreu</author>
      <link>http://userscripts.org/topics/20115</link>
    </item>
    <item>
      <title>alternative behaviour, replied by lmjabreu @ Thu, 08 Jan 2009 09:39:32 +0000</title>
      <description>&lt;p&gt;Hey there, from what I understand you're simulating a click on each previous/next item, wouldn't it be faster to simulate key presses that dont require the item to be expanded?&lt;/p&gt;

&lt;p&gt;Pressing 'n' to select the next item and m to mark it as read until the item == current?&lt;/p&gt;</description>
      <pubDate>Thu, 08 Jan 2009 09:39:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:20115:88705</guid>
      <author>lmjabreu</author>
      <link>http://userscripts.org/topics/20115</link>
    </item>
    <item>
      <title>Anyone else having problems with the new greader and this script?, replied by firefoxsweet @ Sun, 21 Dec 2008 14:30:38 +0000</title>
      <description>&lt;p&gt;even for me don't  work&lt;/p&gt;</description>
      <pubDate>Sun, 21 Dec 2008 14:30:38 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18661:85223</guid>
      <author>firefoxsweet</author>
      <link>http://userscripts.org/topics/18661</link>
    </item>
    <item>
      <title>Anyone else having problems with the new greader and this script?, replied by _Patrick_ @ Sun, 07 Dec 2008 06:15:14 +0000</title>
      <description>&lt;p&gt;It's working fine for me.  Wasn't at first (although that might have been unrelated to the the Google Reader) so I uninstalled and reinstalled the script and that did the trick.  &lt;/p&gt;

&lt;p&gt;FF 3.0.4&lt;/p&gt;</description>
      <pubDate>Sun, 07 Dec 2008 06:15:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18661:81839</guid>
      <author>_Patrick_</author>
      <link>http://userscripts.org/topics/18661</link>
    </item>
    <item>
      <title>Anyone else having problems with the new greader and this script?, replied by itairaz @ Sat, 06 Dec 2008 17:00:31 +0000</title>
      <description>&lt;p&gt;Not working for me - it just opens and closes the current post and nothing gets marked as read.&lt;/p&gt;

&lt;p&gt;FF 3.0.4&lt;/p&gt;</description>
      <pubDate>Sat, 06 Dec 2008 17:00:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:18661:81729</guid>
      <author>itairaz</author>
      <link>http://userscripts.org/topics/18661</link>
    </item>
    <item>
      <title>Archived Comments, replied by alala @ Fri, 14 Nov 2008 10:43:14 +0000</title>
      <description>&lt;p&gt;Thanks Gautham for supplying the modified code. It works perfectly! I'm a happy man. Ha!&lt;/p&gt;

&lt;p&gt;Congrats for getting your script featured in LH. It's great to know that more people will benefit from your script since it'll be included into LH's Better Google Reader Firefox extension. Btw, perhaps you want to use the CTRL-ALT hotkeys for your LH-version so that the it doesn't interfere with the email feature.&lt;/p&gt;

&lt;p&gt;Once again, thanks for sharing such a great script with the rest of the world. Kudos! :)&lt;/p&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:43:14 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65221</guid>
      <author>alala</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Sun, 09 Nov 2008 18:01:48 +0000</title>
      <description>&lt;p&gt;This script was &lt;a href=&quot;http://lifehacker.com/5066533/mark-until-current-as-read-in-google-reader&quot;&gt;recently featured on Lifehacker&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Sun, 09 Nov 2008 18:01:48 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65222</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Sun, 09 Nov 2008 17:59:33 +0000</title>
      <description>&lt;p&gt;Hi Alala,&lt;/p&gt;

&lt;p&gt;I am not sure if people will like it so I am giving you the code to use the Ctrl and Alt modifiers. Please replace the existing keyPressEvent function in the script with this one:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;function keyPressEvent(event){
&lt;br /&gt;	var kcode = (event.keyCode)?event.keyCode:event.which;
&lt;br /&gt;	var ctrlKeyPressed =event.ctrlKey;
&lt;br /&gt;	var altKeyPressed =event.altKey;
&lt;br /&gt;	
&lt;br /&gt;	var k = String.fromCharCode(kcode);
&lt;br /&gt;	
&lt;br /&gt;	if(ctrlKeyPressed &amp;amp;&amp;amp; altKeyPressed &amp;amp;&amp;amp; (k == 'y' || k == 'Y')){
&lt;br /&gt;    	markUntilCurrentAsRead();
&lt;br /&gt;   } else if(ctrlKeyPressed &amp;amp;&amp;amp; altKeyPressed &amp;amp;&amp;amp; (k == 'i' || k == 'I')){
&lt;br /&gt;   	markAfterCurrentAsRead();
&lt;br /&gt;   }
&lt;br /&gt;}
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You now have to press Ctrl+Alt+Y and Ctrl+Alt+I for the actions. I would have kept it simple with only Ctrl or Alt modifiers and not both, but unfortunately there are chances that this will clash with existing functions.&lt;/p&gt;</description>
      <pubDate>Sun, 09 Nov 2008 17:59:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65223</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by alala @ Mon, 03 Nov 2008 09:38:30 +0000</title>
      <description>&lt;p&gt;Thanks Gautham for pointing to the code. However, that would only be changing the key and it doesn't allow the detection of CTRL or ALT.&lt;/p&gt;

&lt;p&gt;Nonetheless, thanks. :)&lt;/p&gt;</description>
      <pubDate>Mon, 03 Nov 2008 09:38:30 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65224</guid>
      <author>alala</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Sun, 02 Nov 2008 16:20:44 +0000</title>
      <description>&lt;p&gt;Hi Alala,&lt;/p&gt;

&lt;p&gt;Right now there is no simple way to change it. But here is what you can do:&lt;/p&gt;

&lt;p&gt;Right click the GM icon -&gt; Go to Manage User Scripts...&lt;/p&gt;

&lt;p&gt;Select the Google Reader - Mark Until Current As Read script and click on Edit.&lt;/p&gt;

&lt;p&gt;Look for this section:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;   if(k == 'Y'){
&lt;br /&gt;    	markUntilCurrentAsRead();
&lt;br /&gt;   } else if(k == 'I'){
&lt;br /&gt;   	markAfterCurrentAsRead();
&lt;br /&gt;   }
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Edit as required.&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Gautham&lt;/p&gt;</description>
      <pubDate>Sun, 02 Nov 2008 16:20:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65225</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by alala @ Thu, 30 Oct 2008 08:02:58 +0000</title>
      <description>&lt;p&gt;Shift Y and U interfere with the email composition. How do I change it to Ctrl Y and U instead? Or would you be changing it, or providing user customisation?&lt;/p&gt;

&lt;p&gt;Thank you! :)&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2008 08:02:58 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65226</guid>
      <author>alala</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by itairaz @ Wed, 22 Oct 2008 08:20:52 +0000</title>
      <description>&lt;p&gt;Just what the doctor ordered!!&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Oct 2008 08:20:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65227</guid>
      <author>itairaz</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Sylvain Comte @ Wed, 22 Oct 2008 08:15:12 +0000</title>
      <description>&lt;p&gt;cool script, could be very useful for big reading list. But the name of the script is not so good : your script doesn't &lt;b&gt;mark as read&lt;/b&gt;, it &lt;b&gt;does read&lt;/b&gt; the entries (by opening them all). It is slightly different, particularly if you are using trends (&lt;a href=&quot;http://www.google.com/reader/view/?page=trends&quot;&gt;http://www.google.com/reader/view/?page=trends&lt;/a&gt;) to keep your reading lists up to date...&lt;/p&gt;

&lt;p&gt;About AideRss compatibility, you might have noticed you don't have to disable AideRSS in GreaseMonkey : unchecking &lt;i&gt;PostRank filtering&lt;/i&gt; is enough.d&lt;/p&gt;</description>
      <pubDate>Wed, 22 Oct 2008 08:15:12 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65228</guid>
      <author>Sylvain Comte</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by alala @ Sun, 28 Sep 2008 08:15:47 +0000</title>
      <description>&lt;p&gt;Thanks for the script. It works for me.&lt;/p&gt;

&lt;p&gt;I've found out that if the PostRank Filtering of &quot;AideRSS Google Reader Integration&quot; Greasemonkey script is enabled, this script will not work. Fyi. :)&lt;/p&gt;

&lt;p&gt;Btw, a suggestion... if you can mark them as read without having to open the item first, that'll be great. :)&lt;/p&gt;</description>
      <pubDate>Sun, 28 Sep 2008 08:15:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65229</guid>
      <author>alala</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Sun, 07 Sep 2008 19:20:24 +0000</title>
      <description>&lt;p&gt;I just tried the latest script and it seems to work for me. I am using the same version of Opera. Can you verify that the script is still in the directory pointed to by &quot;User Javascript files&quot; option?&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Gautham&lt;/p&gt;</description>
      <pubDate>Sun, 07 Sep 2008 19:20:24 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65230</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dapxin @ Thu, 21 Aug 2008 01:06:08 +0000</title>
      <description>&lt;p&gt;I use opera 9.52 and Shift+Y doesnt seem to do anything unlike before &lt;/p&gt;

&lt;p&gt;Thx.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Aug 2008 01:06:08 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65231</guid>
      <author>Dapxin</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Wed, 20 Aug 2008 20:03:40 +0000</title>
      <description>&lt;p&gt;Can you describe the problem and browser?&lt;/p&gt;</description>
      <pubDate>Wed, 20 Aug 2008 20:03:40 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65232</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dapxin @ Tue, 19 Aug 2008 23:22:09 +0000</title>
      <description>&lt;p&gt;This seems to have broken. Can anyone confirm pleasE ?&lt;/p&gt;</description>
      <pubDate>Tue, 19 Aug 2008 23:22:09 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65233</guid>
      <author>Dapxin</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Mon, 23 Jun 2008 11:58:19 +0000</title>
      <description>&lt;p&gt;Wow! This is cool. Thanks Dapxin.&lt;/p&gt;

&lt;p&gt;I wasn't even aware that Opera has started supporting GM.&lt;/p&gt;

&lt;p&gt;-Gautham&lt;/p&gt;</description>
      <pubDate>Mon, 23 Jun 2008 11:58:19 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65234</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dapxin @ Wed, 18 Jun 2008 02:28:22 +0000</title>
      <description>&lt;p&gt;thx! works and rocks in Opera 9.5&lt;/p&gt;</description>
      <pubDate>Wed, 18 Jun 2008 02:28:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65235</guid>
      <author>Dapxin</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by evaristor @ Fri, 09 May 2008 02:51:11 +0000</title>
      <description>&lt;p&gt;It works perfectly!
&lt;br /&gt;Thanks Gautham&lt;/p&gt;</description>
      <pubDate>Fri, 09 May 2008 02:51:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65236</guid>
      <author>evaristor</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Thu, 08 May 2008 16:56:02 +0000</title>
      <description>&lt;p&gt;Aditya, evaristo:
&lt;br /&gt;Implemented your requests.&lt;/p&gt;

&lt;p&gt;Thanks,
&lt;br /&gt;Gautham&lt;/p&gt;</description>
      <pubDate>Thu, 08 May 2008 16:56:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65237</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
    <item>
      <title>Archived Comments, replied by Gautham Pai @ Wed, 07 May 2008 04:40:23 +0000</title>
      <description>&lt;p&gt;Hello Aditya,&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;The issue is not to get until the present item. The issue is to know if the present item was open or not when you pressed Shift + U so that we can return to the exact state.&lt;/p&gt;

&lt;p&gt;Anyway, I will see if that can be done.&lt;/p&gt;</description>
      <pubDate>Wed, 07 May 2008 04:40:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:15591:65238</guid>
      <author>Gautham Pai</author>
      <link>http://userscripts.org/topics/15591</link>
    </item>
  </channel>
</rss>
