Google Reader Minimalistic

By Scott Cowan Last update Jun 29, 2011 — Installed 23,293 times.

Updated Theme

in
Subscribe to Updated Theme 25 posts, 8 voices



Danny Bartlett User

Google have updated the default Reader theme as of today, so this script no longer works.

 
Jacky Scriptwright

I edited the script so that it work in new theme.

Hide Code:
document.getElementById('main').style.top = '0';
document.getElementById('lhn-add-subscription-section').style.display = 'none';

Display Code:
document.getElementById('main').style.top = '63px';
document.getElementById('lhn-add-subscription-section').style.display = 'block';

 
Scott Cowan Script's Author

Thanks Jacky, thats updated and I've trimed the margin and padding on the entry cards so theres less white space

 
jordidg Scriptwright

It's not working properly in Opera anymore, there's a lot of whitespace shown on the top and the bottom of the page

Edit: Found why it doesn't work properly, GM_addStyle isn't defined in opera, if you include the following code it's fixed

// Define GM_addStyle for compatibility with opera (http://www.howtocreate.co.uk/operaStuff/userjs/aagmfunctions.js)
if (typeof GM_addStyle == "undefined") {
  function GM_addStyle(css) {
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
      var node = document.createElement("style");
      node.type = "text/css";
      node.appendChild(document.createTextNode(css));
      heads[0].appendChild(node); 
    }
  }
}

 
Scott Cowan Script's Author

I'm testing that update on Opera 9.62 but it has a big white block on the bottom, it looks like its from the .entries having a height thats based on the header and footer existing. I'm looking at a fix

 
capi /. ethe... Scriptwright

however, on firefox it works rockingly great!

 
users2146x User

Really great script Scott.

Anyway to remove the star and >> symbol next to a post ?

I removed the "Friends'shared items" box and expansion line by adding "friends-tree-container" and "chrome-lhn-toggle" to the var ids but no luck with those. (I'm a noob at this.)

Firebug tell me that their names are

and
. I'm guessing since they are "class", that's why it doesn't work.

 
Scott Cowan Script's Author

you'll want to use firebug to inspect element.

if you give entry-icons a style of display:none it should take it out

 
users2146x User

The name were div class="entry-icons and div class="entry-title-go-to", didn't show up because I left the arrow symbols before and after.

It's working now by adding style :
GM_addStyle(".entry-icons { display:none !important; }");
GM_addStyle(".entry-title-go-to { display:none !important; }");

Thank you Scott.

 
Pete0r User

I'm having some trouble getting the script to "stick".. as in, I'd like it to be minimalized every time I load Google Reader. Right now I need to hit 'w' each time I load reader.

Any idea? If it matters, it's FF 3.0.4 on OS X 10.5.5.

Thanks! Awesome script!

 
Scott Cowan Script's Author

ya I'm getting that too, I'll look into it

 
Scott Cowan Script's Author

hmm still trying to find it. It seems like there might be some javascript to size the main on load or something.

I'm testing against a cleaned up version of the posted script. since there's some elements that don't exist anymore

 
Scott Cowan Script's Author

fixed

 
joebadmo User

Scott, appreciate your work, but the W functionality is still broken for me. I still have to resize to fix the whitespace, and it doesn't remember the w-position. I'm on FF3.05 on Vista. Thanks!

 
Scott Cowan Script's Author

Hmm I'm on vista with ff 3.0.5 and its working fine.

what's your screen resolution?
do you have the sidebar open?
what happens?

 
joebadmo User

My screen resolution is 1280x800, and it happens regardless of whether or not I have the ff window maximized. When I open google reader in ff, it always opens in the default state, with the header and sidebar showing. The sidebar toggles normally, but when I toggle the header away with 'w' it leaves a white space at the bottom of the window. If I resize the window or fullscreen with f11, the white space disappears and google reader appears as it should.

 
joebadmo User

It also does not remember that I have the header toggled to not show when I refresh the page, or when I close and open ff.

 
Scott Cowan Script's Author

sorry but are you running the latest copy? or the lifehacker better greader extension?

 
joebadmo User

I have tried both.

 
Scott Cowan Script's Author

ok so you start greader and its in fullscreen mode and you have to press w

if you hid the sidebar does it stay hidden?

do you have any other scripts running at the same time?

 
joebadmo User

The sidebar does not stay hidden either. I am not running any other scripts (I got greasemonkey specifically for this script).

Also, there's that whitespace at the bottom of the screen when I use 'w'.

 
Pete0r User

Same thing is happening to me.. everything works fine on my XP box, but I can't get it going on my mac. I disabled all of my other scripts and I'm not running the lifehacker add-ons.

 
Pete0r User

Ah, got it, went through and disabled all of my add-ons one-by-one. Google gears was the problem for me.

 
joebadmo User

Ok, yeah, I can confirm that it's google gears, or, at least it behaves differently with gears disabled. Now it just defaults to the top menu hidden and the sidebar showing, which is how I like it anyway, so that's fine. It would be nice if it played nice with gears, though.

 
Scott Cowan Script's Author

ok I'll test/fix that

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