Post Reply 
Google Light Theme - fixed 2010-05-06
May. 09, 2010, 02:32 AM (This post was last modified: May. 09, 2010 07:23 PM by OZO.)
Post: #20
RE: Google Light Theme - fixed 2010-05-06
Guys, if you want to keep left side bar and, at the same time, use whole real estate of the page, here is yet another code for your pleasure. If you use all of the filters below Google page will hide the left side bar, when you load the page. There will be a small blue triangle where the side bar supposed to be. Click on it and it will show the hidden side bar. To hide it - hit the tirangle again...
Code:
Name = ". ++ Google Light Theme     10.05.08 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 32
Match = "<style( id=\"themed\"*>$INEST(<style,//-->|-->|</style))\1(*</style >)\2"
Replace = "<style\1\r\n"
          "/* Google Light Theme */\r\n"
          "a {text-decoration: none;}\r\n"
          "a:link, .q a:link, a.toplink:visited {color: #00A !important;}\r\n"
          "a:visited {color: #A0D;}\r\n"
          "a:active, .q a:active, a.fl:active {color: #D00 !important;}\r\n"
          "a:hover, .q a:hover, a.fl:hover {text-decoration: underline; color: #000 !important;}\r\n"
          "a.ProXPref:hover {color: #379CCD;}\r\n"
          "a.ProXPrefJs {color: #008 !important; }\r\n"
          "a.ProXPrefJs:visited {color: #A0D !important;}\r\n"
          "a.ProXPrefJs:active {color: #D00 !important;}\r\n"
          "a.ProXPrefJs:hover {color: #000 !important;}\r\n"
          ".odd {background: #F0F0FE; margin-bottom:0.7em !important;}\r\n"
          ".even {background: #F0FEF0; margin-bottom:0.7em !important;}\r\n"
          ".s {max-width: none !important; width: auto !important;}\r\n"
          "li {padding-left: .5em; padding-right: .5em;}\r\n"
          ".g {line-height: 16px; margin-top: 10px; margin-bottom: 10px;}\r\n"
          "div.mainspace {line-height: 3px;}\r\n"
          "div#cnt {max-width: none;}\r\n"
          "div.tsf-p {max-width: none; margin:0 1em;}/*make query window wider*/\r\n"
          "/* Fixing center column: */\r\n"
          "#center_col { margin: 0px; padding:0px;}\r\n"
          "\2"

Name = ". ++ Google - Hide left bar     10.05.08 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 15000
Match = "(<div id=leftnav)\1"
Replace = "\r\n<!-- Hide LeftNav Bar -->\r\n<style>#leftnav {visibility:hidden;border:solid 1px blue;}</style>\r\n<div style=\"position:absolute;top:-1.5em;left:0.2em;cursor:pointer;color:blue;font-size:75%;\" title=\"Toggle Left Bar\"  onclick=\"c=document.getElementById('leftnav').style;c.visibility!='visible'?(c.visibility='visible',this.innerHTML='&&#35;9668;'):(c.visibility='hidden',this.innerHTML='&&#35;9658;');return false;\">&&#35;9658;</div>\r\n\1$STOP()"

Name = ". ++ Google - No Logo     10.05.08 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div style="position:absolute;left*(<div class=tsf-p)\1"
Replace = "\r\n<!-- Removed Logo -->\r\n\1$STOP()"

Name = ". ++ Google - No Info bar     10.05.08 (!nn) [ozo] (o.s)"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 500
Match = "<div id=tbbc*</div>"
Replace = "\r\n<!-- Removed Info bar -->\r\n$STOP()"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Google Light Theme - fixed 2010-05-06 - OZO - May. 07, 2010, 06:06 AM
RE: Google Light Theme - fixed 2010-05-06 - OZO - May. 09, 2010 02:32 AM

Forum Jump: