Google Reader for wider screens

By Assaf 1 Last update Dec 28, 2008 — Installed 32,451 times.

Updated for google.*

in
Subscribe to Updated for google.* 3 posts, 2 voices



Assaf 1 Script's Author

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:
http://www.google.com/supported_domains

 
Vaughan Chan... Scriptwright

Hi,

You should be able to replace the last 11 lines of the script with the following code and achieve the same results:


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)$/))
setRuleStyle(".entry .entry-body, .entry .entry-title", "max-width: 100%;");

You could also change the include to @include *google.* so it won't run on as many pages.

Vaughan

 
Assaf 1 Script's Author

Thanks, Vaughan. I did.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel