<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Google Reader for wider screens | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/6415</link>
    <description>Recent comments on userscript: Google Reader for wider screens</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>is it working now? , replied by Assaf 1</title>
      <description>&lt;p&gt;I just checked with the latest FireFox and it works...&lt;/p&gt;</description>
      <pubDate>Wed, 22 Jul 2009 16:51:17 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:31261:149210</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/149210</link>
    </item>
    <item>
      <title>is it working now? , replied by l3utterfish</title>
      <description>&lt;p&gt;For me it isnt..&lt;/p&gt;</description>
      <pubDate>Wed, 22 Jul 2009 11:11:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:31261:149116</guid>
      <author>l3utterfish</author>
      <link>http://userscripts.org/posts/149116</link>
    </item>
    <item>
      <title>Updated for google.*, replied by Assaf 1</title>
      <description>&lt;p&gt;Thanks, Vaughan. I did.&lt;/p&gt;</description>
      <pubDate>Sun, 28 Dec 2008 18:51:50 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:19524:86561</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/86561</link>
    </item>
    <item>
      <title>Updated for google.*, replied by Vaughan Chandler</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;You should be able to replace the last 11 lines of the script with the following code and achieve the same results:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;if (location.hostname.match(/\.google\.(com|ad|ae|com.af|com.ag|com.ai|am|it.ao|com.ar|as|at|com.au|az|ba|com.bd|be|bg|com.bh|bi|com.bn|com.bo|com.br|bs|co.bw|com.by|com.bz|ca|cd|cg|ch|ci|co.ck|cl|cn|com.co|co.cr|com.cu|cz|de|dj|dk|dm|com.do|dz|com.ec|ee|com.eg|es|com.et|fi|com.fj|fm|fr|ge|gg|com.gh|com.gi|gl|gm|gp|gr|com.gt|gy|com.hk|hn|hr|ht|hu|co.id|ie|co.il|im|co.in|is|it|je|com.jm|jo|co.jp|co.ke|com.kh|ki|kg|co.kr|com.kw|kz|la|li|lk|co.ls|lt|lu|lv|com.ly|co.ma|md|mn|ms|com.mt|mu|mv|mw|com.mx|com.my|co.mz|com.na|com.nf|com.ng|com.ni|nl|no|com.np|nr|nu|co.nz|com.om|com.pa|com.pe|com.ph|com.pk|pl|pn|com.pr|pt|com.py|com.qa|ro|ru|rw|com.sa|com.sb|sc|se|com.sg|sh|si|sk|com.sl|sn|sm|st|com.sv|co.th|com.tj|tk|tl|tm|to|com.tr|tt|com.tw|co.tz|com.ua|co.ug|co.uk|com.uy|co.uz|com.vc|co.ve|vg|co.vi|com.vn|vu|ws|rs|co.za|co.zm|co.zw|cat)$/))
&lt;br /&gt;setRuleStyle(&quot;.entry .entry-body, .entry .entry-title&quot;, &quot;max-width: 100%;&quot;);
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You could also change the include to &lt;code&gt;@include *google.*&lt;/code&gt; so it won't run on as many pages.&lt;/p&gt;

&lt;p&gt;Vaughan&lt;/p&gt;</description>
      <pubDate>Sun, 28 Dec 2008 17:10:17 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:19524:86545</guid>
      <author>Vaughan Chandler</author>
      <link>http://userscripts.org/posts/86545</link>
    </item>
    <item>
      <title>Updated for google.*, replied by Assaf 1</title>
      <description>&lt;p&gt;Sorry it took me a while, but the script now works for any google.* URL. That is, not just google.com/, but any other international Google domain. Here's the list of them, just fyi: 
&lt;br /&gt;&lt;a href=&quot;http://www.google.com/supported_domains&quot;&gt;http://www.google.com/supported_domains&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 27 Dec 2008 09:53:36 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:19524:86405</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/86405</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Hi Vaughan,&lt;/p&gt;

