![]() |
Re-styled Google Reader for 800x480 screens
Use Google Reader? Wish it displayed better on your N800/N810?
http://farm3.static.flickr.com/2123/...4e003b2d42.jpg (shown at 120% zoom) Add this to your ~/.mozilla/microb/chrome/userContent.css (or create it if you don't have one) Code:
@namespace url(http://www.w3.org/1999/xhtml);
|
Re: Re-styled Google Reader for 800x480 screens
If you add that to userContent.css then you've messed up any other site which has similar ids and class names, e.g. anything with a div id="logo" or id="search". You would be much better to put it into a greasemonkey script and only apply the css changes for those pages which need them. See userscripts.org for some of the existing scripts which you can use as a base for this.
|
Re: Re-styled Google Reader for 800x480 screens
Quote:
Quote:
I didn't know Greasemonkey works under MicroB... I'll have to look into that tomorrow! |
Re: Re-styled Google Reader for 800x480 screens
Ok, I didn't know you could restrict the user css that way. Thanks
Greasemonkey works well, the most annoying thing about it though is that CSS changes applied through greasemonkey don't take effect until the page has completely finished loading and for some pages that can be quite some time after it first displays. The advantages of course are that you don't need to restrict yourself just to CSS changes, you can also manipulate the DOM, plus there's a website all setup to act as a single repository for useful scripts (if I can encourage other people to start using it: tag any tablet scripts with 'maemo'). |
Re: Re-styled Google Reader for 800x480 screens
Yeah, Greasemonkey is pretty wonderful, particularly to change or add features/functionality to a site. But you make a good point about speed--while my desktop re-renders changes quickly enough, the tablet would choke a bit... I'm thinking that careful rules in userContent are probably the better way to do this as the rules get loaded before the page, and to use GM just for heavy lifting.
Incidentally, do you know Stylish, Greasemonkey's cousin? It specializes in just CSS mods, and hosts its scripts on userstyles.org. What's really clever is that userstyles can be loaded into Greasemonkey and Opera directly from the site. The other tool I've been using to squeeze the web onto my N800 is a bookmarklet for Mowser. |
Re: Re-styled Google Reader for 800x480 screens
Is stylish available for microb? If not, then perhaps it should be.
|
Re: Re-styled Google Reader for 800x480 screens
Quote:
|
Re: Re-styled Google Reader for 800x480 screens
um, ok maybe I am not getting it, but I dont even have a chrome folder in that location. Shouldnt I?
I 'created' a chrome folder and put a userConten.css in it, but it didn't do what it was supposed to. Am I looking in the wrong location? /home/user/.mozilla/?? -John |
Re: Re-styled Google Reader for 800x480 screens
Quote:
You're missing the microb dir, and the 2nd "t" in userContent.css |
Re: Re-styled Google Reader for 800x480 screens
oops, that was just in my post here, I was typing on the softkeyboard of the n800. but just to be sure.
Nokia-N800-50-2:/home/user/.mozilla/microb# ls -a . cert8.db extensions history.txt .parentlock secmod.db .. compreg.dat extensions.cache key3.db passwords.s xpti.dat .autoreg cookies.txt extensions.ini lock prefs.js is what I have on the N800 (os2008) There is no chrome folder and thereby no userContent.css I can create a chrome folder and the userContent.css however it doesn't seem to work when I do. if I am still looking in the wrong location then I really just don't get it ;) Thanks for your help, and I am sorry for the mispost. -John |
All times are GMT. The time now is 01:33. |
vBulletin® Version 3.8.8