&lt;p&gt;The long-list approach actually doesn't sound that bad. The list isn't that long anyway (found this: &lt;a href=&quot;http://www.google.com/supported_domains&quot;&gt;http://www.google.com/supported_domains&lt;/a&gt; ).&lt;/p&gt;</description>
      <pubDate>Mon, 03 Nov 2008 19:46:53 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51294</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51294</link>
    </item>
    <item>
      <title>Archived Comments, replied by Vaughan Chandler</title>
      <description>&lt;p&gt;Hi Assaf,&lt;/p&gt;

&lt;p&gt;Yes the regex would allow your code to run on google.bad.com but given that your script only modifies css rules then there doesn't seem to be any real security risk. There is no personal information being handled by the script and it does not result in any additional files accessed. Using the regex should not increase the risk of visiting google.bad.com.&lt;/p&gt;

&lt;p&gt;This is the only way I can think of to get your script to run on all Google sites without adding a huge URL list.&lt;/p&gt;

&lt;p&gt;By the way, if you decide to use it you should add the reader/view/ part to the regex.&lt;/p&gt;

&lt;p&gt;Vaughan&lt;/p&gt;</description>
      <pubDate>Mon, 03 Nov 2008 18:16:52 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51295</guid>
      <author>Vaughan Chandler</author>
      <link>http://userscripts.org/posts/51295</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Dapxin, weird, I had no idea Opera supported greasemonkey.&lt;/p&gt;

&lt;p&gt;Vaughan Chandler, the regex you supplied - and please correct me if I'm wrong - would still allow malicious sites to match if they look like this: &quot;http://www.google.bad.com&quot;. No?&lt;/p&gt;</description>
      <pubDate>Mon, 03 Nov 2008 17:31:46 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51296</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51296</link>
    </item>
    <item>
      <title>Archived Comments, replied by Dapxin</title>
      <description>&lt;p&gt;Google seems to have broken this for Opera. Its not been working in Opera 9.62 for few days now.&lt;/p&gt;</description>
      <pubDate>Sat, 01 Nov 2008 09:52:27 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51297</guid>
      <author>Dapxin</author>
      <link>http://userscripts.org/posts/51297</link>
    </item>
    <item>
      <title>Archived Comments, replied by JP Bourgeois</title>
      <description>&lt;p&gt;Works great!  Thank you.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Oct 2008 01:18:02 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51298</guid>
      <author>JP Bourgeois</author>
      <link>http://userscripts.org/posts/51298</link>
    </item>
    <item>
      <title>Archived Comments, replied by Vaughan Chandler</title>
      <description>&lt;p&gt;Hi Assaf,&lt;/p&gt;

&lt;p&gt;If you want the script to work on other TLDs you could change the @include statements as Zezinho suggested and then use the following code:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
&lt;br /&gt;if (window.location.href.toLowerCase().match(/^https?:\/\/www\.google\.([a-z]{2,3}|com?\.[a-z]{2,3})\//)) {
&lt;br /&gt;    // Your code here
&lt;br /&gt;}
&lt;br /&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This way your code should run only if &quot;www.google.&quot;, &quot;www.google.co.&quot; or &quot;www.google.com.&quot; is followed by any 2 or 3 letters and then a slash. This limits it to any 2 or 3 letter TLD, which seems reasonable. The only problem you should run into would be if somebody other than Google registers for a particular TLD.&lt;/p&gt;

&lt;p&gt;Disclaimer: I haven't tested the code, but it works in my head :)&lt;/p&gt;</description>
      <pubDate>Fri, 17 Oct 2008 16:17:40 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51299</guid>
      <author>Vaughan Chandler</author>
      <link>http://userscripts.org/posts/51299</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Sorry, Zezinho, I'm afraid your suggestion might cause my script to run on unintended websites, like:
&lt;br /&gt;&lt;a href=&quot;http://www.google.some_horrible_mal_site.com/reader/virus.php&quot;&gt;http://www.google.some_horrible_mal_site.com/re...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;:(&lt;/p&gt;

&lt;p&gt;Any idea how to regex/wildcard only TLDs?&lt;/p&gt;</description>
      <pubDate>Sun, 21 Sep 2008 19:04:42 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51300</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51300</link>
    </item>
    <item>
      <title>Archived Comments, replied by Zezinho</title>
      <description>&lt;p&gt;please change
&lt;br /&gt;&lt;pre&gt;
// @include        http://www.google.com/reader/*
// @include        https://www.google.com/reader/*
&lt;/pre&gt;
&lt;br /&gt;for
&lt;br /&gt;&lt;pre&gt;
http://www.google.*/reader/*
https://www.google.*/reader/*
&lt;/pre&gt;
&lt;br /&gt;because google change TLD in others countries.&lt;/p&gt;</description>
      <pubDate>Sun, 21 Sep 2008 12:51:45 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51301</guid>
      <author>Zezinho</author>
      <link>http://userscripts.org/posts/51301</link>
    </item>
    <item>
      <title>Archived Comments, replied by wei</title>
      <description>&lt;p&gt;Thanks! Works great.&lt;/p&gt;</description>
      <pubDate>Tue, 26 Aug 2008 08:35:11 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51302</guid>
      <author>wei</author>
      <link>http://userscripts.org/posts/51302</link>
    </item>
    <item>
      <title>Archived Comments, replied by Alysssa</title>
      <description>&lt;p&gt;Works perfectly!&lt;/p&gt;</description>
      <pubDate>Fri, 25 Jul 2008 10:51:23 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51303</guid>
      <author>Alysssa</author>
      <link>http://userscripts.org/posts/51303</link>
    </item>
    <item>
      <title>Archived Comments, replied by Charnita Fance</title>
      <description>&lt;p&gt;Thank you for this!!! Very helpful.&lt;/p&gt;</description>
      <pubDate>Sun, 20 Jul 2008 22:08:08 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51304</guid>
      <author>Charnita Fance</author>
      <link>http://userscripts.org/posts/51304</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Thanks for your comment, Alvin.
&lt;br /&gt;It works now http/https.&lt;/p&gt;</description>
      <pubDate>Fri, 15 Feb 2008 06:18:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51305</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51305</link>
    </item>
    <item>
      <title>Archived Comments, replied by Alvin</title>
      <description>&lt;p&gt;Ahh, figured it out. Sorry for the too-quick comment previous.&lt;/p&gt;

&lt;p&gt;If you use customizegoogle to use the https version of google reader, it won't work.&lt;/p&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:03:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51306</guid>
      <author>Alvin</author>
      <link>http://userscripts.org/posts/51306</link>
    </item>
    <item>
      <title>Archived Comments, replied by Alvin</title>
      <description>&lt;p&gt;Doesn't appear to make any difference.&lt;/p&gt;</description>
      <pubDate>Fri, 15 Feb 2008 05:01:27 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51307</guid>
      <author>Alvin</author>
      <link>http://userscripts.org/posts/51307</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;TheIrishGuy, I don't know what you mean, it doesn't happen to me. It's a one-liner script, really, so I doubt it messes with the sidebar.&lt;/p&gt;</description>
      <pubDate>Wed, 21 Nov 2007 09:29:06 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51308</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51308</link>
    </item>
    <item>
      <title>Archived Comments, replied by TheIrishGuy</title>
      <description>&lt;p&gt;Great script. Absolutely love it. Question though.
&lt;br /&gt;For whatever reason, the sidebar seems to appear and disappear depending on whether or not my mouse is hovering over the sidebar. Is that part of this script?
&lt;br /&gt;Thanks.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Nov 2007 00:05:25 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51309</guid>
      <author>TheIrishGuy</author>
      <link>http://userscripts.org/posts/51309</link>
    </item>
    <item>
      <title>Archived Comments, replied by madquark</title>
      <description>&lt;p&gt;Thanks again :)&lt;/p&gt;</description>
      <pubDate>Tue, 30 Oct 2007 11:03:03 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51310</guid>
      <author>madquark</author>
      <link>http://userscripts.org/posts/51310</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Updated. Works again.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Oct 2007 14:21:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51311</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51311</link>
    </item>
    <item>
      <title>Archived Comments, replied by madquark</title>
      <description>&lt;p&gt;Thank you for the update :)&lt;/p&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:16:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51312</guid>
      <author>madquark</author>
      <link>http://userscripts.org/posts/51312</link>
    </item>
    <item>
      <title>Archived Comments, replied by Assaf 1</title>
      <description>&lt;p&gt;Updated to fit new CSS&lt;/p&gt;</description>
      <pubDate>Sun, 10 Jun 2007 19:24:04 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:14384:51313</guid>
      <author>Assaf 1</author>
      <link>http://userscripts.org/posts/51313</link>
    </item>
  </channel>
</rss>
