There are 69 previous versions of this script.
the source is over 100KB, syntax highlighting in the browser is too slow
// ==UserScript==
// @name google Enhanced BLACK
// @description This Google Black script enhances all Google service pages with an inverted color-scheme for reduced eye fatigue; it also removes ads & clutter and improves page layout and readability by widening search results
// @version 2.9.8
// @date 2009-10-11
// @source http://userscripts.org/scripts/show/12917
// @identifier http://userscripts.org/scripts/source/12917.user.js
// @author gabedibble <gdibble@gmail.com>
// @namespace http://userscripts.org/people/24894
// @include htt*://*.google.*
// @include htt*://www.google.*/accounts*
// @include htt*://services.google.*
// @include htt*://www.google.*/voice*
// @include htt*://www.google.*/reader*
// @include htt*://*.googlelabs.*
// @exclude htt*://*.google.*/custom*
// ==/UserScript==
// GENUINE FREEWARE <3
// (CC) BY-NC-SA: This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. <http://creativecommons.org/licenses/by-nc-sa/3.0/us/>
// Change Log & To-Do Lists available @source (URI above)
// Feel free to leave suggestions/criticism on the UserScript Page or via email; THANX! =)
var scriptVersion = 1255329038744; //alert(Date.now());
var scriptFileURL = "http://userscripts.org/scripts/source/12917.user.js";
var scriptHomepageURL = "http://userscripts.org/scripts/show/12917";
var googleEnhancedBLACK; function enhanceGoogle() {googleEnhancedBLACK =
// General Google Page enhancements
/* Global font override */ "* {font-family:Trebuchet MS, Verdna;}" +
/* page bg */ "BODY {background:#000 none !important; color:#fff;}" +
/* link color */ "A, #gbar A.gb1, #gbar A.gb2, #gbar A.gb3, #guser A.gb3, SPAN.i, .linkon, #codesiteContent A, TABLE.mmhdr TBODY TR TD.mmttlinactive SPAN, TABLE TBODY TR TD TABLE TBODY TR TD A, .lk, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#related TABLE.gf-table TH.sortable, SPAN.linkbtn, DIV#ss-status A.gb3, SPAN#rptgl SPAN, A SPAN.b, .mmttl SPAN, A > SPAN.navlink, SPAN > SPAN.link, DIV#rptgl > SPAN, DIV#tbt-expander DIV, #guser SPAN > SPAN, DIV#ss-bar > DIV#ss-box > A, DIV#rpsp.rpop DIV.tl B {color:#6495ed !important;}" +
/* visited linx */ "A:visited {color:#406b80 !important;}" +
/* results visited linx */ "DIV#res A:visited {font-size:0.8em !important;}" +
/* google bar txt */ "#gbar SPAN {color:#999;}" +
/* google bar txt */ "#gbar DIV.gb1 {background-color:#c9d7f1 !important;}" +
/* google bar txt */ "#gbar DIV.gb2 {padding-top:0; padding-bottom:0; background-color:#c9d7f1 !important;}" +
/* google bar linx */ "#gbar A.gb1, #gbar B.gb1, #gbar A.gb3 {position:relative; bottom:0.2em; font-weight:bold !important; font-size:1.15em !important;}" +
/* google bar b-line */ "#gbh, .gbh {border-color:#777;}" +
/* top logos */ "#logo SPAN, DIV#regular_logo, TABLE[align='center'] TBODY TR TD DIV#logo, #search .logo, TABLE[width='100%'][cellpadding='2'] TBODY TR TD[width='1%'][valign='top'], #gc-header #logo, #header #logo, TABLE[style='margin: 0px 0px -6px 0pt; padding: 0px; width: 100%;'] TD[style='width: 153px;'], TABLE[align='center'] TBODY TR TD[width='155'][rowspan='2'], TABLE[align='center'] TBODY TR[valign='middle'] TD[width='135'], BODY[bgcolor='#ffffff'][topmargin='3'] CENTER TABLE[width='725'] TBODY TR TD TABLE[cellspacing='1'] TBODY TR TD[height='1'][bgcolor='#666666'], BODY > TABLE[width='100%'][style='direction: ltr;'] > TBODY > TR > TD, BODY > TABLE[width='100%'] > TBODY > TR > TD[width='100%'][style='padding-left: 15px;'], BODY.siteowners > TABLE[width='96%'] > TBODY > TR > TD[width='1%'], BODY > CENTER > DIV > TABLE[width='739'] > TBODY > TR > TD[width='100%'], BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD[width='1%'], TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='1%'][valign='top'], BODY.search > TABLE[width='95%'] > TBODY > tr[valign='top'] > TD[width='1%'], BODY > DIV#container > DIV#header > DIV[style='float: left; width: 155px;'], BODY > TABLE[width='100%'][height='100%'][style='margin-bottom: 1px;'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'][cellspacing='2'] > TBODY > TR > TD[width='1%'], BODY[onload='sf()'] > CENTER > FORM > TABLE#frame > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD[width='100%'] > TABLE > TBODY > TR > TD[width='100%'] > TABLE > TBODY > TR > TD > DIV[style='margin: 5px 0pt 4px 4px; background: transparent url(/images/firefox/sprite.png) no-repeat scroll 0pt -95px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; height: 23px; width: 80px;'], A#logo, A#glogo, BODY.answer_page TABLE.header_table > TBODY > TR > TD.header_logo_td, CENTER > H1#ps-logo, BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > CENTER > TABLE > TBODY TR > TD[align='left'] > TABLE > TBODY > TR > TD[valign='top'] > DIV, BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[valign='top'] > DIV, BODY > TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD[width='1%'], BODY > DIV#wrapper > DIV#header_logo, BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#browse-header > TABLE > TBODY > TR:first-child > TD:first-child, BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#search-header, BODY.sp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#browse-header > TABLE > TBODY > TR:first-child > TD:first-child, BODY > CENTER > DIV#videoheader > TABLE.table-header > TBODY > TR > TD.td-logo, BODY#search-results-body > DIV#videoheader > TABLE.table-header > TBODY > TR > TD.td-logo, BODY > DIV > DIV#videoheader > TABLE > TBODY > TR > TD:first-child, BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#page-header > TABLE > TBODY > TR > TD:first-child, BODY > FORM[name='f'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'][style='clear: left;'] > TBODY > TR > TD:first-child, BODY > DIV#whole > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD, BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD, DIV[style='background: transparent url(/intl/en_com/images/logo_plain.png) no-repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; height: 110px; width: 276px;'], BODY > FORM > TABLE#sft > TBODY > TR > TD.tc, BODY > DIV[style='clear: both;'] > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[style='padding-bottom: 8px; padding-top: 2px;'], BODY > DIV#top_search_bar > DIV[style='padding: 1px 10px 0px 6px; float: left;'], BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='clear: both;'] > TBODY > TR > TD[valign='top'][rowspan='2'], BODY#search-results-body > DIV#videoheader > TABLE.table-header > TBODY > TR > TD:first-child, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section > DIV.g-unit > DIV.sfe-logo > A > DIV.SP_logo, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section > DIV.g-unit > DIV.sfe-logo > A > DIV.SP_logo, BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > DIV.sfe-logo > A > DIV.SP_logo, BODY DIV.g-doc DIV.g-section > DIV.g-unit > DIV.sfe-logo, BODY > DIV#hp-cont > H1#hp-logo, BODY > FORM > DIV#advd-search-header > TABLE:first-child > TBODY > TR > TD[width='1%']:first-child, BODY > SPAN#main > DIV#header > DIV#sform > FORM#tsf > TABLE#sft > TBODY > TR > TD:first-child > H1, BODY[vlink='#551a8b'] > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD:first-child, BODY > FORM[name='f'] > TABLE[width='99%'] > TBODY > TR:first-child > TD[width='1%'], BODY > DIV > TABLE#srch_box_t > TBODY > TR > TD:first-child, BODY[bgcolor='#ffffff'] > TABLE[width='100%'] > TBODY > TR:first-child > TD[width='143']:first-child, BODY > TABLE[style='margin: 7px 3px; clear: both;'] > TBODY > TR:first-child > TD:first-child, BODY > DIV#srp-header > FORM[name='f'] > TABLE > TBODY > TR > TD:first-child, BODY > TABLE#sft > TBODY > TR > TD.tc, BODY[bgcolor='#ffffff'] > TABLE[style='margin: 9px 0px 11px; clear: both;'] > TBODY > TR > TD[valign='top'][rowspan='2'], BODY > DIV#h > TABLE:first-child > TBODY > TR > TD:first-child, BODY > DIV#headerdiv > TABLE[width='100%']:first-child > TBODY > TR:first-child > TD[width='1%'][valign='top'], BODY > DIV#masthead > TABLE.searchbar > TBODY > TR#logo-section > TD.searchbar-logo, BODY > DIV[style='clear: both;'] > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[style='padding-bottom: 8px; padding-top: 2px;'], BODY.e > DIV.h TABLE#gn_ph > TBODY > TR:first-child > TD[align='right']:first-child, BODY > SPAN#main > CENTER > SPAN#body > CENTER > DIV#logo {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}" +
/* intl home logoHeight o.r. */ "BODY > SPAN#main > CENTER > SPAN#body > CENTER > DIV#logo {height:110px !important;}" +
/* CONDITIONAL-EVALUATION related to Homepage Special Logo [exception for g.Images-homepage] */
((($('logo') && $('logo').alt == 'Google') || location.href.indexOf('images.google.') > -1) ?
/* insert logo img */ "BODY[vlink='#551a8b'] > DIV#xjsd, BODY > SPAN#main > CENTER > DIV#xjsd {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}" +
/* intl logo mover */ "BODY[vlink='#551a8b'] > DIV#xjsd, BODY > SPAN#main > CENTER > DIV#xjsd {position:absolute; top:100px; left:0; width:100% !important; background-position:center !important;}"
: "") +
(($('logo') && $('logo').alt != 'Google' && location.href.indexOf('images.google.') == -1) ?
"" :
/* large logo hide */ "BODY > CENTER IMG[onload='window.lol&&lol()']#logo, BODY > CENTER DIV[onload='window.lol&&lol()']#logo, BODY > SPAN#main > CENTER > SPAN#body > CENTER > IMG#logo, BODY > SPAN#main > CENTER > SPAN#body > CENTER DIV#logo {visibility:hidden; min-height:110px;}") +
/* search input */ "INPUT[type='text'], INPUT[type='password'], INPUT[name='q'] {background:#333 none !important; color:#fff; padding:2px; border:solid 1px #ccc; font-weight:bold; color:#ff0 !important;}" +
/* submit btns */ "INPUT[type='submit'], INPUT[value='Cancel'], INPUT[value='Save'], BUTTON, INPUT#stxemailsend, INPUT[value='Discard'], BUTTON[type='submit'], INPUT[value='Download'], INPUT[value='Add it now'] {background-color:#333; border:solid 1px #ccc; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#fff !important; cursor:pointer;}" +
/* submit btn hover */ "INPUT[type='submit']:hover, BUTTON[type='submit']:hover {background-color:#36f; color:#fff;}" +
/* div btn outer */ ".goog-button-base-outer-box {border-top-color:#555; border-bottom-color:#333;}" +
/* div btn inner */ ".goog-button-base-inner-box {border-left-color:#555; border-right-color:#333; background-color:#555;}" +
/* div btn inner txt */ ".goog-button-base-content {color:#bbb !important;}" +
/* div btn inner txtH */ ".goog-button-base-content:hover {color:#fff !important;}" +
/* div btn T-shadow */ ".goog-button-base-top-shadow {background-color:#777; border-bottom-color:#555;}" +
/* div btn restrict */ "#search-restrict {border-bottom-color:#000;}" +
/* menu dropd folder */ "DIV.goog-menu > DIV.goog-menuitem > DIV.goog-menuitem-content {color:#ccc !important;}" +
/* menu dropd item */ "DIV.goog-menu > DIV.goog-menuitem {background-color:#222; color:#999 !important;}" +
/* menu dropd itemHov*/ "DIV.goog-menu > DIV.goog-menuitem:hover {background-color:#333; color:#ccc !important;}" +
/* home international txt */ "DIV[style='background: transparent url(/intl/en_com/images/logo_plain.png) no-repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; height: 110px; width: 276px;'] > DIV[style='color: rgb(102, 102, 102); font-size: 16px; font-weight: bold; left: 208px; position: relative; top: 78px;'] {top:-18px !important; left:180px !important; color:#fff !important;}" +
/* more pop layer */ "SPAN#more, #gbar .gb2 {background-color:#333 !important; border-right:solid 1px #a2bae7; border-bottom:solid 1px #a2bae7; color:#333 !important;}" +
/* google alerts txt */ "P[style='margin-left: 9px;'], SPAN[style='font-size: medium;'] {color:#999;}" +
/* mainbody txt */ "DIV.mainbody, TD.j, DIV.empty, DIV.empty DIV, BODY#gsr DIV, BODY#gsr TD {color:#999 !important;}" +
/* remove footers */ "#footer, #footer_promos, #footerwrap, P FONT[size='-2'], TABLE[class='t n bt'][width='100%'][cellpadding='2'], DIV[align='center'][style='white-space: nowrap;'], FONT[class='p'][size='-1'], FONT[size='-1'][color='#6f6f6f'], DIV.div-copyright, SPAN.copyr, DIV.content DIV.footer, DIV#footarea, TABLE[width='99%'][cellpadding='3'][bgcolor='#c3d9ff'][align='center'][style='margin-bottom: 5px;'], CENTER > DIV[style='padding: 2px;'] > FONT[size='-1'], CENTER > CENTER > P > FONT[size='-1'], BODY.search > DIV[align='center'] > SMALL > FONT[size='-1'][face='Arial, sans-serif'], BODY > TABLE[width='100%'][height='100%'][style='margin-bottom: 1px;'] > TBODY > TR > TD[valign='top'] > CENTER > FONT[size='-1'], BODY > CENTER > TABLE[width='100%'][cellspacing='0'][cellpadding='2'][border='0'] *, DIV[class='padt10 padb10'] > TABLE[width='100%'] > TBODY > TR > TD[class='fontsize1 padt5'][align='center'], BODY[marginheight='3'][bgcolor='#ffffff'][dir='ltr'][topmargin='3'] > CENTER > FONT[size='-1'], BODY > DIV[style='width: 100%; clear: both;'] > FORM[name='langform'] > DIV[align='center'] > FONT[size='-1'] {display:none;}" +
// Preferences
/* pre title line */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM > TABLE TBODY TR TD[bgcolor='#3366cc'], BODY> DIV[style='width: 100%; clear: both;'] > FORM > TABLE TBODY TR TD[bgcolor='#3366cc'] {display:none;}" +
/* title header txt */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM > TABLE TBODY TR TD[bgcolor='#e5ecf9'] FONT B {color:#999 !important;}" +
/* headers */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM > TABLE TBODY TR TD[bgcolor='#e5ecf9'], TABLE TBODY TR[bgcolor='#e5ecf9'], TABLE > TBODY > TR > TD[bgcolor='#e5ecf9'] {background-color:#000;}" +
/* global borders */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM > TABLE > TBODY > TR > TD[bgcolor='#cbdced'] {display:none;}" +
/* page txt */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM H1, BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM H2, BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM LABEL, TABLE#gsea_table > TBODY > TR > TD DIV {color:#ccc !important;}" +
/* subscribed links */ "BODY[vlink='#551a8b'][text='#000000'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > DIV[style='width: 100%; clear: both;'] > FORM > TABLE > TBODY > TR > TD[valign='top'] > IFRAME[src='http://www.google.com/coop/sl/pref'] {padding-left:9px; background-color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// iGoogle Homepage enhancements
/* header */ "#guser, #guser *, #gbar, #gbar * {background-color:transparent !important; font-family:Trebuchet MS, Verdna !important; color:#ccc;}" +
/* header Themed BG */ "#nhdrwrap {background-color:transparent;}" +
/* search btn spacing */ ".gseain INPUT[type='submit'], INPUT[name='btnG'], INPUT[name='btnI'] {margin-top:5px; margin-right:30px; margin-left:30px;}" +
/* go btns hover */ "INPUT#btnI:hover, INPUT[name='btnI']:hover, INPUT[value='Save']:hover, SPAN#button_0 BUTTON:hover, INPUT#stxemailsend:hover, INPUT[value='Submit Issue']:hover, INPUT[value='Download']:hover, INPUT[value='Add it now']:hover, INPUT[value='Add it now'], INPUT[value='Save Preferences']:hover, INPUT[value='Save Preferences ']:hover {background-color:#090; color:#fff;}" +
/* setup block */ "DIV.setup_div {background-color:#333; border:solid 1px #ccc; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* setup title txt */ "DIV.setup_title_welcome, DIV.setup_promo, DIV.setup_promo_subtext, DIV#promo {color:#999 !important;}" +
/* create cntnr */ "FORM#_setup > DIV#box {border:0 none;}" +
/* create heading */ "FORM#_setup > DIV#box > DIV#box_heading {background-color:#222; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* create body */ "FORM#_setup > DIV#box > DIV#box_body {background-color:#333; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* create body txt */ "FORM#_setup > DIV#box > DIV#box_body DIV, FORM#_setup > DIV#box > DIV#box_body TD {color:#ccc !important;}" +
/* nav top gradient 1 */ "#nhdrwrapinner > .gradient > B {background-color:#171717 !important;}" +
/* nav top gradient 2 */ "#nhdrwrapinner > .gradient > B > B {background-color:#252525 !important;}" +
/* nav top gradient 3 */ "#nhdrwrapinner > .gradient > B > B > B {background-color:#333 !important;}" +
/* nav container */ "TABLE > TBODY > TR > TD#col1 {width:134px; background-color:#333; border-color:#333;}" +
/* nav bg */ "#full_nav {background-color:#333;}" +
/* nav tab color */ "#full_nav H2 {color:#6495ed;}" +
/* nav separators */ "#full_nav .topline, #full_nav .bottomline {visibility:hidden;}" +
/* nav first tab */ "#full_nav #section0_contents.selected_section_contents {margin-top:20px;}" +
/* nav selected tab */ "#full_nav .leftselectedtab {background-color:#000; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* nav non selected tab */ "#full_nav .leftunselectedtab {background-color:#333;}" +
/* nav non selected tab */ "#full_nav .leftselectedtab, #full_nav .leftunselectedtab, #full_nav .bottom_nav, #col1_contents .leftborder {border:0 none;}" +
/* nav chat separator */ "DIV#chat_nav > DIV#tab_separator_bot {visibility:hidden;}" +
/* remove nav selection rnds */ "#full_nav B[class='rnd_tab left_rounded_only'] {visibility:hidden;}" +
/* alert / promo box */ "DIV#undel_box, .header_promo {background-color:#333; border:1px solid #ff0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#ff0 !important;}" +
/* alert / promo box link */ "DIV#undel_box A, .header_promo A {color:#f00 !important;}" +
/* skins box title */ "H2.modtitle_s {background-color:#feffc5; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* skins box title txt */ "H2.modtitle_s B {color:#000 !important;}" +
/* skins box body */ "DIV#skinbox_b {background-color:#000; border:solid 1px #feffc5 !important;}" +
/* skins box themes */ "DIV.skinthsel B, DIV.skinth B {color:#000 !important;}" +
/* dialog box */ "DIV#IG_PU_box > TABLE.dialog TBODY TR TD DIV {background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;;}" +
/* dialog box txt */ "LABEL[for='share_userprefs'], TABLE#email TBODY TR TD, TABLE#email TBODY TR TD DIV {color:#999 !important;}" +
/* dialog box btns */ "DIV#IG_PU_box > TABLE.dialog TBODY TR TD DIV#buttons {padding-bottom:10px;}" +
/* add tab dialog */ "BODY.mozilla> DIV#IG_PU_box TABLE.dialog TBODY TR TD DIV.outerborder DIV {color:#999 !important;}" +
/* new tab txt */ "#modules > TABLE[width='98%'][cellspacing='10'][align='center'] > TBODY > TR > TD > DIV[align='center'][style='padding-bottom: 100px;'] {color:#999 !important;}" +
/* module border */ ".modbox, .modbox_e {background-color:#000; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* module bg */ ".modboxin, .modboxin IFRAME HTML BODY {background-color:#fff !important;}" +
/* module border */ ".modboxin, .modboxin_s, .modtitle {border:0 none !important;}" +
/* module area container */ "TABLE > TBODY > TR > TD#col2 {background-color:#333; border:0 none;}" +
/* module area header rndng */ "TABLE > TBODY > TR > TD#col2 > #rcbg {display:none;}" +
/* module area bg */ "#modules {background-color:#000; -moz-border-radius-topleft:20px;}" +
/* module area btm spacing */ "#modules > .yui-b {margin-bottom:-0.3em; padding-top:0.2em;}" +
/* module title rndng */ "B.rnd_modtitle {display:none;}" +
/* module title bg */ ".modtitle {-moz-border-radius-topleft:14px; -moz-border-radius-topright:14px; background-color:#333 !important;}" +
/* module title txt */ ".modtitle_text,.mtlink {position:relative; top:1px; left:1px; color:#999 !important;}" +
/* module options buttons */ ".modtitle .v2enlargebox, .modtitle .v2ddbox, .modtitle .v2dragbox {position:relative; top:2px; right:3px;}" +
/* module settings line */ "DIV.meditbox {margin-top:0; border:0;}" +
/* module settings txt */ "DIV.meditbox DIV, DIV.meditbox TD, DIV.meditbox SPAN, DIV.meditbox NOBR {color:#999 !important;}" +
/* module inner detail txt */ ".modboxin FONT {color:#000 !important;}" +
/* cancel btn hover */ "INPUT[value='Cancel']:hover, SPAN#button_1 BUTTON:hover, INPUT[value='Discard']:hover, INPUT[value='Delete Group']:hover {background-color:#990000 !important; color:#fff !important;}" +
// Theme Selection Box
/* outer box & hdr */ "DIV#indi, DIV#indi_top {border:0 none; background-color:#333; color:#999 !important;}" +
/* headline & selctn */ "DIV#indi H1, DIV#indi DIV SPAN.indi_current_item {color:#fff !important;}" +
/* inner desc txt */ "DIV#indi DIV SPAN {color:#777 !important;}" +
/* inner txt */ "DIV#indi DIV {color:#ccc !important;}" +
/* theme select indc */ "DIV#indi DIV DIV.indi_undo {background-color:#333 !important; border:0 none !important; color:#ffaa1c !important; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px;}" +
// Module-specific Requests
/* gmail */ "HTML > BODY > DIV > #modules A B {color:#36a !important;}" +
/* youtube video */ "HTML > BODY > DIV > DIV#middle, HTML > BODY > DIV > DIV#uppernav, HTML > BODY > DIV > DIV#searchFooter {background-color:#fff;}" +
/* confucius quotes */ "DIV#modules DIV#remote_56 > IFRAME#remote_iframe_56 {overflow:hidden !important; height:11.6em !important;}" +
/* quotes of the day */ "DIV.modboxin > DIV[style='padding-top: 4px; padding-bottom: 4px;'] {color:#000;}" +
/* weather */ "DIV#modules DIV.w_box, DIV#modules DIV.w_box DIV {height:8em; overflow:visible; font-size:11px;}" +
// Add Stuff / Themes Directory
/* logo img */ "BODY > DIV#wrapper > DIV#header_logo > A > IMG.backlink_logo, TD[width='1%'] > A > IMG[src='http://img0.gmodules.com/ig/images/igoogle_logo_sm.gif'] {display:none;}" +
/* header tabs */ "BODY > DIV#wrapper > DIV#header > UL.header_tab {margin-left:170px; border:0 none; background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header selectdTab */ "BODY > DIV#wrapper > DIV#header > UL.header_tab > LI.selected, BODY > DIV#wrapper > DIV#header > UL.header_tab > LI.selected > A {border:0 none; background-color:#333; font-weight:bold; text-decoration:none; color:#fff !important;}" +
/* body txt */ "BODY > DIV#wrapper * {color:#ccc;}" +
/* body header */ "BODY > DIV#wrapper > DIV.page_table > DIV.main_content > TABLE[width='99%'][cellspacing='0'] TD, DIV.main_content > DIV#promo > TABLE[width='99%'] > TBODY > TR > TD {background:none #000 !important; color:#999 !important;}" +
/* body header line */ "BODY > DIV#wrapper > DIV.page_table > DIV.main_content > TABLE[width='99%'][cellspacing='0'] {border-bottom:6px solid #333;}" +
/* r-module top */ "BODY > DIV#wrapper > DIV.page_table > DIV.right_sidebar .module > H3, BODY > DIV#wrapper > DIV#sidebar > DIV.module > H3 {background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; color:#ccc !important;}" +
/* r-module bottom */ "BODY > DIV#wrapper > DIV.page_table > DIV.right_sidebar .module, BODY > DIV#wrapper > DIV#sidebar DIV.module {min-height:34px; padding-bottom:5px; background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#000 !important;}" +
/* r-module feat */ "BODY > DIV#wrapper > DIV#sidebar DIV#featured.module {padding:0 7px 7px 7px;}" +
// /* header box */ "#wrapper #header .header_title {background-color:#333; border:0 none !important; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#000 !important;}" +
// /* menu headers */ "#wrapper #container #nav LI.navhead {margin-top:25px; padding:0 3px 0 3px; background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; color:#000;}" +
// /* gadget txt */ "#wrapper #container #gadget-info TABLE TBODY TR TD, #wrapper #container #comments DIV, #wrapper #container #pagehead, #wrapper #container #search_main DIV, #wrapper #container UL#nav, #wrapper #container DIV#main DIV {color:#999 !important;}" +
// /* added msg */ "#wrapper #container #main DIV DIV DIV[class='added fixedwidth'][style='display: block;'] {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// /* screenshot border */ "#wrapper #container #gadget-info TABLE TBODY TR TD.screenshot-box IMG {border:0;}" +
// /* sidebar item head */ "#wrapper #sidebar DIV.module H3 {background:#333; padding-bottom:5px; border:0; -moz-border-radius-topleft:14px; -moz-border-radius-topright:14px; color:#000;}" +
// /* sidebar item */ "#wrapper #sidebar DIV.module {background:#000; padding-bottom:20px; border:0; moz-border-radius-bottomleft:14px; -moz-border-radius-bottomright:14px; color:#999 !important;}" +
/* makeyourown head */ "BODY > DIV#gm_blue_bar > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD > DIV#bluebar {background-color:#333; border:0 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* makeyourown title */ "BODY > CENTER > DIV#gm_sign_in > TABLE > TBODY > TR > TD#gm_sign_in_steps > DIV:first-child, BODY > CENTER > DIV#gm_desc {color:#fff !important;}" +
/* makeyourown txt */ "BODY > CENTER > DIV#gm_sign_in > TABLE > TBODY > TR > TD#gm_sign_in_steps > DIV, BODY > CENTER > DIV#gm_sign_in > TABLE > TBODY > TR > TD#gm_sign_in_steps > DIV.gm_step, BODY > CENTER > DIV#gm_choices DIV, BODY > CENTER > DIV#gm_wizard DIV, BODY > CENTER > DIV#gm_wizard TD, BODY > CENTER > DIV#gm_send DIV, BODY > CENTER > DIV#gm_publish TD, BODY > CENTER > DIV#gm_publish DIV {color:#999 !important;}" +
/* makeyourown num */ "BODY > CENTER > DIV#gm_sign_in > TABLE > TBODY > TR > TD#gm_sign_in_steps > DIV.gm_step > SPAN.gm_num {background:none #333; color:#fff;}" +
/* makeyourown start */ "BODY > CENTER > DIV#gm_sign_in > TABLE > TBODY > TR > TD > DIV#gm_sign_in_box {background-color:#333 !important; border:0 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// Google Search Results Page enhancements
/* logo */ "BODY#gsr > DIV#header > FORM#tsf > TABLE#sft > TBODY > TR > TD > H1 > A#logo > IMG, BODY > SPAN#main > DIV#header > DIV#sform > FORM#tsf > TABLE#sft > TBODY > TR > TD:first-child > H1 > A#logo > IMG, BODY > SPAN#main > DIV DIV#sform > FORM#tsf > TABLE#sft > TBODY > TR[valign='top'] > TD[style='padding-right: 8px;'] > H1 > A#logo > IMG, BODY#gsr > DIV#cnt > FORM#tsf > TABLE#sft > TBODY > TR[valign='top']:first-child > TD:first-child > H1 > A#logo > IMG {display:none;}" +
/* search container */ "BODY#gsr > DIV#header > FORM#tsf > TABLE#sft > TBODY > TR > TD#sff > TABLE.ts, BODY#gsr > DIV#header > FORM#tsf > TABLE#sft > TBODY > TR > TD#sff > TABLE.ts > TBODY > TR > TD:first-child, BODY#gsr > DIV#header > FORM#tsf > TABLE#sft > TBODY > TR > TD#sff > TABLE.ts > TBODY > TR > TD > INPUT[name='q'] {width:80%;}" +
/* search suggest bg */ ".gac_m, .gac_m *, .google-ac-a, .google-ac-a * {background-color:#222 !important; color:#999 !important;}" +
/* search suggest hover */ ".gac_b .gac_c, .gac_b .gac_c *, .google-ac-b, .google-ac-b *, .google-ac-e, .google-ac-e * {background-color:#444 !important; color:#fff !important;}" +
/* search within logo */ "TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > A > IMG[width='200'][height='78'][alt='Google'], A#logo IMG[src='/images/experimental_sm.gif'], A#logo > IMG[width='150'][height='105'], A#logo > IMG[src='/images/nav_logo4.png'] {display:none;}" +
/* search within txt */ "TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > CENTER > FONT > b {position:relative; top:68px;}" +
/* search header bar */ "TABLE[class='t bt'], DIV#ssb {padding-right:0.4em; padding-left:0.7em; background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header bar experiment dd */ "DIV.std SPAN[style='background: rgb(255, 255, 255) none repeat scroll 0% 0%; float: right; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; position: relative;'] {background-color:#000 !important;}" +
/* search header bar */ "TABLE[class='ft t bb bt'] {border:0; border-top:1px}" +
/* outer result cntnr */ "BODY#gsr > DIV#cnt {max-width:100%;}" +
/* result-area width [DYNMC] */ "DIV#res {width:" + resW + "% !important;}" +
/* remove sponsored linx */ "DIV#tads {display:none;}" +
/* refine results txt */ "TABLE#po TBODY TR TD, TD#sff > DIV#bsb {color:#999 !important;}" +
/* sponsored linx */ "DIV#res DIV.ta, BODY#gsr > TABLE#mbEnd {display:none;}" +
/* result-area txt */ "DIV#res P, DIV#res .j, DIV.sml, DIV.std, DIV#res OL LI, DIV#res OL LI DIV ,BODY > SPAN#main > DIV#cnt > DIV#res > SPAN#topstuff > DIV.e > DIV.std TD {color:#999 !important;}" +
/* description width */ "TD.j, OL > LI.g > DIV.s {width:100% !important; max-width:100% !important;}" +
/* description color */ "FONT {color:#999;}" +
/* result spacing */ ".g {margin:0.5em 0; padding-bottom:1em; border-bottom:1px dotted #222;}" +
/* bottom related txt */ ".r, BODY > SPAN#main DIV#cnt > DIV#res > SPAN#botstuff > DIV.e > TABLE#brs > CAPTION {color:#aaa;}" +
/* bottom related selection */ "TABLE#brs.ts > TBODY > TR > TD > A > B {color:#aaa !important;}" +
/* nav bar */ "#navbar {position:relative; left:33%; width:400px;}" +
/* options L-sidebar cntnr */ "DIV#tbd.med {background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* options L-sidebar title */ "DIV#tbd.med DIV.tbos {color:#fff !important;}" +
/* r-side ads */ "#rhscol {display:none;}" +
/* footer logo(s) */ "#navbar DIV,#navbar IMG, TABLE#nav SPAN#nf, TABLE#nav SPAN#nc, TABLE#nav SPAN.nr, TABLE#nav SPAN#nn, DIV#np, TABLE#nav > TBODY > TR[valign='top'] > TD.b > SPAN, TABLE#nav > TBODY > TR[valign='top'] > TD.cur > SPAN, TABLE#nav > TBODY > TR[valign='top'] > TD > A > SPAN.csb {height:0px; background:none;}" +
/* footer bg */ "TABLE[class='ft t bb bt'], DIV.clr > DIV#bsf, DIV.clr > P.blk, BODY#gsr > DIV > DIV#bsf {background-color:#000 !important; border-top:0 none; border-bottom:0 none;}" +
// Advanced Search
/* header bar line */ "BODY > TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] {border-top:0 none !important;}" +
/* header bar L */ "BODY > TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] > TBODY > TR > TD.page-title {background-color:#333; border:0; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* header bar R */ "TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] > TBODY > TR > TD[bgcolor='#d5ddf3'][align='right'] {background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px;}" +
/* title top */ "BODY > TABLE[width='100%'][cellspacing='0'][cellpadding='0'] > TBODY > TR > TD[align='center'] > TABLE[cellspacing='0'][cellpadding='0'][style='margin-top: 1em; width: 80%;'] > TBODY > TR > TD[align='left'] > DIV.outer-box > DIV.qbuilder-env, BODY > TABLE[width='100%'][cellspacing='0'][cellpadding='0'] > TBODY > TR > TD[align='center'] > TABLE[cellspacing='0'][cellpadding='0'][style='margin-top: 1em; width: 80%;'] > TBODY > TR > TD[align='left'] > DIV.outer-box > DIV.qbuilder-env * {border-color:#333; background-color:#000 !important; font-weight:bold; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* lower form */ "BODY > TABLE[width='100%'][cellspacing='0'][cellpadding='0'] > TBODY > TR > TD[align='center'] > TABLE[cellspacing='0'][cellpadding='0'][style='margin-top: 1em; width: 80%;'] > TBODY > TR > TD[align='left'] > DIV.outer-box > FORM[name='f'].block {border-color:#333; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* related box */ "BODY > TABLE[width='100%'][cellspacing='0'][cellpadding='0'] > TBODY > TR > TD[align='center'] > TABLE[cellspacing='0'][cellpadding='0'][style='width: 80%;'] > TBODY > TR > TD[align='left'] > DIV#related.block {border-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// /* refine box */ "TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE > TBODY > TR > TD[align='center'] > TABLE[style='margin-top: 1em; width: 80%;'] > TBODY > TR > TD[align='left'] > DIV.outer-box > *, BODY > TABLE[width='100%'][height='100%'][style='margin-bottom: 1px;'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[align='center'] > TABLE[style='width: 80%;'] > TBODY > TR > TD[align='left'] > DIV#related {border:0 none; background-color:#000;}" +
// /* gen-query */ "TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE > TBODY > TR > TD[align='center'] > TABLE[style='margin-top: 1em; width: 80%;'] > TBODY > TR > TD[align='left'] > DIV.outer-box > DIV.qbuilder-env > DIV#gen-query {border:0 none; background-color:#000; font-size:1.5em; font-weight:bold; color:#ff0 !important;}" +
// /* page specific txt */ "BODY > TABLE[width='100%'][cellspacing='2'][cellpadding='0'][border='0'][style='margin-top: 1em;'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD[align='center'] > TABLE[style='width: 80%;'] > TBODY > TR > TD[align='left'] > DIV#related > DIV > H3 {font-size:1.3em; color:#ff0 !important;}" +
/* form & page txt */ "DIV.outer-box > FORM.block H3, DIV.outer-box > FORM.block LABEL, DIV.spec-engines > H3 {color:#999;}" +
/* footer */ "BODY > CENTER:last-child > FONT[size='-1'], BODY > CENTER:nth-last-child(2) > FONT[size='-1'] {display:none;}" +
// Quality Form
/* header bar */ "BODY[marginheight='3'][bgcolor='#ffffff'][topmargin='3'] > FORM > TABLE[width='100%'][cellpadding='2'] > TBODY > TR > TD[class='t bt'] {padding-left:10px; background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* form box bg */ "BODY[marginheight='3'][bgcolor='#ffffff'][topmargin='3'] > FORM > BLOCKQUOTE > P > TABLE[cellpadding='10'][bgcolor='#cbdced'] {background-color:#000 !important;}" +
/* bottom line */ "BODY[marginheight='3'][bgcolor='#ffffff'][topmargin='3'] > CENTER > DIV[class='t n bt'][style='padding: 2px;'] {display:none;}" +
// Language Tools
/* top line */ "BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'][onload='ht();'] TABLE.header TD, BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > TABLE > TBODY > TR > TD > TABLE.header > TBODY > TR > TD[bgcolor='#e5ecf9'] {border-top:0 none;}" +
/* header bars */ "BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'][onload='ht();'] H4, BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] H4 {background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* search across box */ "BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'][onload='ht();'] > TABLE[width='100%'][cellpadding='3'] > TBODY > TR[bgcolor='#ffffff'] > TD, BODY[vlink='#551a8b'][link='#0000cc'][bgcolor='#ffffff'][alink='#ff0000'] > TABLE[width='100%'][cellpadding='3'] > TBODY > TR[bgcolor='#ffffff'] > TD {background-color:#000;}" +
// Search Within expanded below in brute force enhancements
// Feedback
/* header bar */ "BODY > FORM > TABLE.qftbb > TBODY > TR > TD {background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* form txt */ "BODY > FORM > TABLE.ts > TBODY > TR > TD > TABLE.qflhs > TBODY > TR > TD {color:#ccc !important;}" +
/* answers box */ " BODY > FORM > TABLE.ts > TBODY > TR > TD > TABLE.qfrhs {background-color:#555; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// Help Central
/* logo img */ "BODY.search > TABLE[width='95%'] > TBODY > tr[valign='top'] > TD[width='1%'] > A > IMG[width='143'][vspace='10'][height='59'][align='left'] {visibility:hidden;}" +
/* header bg */ "BODY.search > TABLE[width='95%'] > TBODY > tr[valign='top'] > TD[width='99%'][valign='top'][bgcolor='#ffffff'], BODY.search > TABLE[width='95%'] > TBODY > tr[valign='top'] > TD[width='99%'][valign='top'][bgcolor='#ffffff'] > TABLE > TBODY > TR {background-color:#000;}" +
// Custom Seach iFrame-edition
/* iframe bgs */ "BODY[marginheight='2'][text='#000000'], BODY[marginheight='2'][text='#000000'] TABLE[width='1%'] {background-color:inherit !important;}" +
/* iframe txt & linx */ "BODY[marginheight='2'][text='#000000'] A, BODY[marginheight='2'][text='#000000'] A B, BODY[marginheight='2'][text='#000000'] B {color:inherit !important;}" +
// Images Results enhancements
/* logo img */ "BODY > FORM[name='gs'] > TABLE#sft > TBODY > TR > TD.tc > A > IMG {visibility:hidden; width:150px;}" +
/* options L-sidebar */ "DIV#rpsp.rpop {margin-left:10px; padding-top:7px !important; padding-left:2px !important; background-color:#181818; border:0 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* options L-sidebar txt */ "DIV#rpsp.rpop DIV {color:#fff;}" +
/* safe search txt */ "DIV#ss-bar > DIV#ss-status {color:#777 !important;}" +
/* safe search dropdown */ "DIV#ss-bar > DIV#ss-box {background-color:#222; color:#fff;}" +
/* safe search dd link */ "DIV#ss-bar > DIV#ss-box > A * {display:inline; margin:0;}" +
/* safe search link selected */ "DIV#ss-bar > DIV#ss-box A.ss-selected {color:#fff !important;}" +
/* safe search dd hover */ "DIV#ss-bar > DIV#ss-box > A:hover {color:#fff !important;}" +
/* safe search dd selected */ "DIV#ss-bar > DIV#ss-box > A.ss-selected, BODY > FORM > TABLE#sft > TBODY > TR > TD > TABLE.tb > TBODY > TR > TD.tc > FONT > DIV#ss-bar > DIV#ss-box > A.ss-selected > SPAN:nth-child(2) {background-color:#444; color:#fff !important;}" +
/* sizes alert */ "DIV[style='padding: 16px 0pt;'] CENTER SPAN[style='padding: 4px; background-color: rgb(255, 255, 153);'], BODY > DIV#ImgCont > DIV#rstc > CENTER > SPAN {padding:2px 7px 2px 7px !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* sizes alert txt */ "DIV[style='padding: 16px 0pt;'] CENTER SPAN[style='padding: 4px; background-color: rgb(255, 255, 153);'] FONT, BODY > DIV#ImgCont > DIV#rstc > CENTER > SPAN > FONT {color:#777;}" +
/* sizes alert highlight */ "DIV[style='padding: 16px 0pt;'] CENTER SPAN[style='padding: 4px; background-color: rgb(255, 255, 153);'] FONT B, BODY > DIV#ImgCont > DIV#rstc > CENTER > SPAN > FONT > B {color:#000 !important;}" +
/* ad bar */ "DIV#ImgCont > TABLE[width='100%'][style='padding: 8px; background: rgb(255, 248, 221) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-top: 10px;'] {display:none;}" +
/* img size txt */ "DIV.std > .f, DIV.std > .m {color:#999 !important;}" +
/* img source txt */ "DIV.std > .a {color:#090 !important;}" +
/* g.image labeler */ "CENTER TABLE[cellpadding='10'][style='text-align: center;'] TBODY TR TD {background-color:#000;}" +
/* Advanced Image Search expanded below in brute force enhancements */
// Video Results enhancements
/* logo img */ "A#logoimg IMG, BODY > DIV#headerdiv > TABLE[width='100%']:first-child > TBODY > TR:first-child > TD[width='1%'][valign='top'] > A > IMG[height='40'] {display:none;}" +
/* logo container */ "TD.td-logo {height:65px; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important;}" +
/* header/footer bgs */ "#videoheader, BODY#search-results-body DIV.div-footer {background-color:#000 !important;}" +
/* body txt */ "#main-container DIV, #slideout-player DIV {color:#999 !important;}" +
/* filter option txt */ "TD[style='padding: 0pt;'] SPAN.filter-prefix, TD[style='padding: 0pt;'] LABEL.filter-option {color:#999;}" +
/* section header bg */ "BODY > DIV#headerdiv > TABLE > TBODY > TR > TD > TABLE > TBODY > TR[bgcolor='#ebeff9'] {background-color:#000;}" +
/* section header */ "DIV.div-section-header, BODY > DIV#hotstuff > DIV.hot_videos_container > TABLE.hot_videos_title_bar, DIV.container DIV.mod_titlebar, DIV.container DIV.mod-header, BODY > DIV#headerdiv > TABLE > TBODY > TR > TD > TABLE > TBODY > TR[bgcolor='#ebeff9'] > TD[style='border-width: 1px 0pt 0pt; border-top: 1px solid rgb(107, 144, 218); padding-left: 4px; padding-bottom: 3px; padding-top: 2px; font-family: arial,sans-serif;'] {padding:0.1em 0 0.2em 0.4em !important; background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* section borders */ "BODY > DIV#hotstuff > DIV.hot_videos_container > TABLE.hot_videos_body > TBODY > TR > TD.embedded_player_container, BODY > CENTER > DIV.container > DIV > DIV.mod_content {border:0 none;}" +
/* section header txt */ "TD.td-section-header-left B {color:#000 !important;}" +
/* home video time */ "DIV.div-video-text {color:#090 !important;}" +
/* search type */ "TABLE.table-header TABLE[bgcolor='white'], DIV.menu-normalsb {border:0; background-color:#000;}" +
/* results toolbelt */ "DIV#main-container > DIV#search-results-toolbelt {background-color:#222; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* results toolbelt heading */ "DIV#main-container > DIV#search-results-toolbelt .tbos {color:#fff !important;}" +
/* results header */ "TABLE#resultsheadertable, DIV#results-bar {padding-right:0.4em; padding-left:0.7em; background-color:#333 !important; border-top:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* results header title */ "TABLE#resultsheadertable TD[valign='baseline'] B {position:relative; top:1px; left:2px; color:#000 !important;}" +
/* result item */ "DIV.SearchResultItem {width:100%; margin:2em 0pt;}" +
/* result W */ ".rl-res .rl-metadata {max-width:none;}" +
/* result item txt */ "DIV#search-results DIV.rl-snippet {color:#ccc !important;}" +
/* result item domain */ "DIV#search-results DIV.rl-domain-below {color:green !important;}" +
/* result selection */ "DIV#search-results DIV.rl-highlight {background-color:#222; border:0 none !important; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* result item border */ "TD#search-results-td > DIV#search-results DIV.tv-res, TD#search-results-td > DIV#search-results DIV.rl-res {border:0 none;}" +
/* result item details */ "TD.MetaData DIV.Details, DIV.rl-metadata > DIV.rl-details {color:#999 !important;}" +
/* result item description */ "TD.MetaData DIV.Snippet, DIV.rl-metadata > DIV.rl-snippet, DIV.rl-metadata > DIV.rl-short-snippet {color:#aaa !important;}" +
/* result item uri */ "TD.MetaData DIV.URL, DIV.rl-metadata > SPAN.rl-domain {color:#090 !important;}" +
/* results message */ "TD#search-results-td > DIV#search-results > DIV.message {color:#999 !important;}" +
/* video related border */ "BODY#search-results-body > DIV#tv-table > TABLE > TBODY > TR > TD#tv-player-td > DIV#tv-player > DIV#tv-related {border:0 none;}" +
/* video data */ "BODY#search-results-body > DIV#tv-table > TABLE > TBODY > TR > TD#tv-player-td > DIV#tv-player > DIV#video-data-spacer > DIV#video-data {background-color:#000;}" +
/* footer nav table */ "TABLE#pagenavigatortable {width:400px !important;}" +
/* footer logo(s) */ "TABLE#pagenavigatortable TD IMG, TABLE#pagenavigatortable TD A.imglink, TABLE#pagenavigatortable TD BR, DIV#search-results > DIV#pagi > DIV > TABLE.gooooogle > TBODY > TR > TD.prev > A > DIV.nav_previous, DIV#search-results > DIV#pagi > DIV > TABLE.gooooogle > TBODY > TR > TD.prev > DIV.nav_first, DIV#search-results > DIV#pagi > DIV > TABLE.gooooogle > TBODY > TR > TD#current-page > DIV.nav_current, DIV#search-results > DIV#pagi > DIV > TABLE.gooooogle > TBODY > TR > TD.abs-page > A > DIV.nav_page, DIV#search-results > DIV#pagi > DIV > TABLE.gooooogle > TBODY > TR > TD.next > A > DIV.nav_next {display:none;}" +
/* search again */ "DIV#searchagain {border:0; background-color:#000;}" +
/* advanced search bgs */ "BODY > CENTER > FORM#as_form TABLE[style='border: 3px solid rgb(213, 221, 243);'], BODY > CENTER > FORM#as_form > TABLE[style='border: 3px solid rgb(213, 221, 243);'] > TBODY > TR[bgcolor='#d5ddf3'], BODY > DIV.div-footer, BODY > DIV.div-footer > DIV.div-footer {border-color:#000 !important; border-width:20px !important; background-color:#000;}" +
// News Results enhancements
/* header Google links */ "BODY.hp > DIV#gbar > NOBR, BODY.serp > DIV#gbar > NOBR, BODY.sp > DIV#gbar > NOBR {position:relative; top:0.2em;}" +
/* header iGoogle link */ "BODY.hp > DIV#gbar > NOBR > A.gb1:last-child, BODY.serp > DIV#gbar > NOBR > A.gb1:last-child, BODY.sp > DIV#gbar > NOBR > A.gb1:last-child {top:-1.3em !important;}" +
/* search table */ "TABLE[width='1%'] {position:relative; top:1px; background-color:#000; width:100% !important;}" +
/* search form input */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#search-header > FORM.search-form > * {float:none;}" +
/* logo imgs */ "IMG[src='/images/logo_sm.gif'], IMG[src='images/news.gif'], IMG[src='/images/news.gif'], IMG[width='150'][height='58'][alt='Go to Google News Home'], BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#browse-header > TABLE > TBODY > TR > TD > A > IMG[width='205'][height='85'], BODY.sp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#browse-header > TABLE > TBODY > TR > TD > A > IMG[width='205'][height='85'], BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#search-header > A > IMG[width='150'][height='58'], BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#search-header > A > IMG[width='150'][height='55'], BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#page-header > TABLE > TBODY > TR > TD:first-child > A > IMG {visibility:hidden;}" +
/* search logo adjustment */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#search-header {height:65px !important; background-position:0 10px !important;}" +
/* logo img link */ "TABLE[width='1%'] TBODY TR TD[valign='top'],TABLE[align='center'] TBODY TR TD TABLE TBODY TR TD[valign='bottom'] {height:65px; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important;}" +
/* news sources txt */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE[cellspacing='0'][cellpadding='0'][border='0'][align='center'][style='clear: both;'] > TBODY > TR > TD[valign='top'][nowrap=''] > FORM[name='f'] > B > FONT[size='-1'][color='#aa0033'], BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#browse-header > TABLE > TBODY > TR > TD > FORM.search-form > DIV.search-label {position:relative; top:5px; font-weight:normal; font-style:italic; color:#333 !important;}" +
/* header bars */ "BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > DIV.main > DIV#headline-wrapper > DIV.basic-title, BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.bt-border, BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > DIV.main > DIV#headline-wrapper TD, BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search-sub-header > DIV#_h, BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search-sub-header > DIV#_h DIV, BODY.sp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > DIV.main DIV#_h, DIV.blended-section2 > TABLE.blended-section2 > TBODY > TR > TD DIV.basic-title {padding-right:0.4em; padding-left:0.4em; background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* top red line */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE#topSection > TBODY > TR > TD[valign='top'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'][bgcolor='#aa0033'][colspan='2'], BODY[marginheight='2'][bgcolor='#ffffff'][topmargin='2'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'][bgcolor='#aa0033'][colspan='2'], BODY[marginheight='0'][bgcolor='#ffffff'][topmargin='0'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'][bgcolor='#aa0033'][colspan='2'] {display:none;}" +
/* notify box */ "DIV#notifybox {color:#000; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* top stories dropdown */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE#topSection > TBODY > TR > TD[valign='top'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='60%'][nowrap=''][bgcolor='#efefef'][style='padding-bottom: 0pt;'] > FONT.ks > FONT[size='-1'] > SELECT[name='ned'] {height:1.7em; background-color:#333; border: 1px solid #fff;}" +
/* top stories headlines */ "TABLE#main-table > TBODY > TR > TD > DIV.main > DIV#headline-wrapper > DIV.blended-section2 > TABLE > TBODY > TR > TD {background-color:#000 !important;}" +
/* right alert box */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE#topSection > TBODY > TR > TD[valign='top'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'][valign='top'] > TBODY > TR > TD[width='42%'][valign='top'] > DIV#cust_result > TABLE[width='100%'][cellspacing='5'][cellpadding='4'][border='0'][bgcolor='#ffff99'][align='center'][style='border: 1px solid rgb(204, 204, 204);'] {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* more pop layer */ "SPAN#more, #gbar .gbard, #gbar .gb2 {background-color:#333 !important; border-right:solid 1px #a2bae7; border-bottom:solid 1px #a2bae7; color:#333 !important;}" +
/* more pop layer link */ "DIV#gbar B.gb2 {color:#fff !important;}" +
/* top stories txt */ "TABLE[width='100%'] .ks {color:#999 !important;}" +
/* left nav bg */ ".leftnav TABLE TABLE TBODY TR TD[nowrap=''], DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections TABLE.nav, DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections TABLE.nav-items, DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections > TABLE.nav-items > TBODY > TR > TD.clickable, DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections > TABLE.nav-items > TBODY > TR.item > TD {background-color:#000 !important;}" +
/* left nav frontpage link */ "DIV.sidebar > DIV.back-to-frontpage > A {color:#6495ed !important;}" +
/* left nav selected bg */ "BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections > TABLE.nav-items > TBODY > TR.selected > TD DIV.title {color:#fff !important;}" +
/* left nav spacing */ ".leftnav TABLE TABLE TBODY TR TD[bgcolor='#ffffff'] {display:none;}" +
/* left nav line */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE#topSection > TBODY > TR > TD[width='1'][height='1'][bgcolor='#cccccc'] {width:2px; background-color:#333;}" +
/* left nav line alternate 1 */ "BODY[marginwidth='0'][marginheight='2'][bgcolor='#ffffff'][rightmargin='0'][leftmargin='0'][topmargin='2'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD.leftnav > DIV[style='border-right: 1px solid rgb(204, 204, 204);'] {border-right:2px solid #333 !important;}" +
/* left nav line alternate 2 */ "BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > DIV.main > DIV#headline-wrapper, BODY.sp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > DIV.main > DIV#headline-wrapper {border-left-color:#333;}" +
/* left nav borders (old) */ "BODY[marginwidth='0'][marginheight='3'][bgcolor='white'][rightmargin='0'][leftmargin='0'][topmargin='3'] > TABLE#topSection > TBODY > TR > TD.leftnav > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > TABLE[width='100%'][cellspacing='1'][cellpadding='0'][border='0'][bgcolor='#cccccc'], BODY[marginwidth='0'][marginheight='2'][bgcolor='#ffffff'][rightmargin='0'][leftmargin='0'][topmargin='2'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD.leftnav > DIV[style='border-right: 1px solid rgb(204, 204, 204);'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > TABLE[width='100%'][cellspacing='1'][cellpadding='0'][border='0'][bgcolor='#cccccc'], .leftnav TABLE TABLE TBODY TR TD[nowrap=''] {position:relative; right:-1px; background-color:#333 !important;}" +
/* left nav borders */ "DIV.browse-sidebar > DIV.wrapper > DIV#left-nav-sections > TABLE.nav-items > TBODY > TR > TD[height='2'][bgcolor='white'][colspan='2'] {background-color:#333;}" +
/* left headline */ "DIV.hd {background:#333 !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* header title bg */ "BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.basic-title {background-color:#333;}" +
/* header color bars */ "BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.ls-wrapper DIV.bar {display:none;}" +
/* section headers */ "DIV#section-header, BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.ls-wrapper DIV.basic-title {padding-left:0.7em; background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* more fewer linx (old) */ "TABLE[bgcolor='#efefef'][style='border: 1px solid rgb(0, 0, 153);'] {background-color:#000;}" +
/* more fewer links new */ "BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.ls-wrapper DIV.more-link, BODY.hp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV.ls-wrapper DIV.fewer-link {background-color:#222; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px;}" +
/* search header r1col1 */ "TABLE[width='1%'] TBODY TR TD[valign='top'] TABLE TBODY TR TD,TABLE[width='100%'] TBODY TR TD[bgcolor='#efefef'] {background:#000 none !important;}" +
/* search header r1col2 */ "TABLE[width='1%'] TBODY TR TD[valign='top'] TABLE TBODY TR TD A {position:relative; top:12px;}" +
/* search header barL */ "TABLE TBODY TR TD[width='60%'] {background-color:#333; border:0; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* search header barL txt*/ "TABLE TBODY TR TD[width='60%'] FONT {color:#000;}" +
/* search header barR */ "TABLE TBODY TR TD[width='40%'] {background-color:#333; border:0; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px;}" +
/* results top ad */ "TABLE#main-table DIV.top-ads {display:none;}" +
/* results area width */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > TABLE.left > TBODY > TR > TD.search-middle {width:100%;}" +
/* results area R-nav */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD > TABLE.left > TBODY > TR > TD.right-nav {display:none;}" +
/* results nav r-side line */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD.nav > DIV.sidebar {border-color:#333;}" +
/* results nav headline */ "BODY.serp > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > TABLE#main-table > TBODY > TR > TD.nav > DIV.sidebar DIV.filter-label {background-color:#333; padding-left:0.5em; color:#ccc !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* quote box */ "DIV.qdetails DIV.qsnippet, DIV.quote-story DIV.quotesnippet {padding-right:1.2em !important; padding-left:1.2em !important; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px; text-align:justify; font-weight:bold;}" +
/* quote arrow */ "DIV.qdetails DIV.qarrow {border-right-color:#000; border-left-color:#000;}" +
/* results txt */ "TABLE TBODY TR TD DIV[style='margin: 60px 22px;'], BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered DIV {color:#999 !important;}" +
/* result spacing */ "DIV.mainbody TABLE TBODY TR TD[align='left'] TABLE[cellspacing='7'][cellpadding='2'] {margin:0.5em 0pt;}" +
/* footer search borders */ "CENTER > CENTER > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[bgcolor='#3366cc'] IMG {display:none;}" +
/* footer search bg */ "CENTER > CENTER > TABLE[width='100%'][cellspacing='0'][cellpadding='3'][border='0'] > TBODY > TR > TD[bgcolor='#e5ecf9'][align='center'], BODY > DIV#main-wrapper > DIV.footer > DIV.bottom-search, BODY > DIV#main-wrapper > DIV.footer > DIV.bottom, BODY.serp > DIV#main-wrapper > DIV#pagination > TABLE > TBODY > TR > TD > A > DIV#start-prev, BODY.serp > DIV#main-wrapper > DIV#pagination > TABLE > TBODY > TR > TD > DIV#start, BODY.serp > DIV#main-wrapper > DIV#pagination > TABLE > TBODY > TR > TD > DIV#current, BODY.serp > DIV#main-wrapper > DIV#pagination > TABLE > TBODY > TR > TD > A > DIV.o, BODY.serp > DIV#main-wrapper > DIV#pagination > TABLE > TBODY > TR > TD > A > DIV#end-next {border:0 none; background:#000 none;}" +
/* footer seach borders */ "CENTER > CENTER > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[bgcolor='#aa0033'] {display:none;}" +
/* footer disclaimer */ "BODY.hp > DIV#main-wrapper > DIV.footer > DIV.footer-disclaimer {color:#333 !important;}" +
/* personalize header */ "#cust_link_tbl {background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* personalize button */ "DIV.blended-section2 > DIV.column2 > SPAN > DIV#personalize {background-color:#223; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* in the news top line */ "DIV.t-IN_THE_NEWS {border-top-color:#333 !important;}" +
/* in the news headline */ "DIV.t-IN_THE_NEWS > DIV.basic-title {color:#ccc !important;}" +
/* Finance R-sidebar Header */ "DIV.sp-b DIV.basic-title {background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// Image Version
/* cell container */ "TD#ImageSection TABLE TBODY TR TD {padding:5px;}" +
/* cells */ "TD#ImageSection TABLE TBODY TR TD DIV[style='border: 1px solid rgb(255, 255, 255); padding: 7px 7px 4px; white-space: nowrap; width: 104px;'] {background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* img container */ "DIV.divnohighlightnoie {border:0 none !important;}" +
/* img container */ "DIV.divnohighlightnoie IMG.centerimagenonie {position:relative; left:-5px;}" +
/* rightBar */ "DIV#RightBarContent DIV {background-color:#000 !important;}" +
// AP/AFP.google News enhancements
/* body txt */ "DIV DIV#hn-content DIV {color:#999 !important;}" +
/* article title */ "DIV DIV#hn-content DIV H1 {color:#fff;}" +
/* footer */ "DIV DIV#hn-footer {display:none;}" +
/* /hostednews/ expanded below in brute force enhancements */
// Maps enhancements
/* logo img */ "IMG[alt='Go to Google Maps Home'], BODY.firefox > DIV#header > DIV#search > FORM#q_form > DIV#logo IMG {display:none;}" +
/* help linx */ "DIV.helplinks DIV {background-color:#000 !important; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header txt */ "DIV#header SPAN {color:#999;}" +
/* mapping tabs */ "TABLE#paneltabs TBODY TR TD {background-color:#000 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* mapping tab txt */ "TABLE#paneltabs TBODY TR TD.tabOff A DIV, TABLE#paneltabs TBODY TR TD.tabOn A DIV {font-weight:bold; color:#999 !important;}" +
/* map popup txt */ "DIV.iw #basics DIV, DIV.gmnoprint DIV DIV DIV B {color:#000 !important;}" +
/* send panel container */ "DIV.sdb {margin:5px; background-color:#000 !important; border:3px solid #f90 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* send panel inner */ "DIV.sdb DIV.c, DIV.sdb DIV.c DIV DIV {border:0 none !important; background-color:#000 !important; color:#999 !important;}" +
/* link to this page panel */ "DIV#le {background-color:#000 !important; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* link to panel txt */ "DIV#le TABLE.letbl TBODY TR TD {color:#999 !important;}" +
/* panel selection */ "DIV#page DIV#panel DIV.selected {background-color:#222 !important; color:#333; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* results area */ "DIV#hp DIV, DIV#hp TABLE TR TD, DIV#panel DIV DIV, DIV#panel DIV TABLE TBODY TR TD, DIV#page DIV, DIV#page TABLE TBODY TR TD {color:#777 !important;}" +
/* sponsored linx */ "TABLE > TBODY > TR > TD > TABLE.geoads, TABLE > TBODY > TR > TD > DIV.adsmessage, #panel .ads {display:none;}" +
/* searched term in title */ "TABLE.res TBODY TR TD DIV.name SPAN A SPAN B {color:#aaa !important;}" +
/* phone numbers */ "TABLE.res TBODY TR TD DIV SPAN.tel {color:#090;}" +
/* highlight */ "FONT[color='red'] {color:#f00;}" +
/* map points */ "TABLE.ddwpt_table TD {background-color:#333;}" +
/* my maps content */ "DIV#mmheaderpane DIV.mmboxheaderinactive {background-color:#181818;}" +
/* search logo(s) */ "DIV.n DIV.imgn IMG {display:none;}" +
/* legal & navtech blocks */ "DIV.legal, DIV.cprt {display:none;}" +
/* txt-view header */ "TABLE#titlebar {border:0; background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* txt-view body width */ "#contentpanel > TABLE[style='margin-top: 0.2em;'], #contentpanel > TABLE[style='margin-top: 0.2em;'] TBODY TR.lr TD TABLE, #contentpanel > TABLE[style='margin-top: 0.2em;'] TBODY TR.lr TD TABLE TBODY TR TD:nth-child(3) {width:99%;}" +
/* txt-view footer block */ "#localfooter TABLE TBODY TR TD {border:0; background-color:#000;}" +
/* mymaps feat cont bg */ "DIV.mmheaderpane DIV DIV.mmboxheaderinactive, DIV.mmboxbody IFRAME HTML BODY {background-color:#000 !important;}" +
/* lowerpanel activeselected */ "DIV#rv-content > DIV.rvitem > DIV.rvcontrols > SPAN.rvactivetitle {color:#fff !important;}" +
/* search results notice */ "DIV#resultspanel > DIV.local > DIV#localpanelnotices {display:none;}" +
// Print-page
/*directions txt */ "DIV.segmentdiv TABLE TBODY TR TD {background-color:#000;}" +
/* title width */ "@media print{ #ph TD.phh {width:100%;} }" +
/* save trees msg */ "@media print{ #pnc.untouched #gmm_msg {display:none;} }" +
// Gmail [basic HTML view] enhancements
/* view type headers */ "TABLE.bn > TBODY> TR > TD#bm {border:0 none; background-color:#181818; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* logo img */ "BODY[bgcolor='#ffffff'] > TABLE[width='100%'] > TBODY > TR:first-child > TD[width='143'] > H1 > A > IMG {display:none;}" +
/* menu selected */ "BODY > TABLE > TBODY > TR > TD > TABLE[width='100%'].m > TBODY > TR > TD[bgcolor='#c3d9ff'], BODY > TABLE > TBODY > TR > TD > TABLE[width='100%'].m > TBODY > TR > TD[bgcolor='#fad163'] {background-color:#333; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* menu selected txt */ "BODY > TABLE > TBODY > TR > TD > TABLE[width='100%'].m > TBODY > TR > TD[bgcolor='#c3d9ff'] A, BODY > TABLE > TBODY > TR > TD > TABLE[width='100%'].m > TBODY > TR > TD[bgcolor='#fad163'] A {color:#fff !important;}" +
/* upper alert msg box */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[cellspacing='4'][align='center'] > TBODY > TR:first-child > TD:first-child {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* upper alert msg box txt */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[cellspacing='4'][align='center'] > TBODY > TR:first-child > TD:first-child > B {color:#000 !important;}" +
/* search options bgs */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#74d982'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#b5edbc'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#b5edbc'] > TABLE[bgcolor='#74d982'] {background-color:#000 !important;}" +
/* msg-list L-spacer */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[width='5'][bgcolor='#c3d9ff'], BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[width='5'][bgcolor='#74d982'], BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[width='5'][bgcolor='#fad163'] {background-color:#333;}" +
/* msg-list bg */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > FORM[name='f'] > TABLE[bgcolor='#c3d9ff'], BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > FORM[name='f'] > TABLE[bgcolor='#74d982'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][bgcolor='#c3d9ff'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][bgcolor='#74d982'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][bgcolor='#fad163'] {background-color:#333;}" +
/* msg-list row normal */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > FORM[name='f'] > TABLE.th > TBODY > TR[bgcolor='#ffffff'] {background-color:#000;}" +
/* msg-list row Read */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > FORM[name='f'] > TABLE.th > TBODY > TR[bgcolor='#e8eef7'] {background-color:#222;}" +
/* msg-list row unread txt */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > FORM[name='f'] > TABLE.th > TBODY > TR[bgcolor='#e8eef7'] > TD {color:#999 !important;}" +
/* msg bg */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='98%'][bgcolor='#CCCCCC'] {background-color:#000;}" +
/* msg header */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][bgcolor='#e0ecff'], BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][bgcolor='#b5edbc'] {background-color:#000;}" +
/* msg body bg */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'][bgcolor='#efefef'] {border:0 none; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px;}" +
/* msg body */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'][bgcolor='#efefef'] DIV.msg {color:#000; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px;}" +
/* msg body uppper */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'][bgcolor='#efefef'] > TBODY > TR:first-child {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
// /* msg lower reply box */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'].qr, TBODY > TR:first-child {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* msg lowerReplyBox */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'].qr TD {background-color:#000; color:#999 !important;}" +
/* msg lowerReplyBox logoFix */ "BODY > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD TABLE[width='100%'].qr > TBODY > TR > TD > TABLE > TBODY > TR > TD[colspan='2'] > TABLE[width='100%'] > TBODY > TR > TD[width='1%'] {background-image:none !important;}" +
/* compose tbl */ "FORM[name='f'] > TABLE.compose {background-color:#000;}" +
/* compose tbl logo fix */ "FORM[name='f'] > TABLE.compose > TBODY > TR:first-child > TD[width='1%']:first-child {width:inherit !important; height:inherit !important; font-size:0.8em; background-image:none !important;}" +
/* contacts list header */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > TABLE[bgcolor='#fad163'] > TBODY > TR:first-child > TD:first-child > DIV.hp > DIV.bg {background-color:#333;}" +
/* contacts list bg */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > TABLE[bgcolor='#ffffff'].th, BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#fff7d7'] {background-color:#000;}" +
/* contacts list tbl txt */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > TABLE[bgcolor='#ffffff'].th > TBODY > TR > TD {color:#ccc !important;}" +
/* settings selected tab */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD > TABLE[bgcolor='#ffffff'].th, BODY > TABLE[width='100%'] > TBODY > TR > TD[valign='top'] > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#fff7d7'] DIV.nav > UL > LI.on {background-color:#333; color:#fff;}" +
/* header txt */ "BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'] > TABLE[bgcolor='#fad163']:first-child H2 {color:#fff;}" +
/* filters bg */ "BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fad163'], BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'], BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fad163'], BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'], BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'] DIV.middle-container-padded, BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'] > TABLE[bgcolor='#fad163']:last-child {background-color:#000; color:#999 !important;}" +
/* filters header */ "BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'] > TABLE[bgcolor='#fad163']:first-child {padding-left:0.5em; background-color:#000;}" +
/* filters tab selected */ "BODY > TABLE[width='100%'] > TBODY > TR TD[bgcolor='#fff7d7'] > TABLE[bgcolor='#fad163']:first-child DIV.nav > UL > LI.on {background-color:#333; color:#fff;}" +
/* page txt */ "BODY > TABLE > TBODY > TR > TD > TABLE.ft TD, BODY > TABLE > TBODY > TR > TD > TABLE.ft TD DIV, BODY > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[bgcolor='#fff7d7'] > DIV.prf TD, BODY > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[bgcolor='#fff7d7'] > DIV.prf DIV {color:#999 !important;}" +
/* footer */ "BODY > TABLE > TBODY > TR > TD > TABLE.ft > TBODY > TR > TD[align='center'] > FONT[size='1'] {display:none;}" +
/* Gmail expanded below in brute force enhancements */
// Docs enhancements
/* logo img */ "BODY > DIV#masthead > TABLE.searchbar > TBODY > TR#logo-section > TD.searchbar-logo > DIV > A[href='.'] > IMG {display:none;}" +
/* doclist borders */ "DIV#doclist > DIV.doclistappview {background:#000 none;}" +
/* templates header */ "DIV#templates-header > DIV#templates-header-location {background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* templates header tabs */ "DIV#templates-header > DIV#templates-header-tabs {border:0 none; background-color:#000;}" +
/* templates header tab sel */ "DIV#templates-header > DIV#templates-header-tabs .templates-list-selected {margin-bottom:1em; border:0 none; background-color:#000; font-weight:bold; color:#fff;}" +
/* settings outer box */ "FORM.settings-container-form > TABLE.roundedblock {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* settings corner imgs */ "FORM.settings-container-form > TABLE.roundedblock TD {background-image:none;}" +
/* footers */ "BODY > DIV.footer {display:none;}" +
/* Docs expanded below in brute force enhancements */
// Shopping/Froogle enhancements
/* logo img */ "A#glogo > IMG[width='150'][height='105'], CENTER > H1#ps-logo > IMG, BODY > FORM[name='f'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'][style='clear: left;'] > TBODY > TR > TD:first-child > A#glogo > IMG, BODY > DIV#hp-cont > H1#hp-logo > IMG, BODY > DIV#srp-header > FORM[name='f'] > TABLE:first-child > TBODY > TR > TD:first-child > A#glogo > IMG, BODY > FORM > DIV#advd-search-header > TABLE:first-child > TBODY > TR > TD[width='1%']:first-child > A#advd-logo > IMG, BODY > DIV#srp-header > FORM[name='f'] > TABLE > TBODY > TR > TD > A#srp-logo > IMG {display:none;}" +
/* logo adjust */ "BODY > DIV#hp-cont > H1#hp-logo {width:100% !important; height:120px !important; background-position:center center !important;}" +
/* adv search logo adjust */ "BODY > FORM > DIV#advd-search-header > TABLE:first-child > TBODY > TR > TD[width='1%']:first-child > A {width:inherit !important;}" +
/* header bar */ "TABLE[cellspacing='0'][cellpadding='0'][style='border-top: 1px solid rgb(68, 120, 212); background: rgb(234, 239, 250) none repeat scroll 0% 0%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;'], TABLE#ps-titlebar, BODY > DIV#ps-titlebar, BODY > FORM > DIV#advd-search-header H1 {padding:0 0.3em 0.1em 0.3em; background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* L-menu */ "BODY > DIV#lhs-ref {padding-top:0.2em; background-color:#181818; border-right:0 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* sponsored linx */ "DIV[style='padding-top: 11px;'] > DIV[style='font-size: small; background-color: rgb(255, 249, 221);'], BODY[vlink='#551a8b'][text='#000000'][marginheight='3'][link='#0000cc'][alink='#ff0000'][topmargin='3'] > TABLE[cellspacing='0'][cellpadding='0'][border='0'][bgcolor='#ffffff'][align='right'][style=''] {display:none;}" +
/* top & bottom ads */ "BODY > DIV#ads-top, BODY > DIV.list > DIV#ads-bot {display:none;}" +
/* results width aleviater */ "BODY > DIV.rhs, BODY > DIV.list {max-width:none; margin-right:0;}" +
/* search txt */ "TABLE.list FORM, TABLE.list SPAN.prod-detail, TABLE.list > TBODY > TR > TD.ol NOBR, TABLE.list > TBODY > TR > TD.ol SPAN, TD.bo > NOBR, BODY > DIV.list DIV, BODY > DIV.list P, BODY > DIV.grid DIV {color:#999 !important;}" +
/* result prices */ "BODY > DIV.list > OL#results P.result-price, BODY > DIV.list > OL#results P.result-taxship, BODY > DIV.grid P.result-price, BODY > DIV.grid P.result-taxship {color:#fff !important;}" +
/* search desc */ "TABLE.list > TBODY > TR > TD.ol {color:#fff !important;}" +
/* vertical ads */ "TABLE#ps-vertical-ads, DIV#ads-rhs {display:none;}" +
/* advanced search box */ "BODY > FORM > DIV.as-table-cont, BODY > FORM > DIV.as-table-cont TD {border:0 none; color:#999 !important;}" +
/* footer search refinement */ "DIV.main-top > DIV#attr-div > TABLE.attr-table, DIV.main-top > DIV#attr-div > TABLE.attr-table LI {color:#ccc;}" +
/* footer logo(s) */ "TABLE DIV#nf, TABLE DIV#nc, TABLE DIV.nr, TABLE DIV#nn {height:0px; background:none;}" +
/* footer disclaimer */ "TABLE[width='65%'][align='center'] > TBODY > TR > TD[align='center'] > SPAN.disclaimer {display:none;}" +
/* footer search */ "BODY > TABLE[cellspacing='0'][cellpadding='3'][style='border-top: 1px solid rgb(68, 120, 212); border-bottom: 1px solid rgb(68, 120, 212); background: rgb(234, 239, 250) none repeat scroll 0% 0%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;'], BODY > TABLE#ps-footer {background-color:#000 !important; border:0 none !important;}" +
/* footer txt */ "BODY > TABLE[cellspacing='0'][cellpadding='3'][style='border-top: 1px solid rgb(68, 120, 212); border-bottom: 1px solid rgb(68, 120, 212); background: rgb(234, 239, 250) none repeat scroll 0% 0%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;'] > TBODY > TR > TD[align='center'] > FONT[size='-1'], BODY[vlink='#551a8b'][text='#000000'][marginheight='3'][link='#0000cc'][alink='#ff0000'][topmargin='3'] > CENTER > FONT[size='-1'], BODY > TABLE#ps-footer > TBODY > TR > TD[align='center'] > FONT[size='-1'], BODY > P.as-footer {display:none;}" +
/* footer pagination imgs */ "BODY > DIV.n > TABLE > TBODY > TR > TD > DIV#nl {background-image:none;}" +
/* footer bg */ "BODY > DIV#ps-footer > DIV#ps-footer-bg {background-color:#000 !important;}" +
/* footer disclaimer */ "BODY > DIV#ps-footer > P.ps-disclaimer {color:#777;}" +
/* footer */ "BODY > DIV#hp-cont > P:last-child {display:none;}" +
// Finance enhancements
/* logo img */ "BODY DIV.g-doc DIV.g-section > DIV.g-unit > DIV.sfe-logo > A > IMG {display:none;}" +
/* left nav selected */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-selected, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section UL#navmenu > LI.nav-selected, BODY > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-selected {background-color:#333;}" +
/* left nav item */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-item, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section UL#navmenu > LI.nav-item, BODY > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-item {background-color:#181818;}" +
/* left nav item link */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-item > A *, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section UL#navmenu > LI.nav-item > A *, BODY > DIV.g-doc > DIV.g-section UL#navmenu > LI.nav-item > A * {color:#999 !important;}" +
/* left nav sub */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section UL#navmenu > LI.navsub, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section UL#navmenu > LI.navsub, BODY > DIV.g-doc DIV.g-section UL#navmenu > LI.navsub, BODY > DIV.g-doc DIV.g-section UL#navmenu > LI.navsub DIV {background-color:#000; color:#fff !important;}" +
/* left Recent box */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section #rq-box, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section .ra-box, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section #rq-box, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section .ra-box, BODY > DIV.g-doc > DIV.g-section #rq-box, BODY > DIV.g-doc > DIV.g-section .ra-box {margin-top:3em; background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* headers */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.hdg, BODY > DIV.g-doc > DIV.g-section DIV.hdg, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV.g-wrap > DIV.g-section > DIV.hdg, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#reorder DIV.hdg, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV.g-wrap > DIV.g-section > DIV.g-unit > DIV.g-c > DIV.hdg, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV.hdg {background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header selection */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.hdg A.t > B.t, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.hdg A.t > B.t > B.t {top:0; left:0; background-color:#333; color:#fff;}" +
/* header tabs bg */ "BODY DIV.g-doc DIV.g-section DIV.goog-tab B.t, BODY DIV.g-doc > DIV.g-section TABLE.gf-table TH, BODY DIV.g-doc > DIV.g-section DIV.add_trans_bar_border {border:0 none !important; background-color:#000 !important; color:#fff;}" +
/* header tabs */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.hdg DIV.goog-tab, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.hdg DIV.goog-tab A.t {background-color:#333; border:0 none !important;}" +
/* section option menu */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV.goog-menu {background-color:#181818; border:0 none; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* create profile box */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV#p0 {padding-bottom:7px; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* stock values */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#price-panel SPAN.pr SPAN:first-child, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#price-panel SPAN.nwp, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section OL#snap-data > LI > SPAN.val, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#price-panel > DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#price-panel > DIV > DIV, DIV.g-section > DIV.g-unit > DIV.g-c DIV, DIV.g-section > DIV.g-unit > DIV.g-c DIV TD, TABLE#fs-table TD {color:#fff !important;}" +
/* price panel keys */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section OL#snap-data > LI > SPAN.key {position:relative; top:0; left:0.7em; font-size:0.8em;}" +
/* right side news item */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section TD#scrollingListTd DIV.news-item {background-color:#000;}" +
/* related header */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#related DIV.hdg, BODY > DIV.g-doc DIV.g-section DIV.gf-table-control, BODY DIV.g-doc DIV.g-section TABLE#main.results > TBODY > TR > TD.highlight1, BODY DIV.g-doc DIV.g-section TABLE#main.results > TBODY > TR > TD.selected1 {background-color:#000 !important;}" +
/* related row headers */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#related TABLE.gf-table TH, BODY > DIV.g-doc > DIV.g-section DIV#related-table TABLE.gf-table TH, BODY > DIV.g-doc DIV.g-section TABLE#fs-table TH, BODY DIV.g-doc DIV.g-section TABLE#main.results > TBODY > TR.hdg > TD.hdg {border-color:#000; background-color:#333; color:#fff;}" +
/* related company row */ "BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#related TABLE.gf-table > TBODY > TR > TD, BODY > DIV.g-doc > DIV.g-section DIV#related-table TABLE.gf-table > TBODY > TR > TD, BODY > DIV.g-doc > DIV.g-section TABLE#company_results > THEAD > TR > TH, BODY > DIV.g-doc > DIV.g-section TABLE#mf_results > THEAD > TR > TH, BODY DIV.g-doc DIV.g-section TABLE#historical_price > TBODY > TR > TH, BODY > DIV.g-doc DIV.g-section TABLE#historical_price > TBODY > TR.tptr > TD[colspan='6'].rgt, BODY > DIV.g-doc DIV.g-section TABLE#fs-table TR.hilite, BODY > DIV.g-doc DIV.g-section TABLE#fs-table TR.hilite > TD, BODY > DIV.g-doc > DIV.g-section TABLE#advanced_search_results TR.hilite > TD, BODY > DIV.g-doc > DIV.g-section TR.tptr, BODY DIV.g-doc DIV.g-section TABLE#main.results > TBODY > TR > TD.highlight2, BODY DIV.g-doc DIV.g-section TABLE#main.results > TBODY > TR > TD.selected2 {border-color:#000; background-color:#222 !important; color:#fff !important;}" +
/* SscreenerAdd criteriaBx */ "BODY > DIV.g-doc > DIV.g-section DIV.criteria_wizard, BODY > DIV.g-doc > DIV.g-section DIV.criteria_wizard TABLE.searchtabs TD {background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* SscreenerAdd criteriaBxIn */ "BODY > DIV.g-doc > DIV.g-section DIV.criteria_wizard DIV.criteria_list_div, BODY > DIV.g-doc > DIV.g-section DIV.criteria_wizard DIV.criteria_list_div > DIV.criteriadiv {background-color:#000 !important; border:0 none !important; font-size:0.9em; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page txt */ "BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section > DIV#rt-content > DIV, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section > DIV#rt-content TD, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section > DIV#rt-content TD:nth-child(2) > SPAN, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#rq-table DIV, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV#rq-table DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#rq-table TD:nth-child(2) SPAN, BODY > DIV.g-doc > DIV.g-section DIV#rq-table TD:nth-child(2) SPAN, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV#rq-table TD:nth-child(2) SPAN, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section DIV#rq-toggle SPAN, BODY > DIV.g-doc > DIV.g-section DIV#rq-toggle SPAN, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#rq-toggle SPAN, BODY > DIV#body-wrapper > DIV.g-doc > DIV.g-section UL#navmenu > LI.navsub DIV, BODY > DIV.g-doc > DIV.g-section UL#navmenu > LI.navsub DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section UL#navmenu > LI.navsub DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV#price-panel SPAN.dis-large, BODY > DIV.g-doc DIV.g-section TD.price SPAN, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV.g-c DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section DIV.g-c DIV, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section TABLE.quotes TD, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section TABLE#cc-table TD:nth-child(3) SPAN, BODY > DIV.g-doc > DIV.g-section TABLE#cc-table TD:nth-child(3) SPAN, BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section TABLE#cc-table TD:nth-child(7), BODY > DIV.g-doc > DIV.g-section TABLE#cc-table TD:nth-child(7), BODY > DIV.g-doc > DIV#body-wrapper > DIV.g-section TABLE#mgmt-table TD, BODY > DIV.g-doc > DIV.g-section TABLE#company_results > TBODY > TR > TD, BODY > DIV.g-doc > DIV.g-section TABLE#company_results > TBODY > TR > TD SPAN.chb, BODY > DIV.g-doc > DIV.g-section DIV.g-unit, BODY > DIV.g-doc DIV.g-section TABLE#historical_price > TBODY > TR > TD, BODY > DIV.g-doc DIV.g-section TABLE#fs-table TD, BODY > DIV.g-doc DIV.g-section DIV#news-main DIV, BODY > DIV.g-doc DIV.g-section DIV#need-sign-in, BODY > DIV.g-doc > DIV.g-section DIV#criteria TD, BODY DIV.g-doc DIV.g-section DIV.snippet, BODY DIV.g-doc DIV.g-section DIV.byline > SPAN.date, BODY DIV.g-doc DIV.g-section TABLE.quotes TD, BODY DIV.g-doc DIV.g-section TABLE#main.results TD, BODY DIV.g-doc DIV.g-section TABLE.topmovers TD, BODY DIV.g-doc DIV.g-section DIV.event, BODY DIV.g-doc DIV.g-section DIV.event > DIV.date, BODY DIV.g-doc DIV.g-section TABLE.gf-table > TBODY > TR > TD.pf-table-lp > SPAN > SPAN {color:#999 !important;}" +
/* ads */ "DIV#ad-label, DIV#ad-target {display:none;}" +
// Dictionary enhancements
/* language selector */ "DIV#gs-box > DIV#gs-view {color:#fff !important;}" +
/* language box */ "DIV#gs-box > UL#gs-opts, DIV#gs-box > UL#gs-opts UL.sub {background-color:#181818 !important; border:0 none; color:#777;}" +
/* body cntnr */ "BODY > DIV#cnt > DIV.dct-srch-otr DIV {color:#999 !important;}" +
/* definition txt */ "BODY > DIV#cnt > DIV.dct-srch-otr H2.wd, BODY > DIV#cnt > DIV.dct-srch-otr DIV.dct-eh SPAN, BODY > DIV#cnt > DIV.dct-srch-otr LI.dct-er SPAN {color:#fff;}" +
/* headers */ "BODY > DIV#cnt > DIV.dct-srch-otr H3 {background-color:#333; border:0 none !important; color:#000; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* footer */ "BODY > DIV#cnt > CENTER > DIV[style='border-top: 1px solid rgb(204, 204, 240); padding: 15px 2px 2px;'] {display:none;}" +
// Calendar enhancements
/* logo img [hide] */ "BODY > DIV#calcontent > DIV#topBar > DIV.noprint > TABLE > TBODY > TR > TD.logoparent > IMG#mainlogo {display:none;}" +
/* logo img [insert] */ "BODY > DIV#calcontent > DIV#topBar > DIV.noprint > TABLE > TBODY > TR > TD.logoparent {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}" +
/* alert box */ "DIV#nt1 > DIV > TABLE.mbox {background-color:#000 !important;}" +
/* search options header */ "DIV#sropt > DIV.logoMargin > TABLE[width='100%'][style='background: rgb(116, 221, 130) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;'] {position:relative; right:10px; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* search options box */ "DIV#sropt > DIV[style='border: 3px solid rgb(116, 221, 130); padding: 6px 5%; background: rgb(181, 237, 188) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-bottom: 4px;'] {margin-right:10px; margin-bottom:20px !important; -moz-border-radius-topleft: 14px; -moz-border-radius-bottomright: 14px; -moz-border-radius-bottomleft: 14px;}" +
/* search options I-override */ "DIV#sropt > DIV[style='border: 3px solid rgb(116, 221, 130); padding: 6px 5%; background: rgb(181, 237, 188) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-bottom: 4px;'] > FORM#advancedSearchForm TD {background-color:inherit; border:inherit; -moz-border-radius-topright:inherit; -moz-border-radius-bottomleft:inherit;}" +
/* calendar header */ "DIV#tc_top > TABLE#chrome_main1 {background-color:#000 !important;}" +
/* calendar R-side */ "BODY > DIV#calcontent > TABLE#mothertable > TBODY > TR > TD#rhstogglecell {background-color:#000;}" +
/* item bubble */ "DIV.bubble > TABLE.bubble-table {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* item bubble corner bg */ "DIV.bubble > TABLE.bubble-table > TBODY > TR > TD DIV.bubble-sprite {background:transparent none !important;}" +
/* item bubble cell bg */ "DIV.bubble > TABLE.bubble-table > TBODY > TR > TD.bubble-cell-main > DIV.bubble-top, DIV.bubble > TABLE.bubble-table > TBODY > TR > TD > DIV.bubble-bottom, DIV.bubble > TABLE.bubble-table > TBODY > TR > TD.bubble-mid, DIV.bubble > TABLE.bubble-table > TBODY > TR > TD.bubble-mid TH, DIV.bubble > TABLE.bubble-table > TBODY > TR > TD.bubble-mid TD, DIV.bubble > TABLE.bubble-table > TBODY > TR > TD.bubble-mid DIV {background-color:#333; border:0 none; color:#ccc !important;}" +
/* create event page body */ "FORM#masterForm > DIV.eventpg {background-color:#000;}" +
/* Calendar Login expanded below in brute force enhancements */
/* table txt */ "DIV#newdirtarget TD, DIV#set H3, DIV#set TD, DIV#set TABLE#svalues DIV {color:#000;}" +
// Groups enhancements
/* mygroups panel */ "#myg_popup {border:0 none !important; background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* logo img */ "IMG[width='150'][height='55'][alt='Go to Google Groups Home'], IMG[width='150'][height='55'][src='/groups/img/3nb/groups_medium.gif'], IMG[width='132'][height='26'][style='position: relative; top: 1px;'][alt='Google Groups Home'], BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > CENTER > TABLE > TBODY TR > TD[align='left'] > TABLE > TBODY > TR > TD[valign='top'] > DIV > A > IMG, BODY > TABLE#sft > TBODY > TR > TD.tc > A#logo, BODY > TABLE#sft > TBODY > TR > TD.tc > A#logo > IMG {visibility:hidden}" +
/* search header */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > CENTER > TABLE > TBODY TR > TD[align='left'] > TABLE > TBODY > TR > TD[valign='top'] > DIV {margin:20px;}" +
/* search header options */ "BODY > TABLE#sft > TBODY > TR > TD > FORM[name='gs'] > TABLE.tb > TBODY > TR > TD > DIV.ss {color:#777 !important;}" +
/* top table borders */ "TABLE[width='100%'] > TBODY > TR[valign='top'] > TD[width='70%'][valign='top'][align='left'] > DIV > TABLE[width='450'][style='border-top: 1px solid rgb(119, 153, 221);'], BODY[bgcolor='white'] > TABLE[width='100%'] > TBODY > TR[valign='bottom'] > TD > TABLE[width='100%'] > TBODY > TR > TD[valign='center'][align='left'] > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#7799dd'] {border:0 none !important; background-color:#000 !important;}" +
/* header bar bgs */ "TD[valign='center'][align='left'] > TABLE[width='100%'] > TBODY > TR[bgcolor='#e8eef7'] {background-color:#000;}" +
/* header top line */ "BODY > CENTER > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD > DIV > TABLE[style='border-top: 1px solid rgb(119, 153, 221);'] {border:0 none !important;}" +
/* header bars */ "TD[class='padt3 padb3 padl3 padr8'][bgcolor='#e8eef7'], TD[valign='center'][align='left'] > TABLE[width='100%'] > TBODY > TR[bgcolor='#e8eef7'] > TD, BODY > TABLE.sb {padding-left:7px; background-color:#333; border:0 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* right table bg */ "#GHP_compact_my_groups > TABLE TBODY TR TD {border:0 none !important; background-color:#000; color:#999 !important;}" +
/* right headers */ "TD[class='padt3 padb3 padl7'][style='border-top: 1px solid rgb(119, 153, 221);'] {border:0 none !important; padding-left:7px; background-color:#222 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* number txt & bgs */ "DIV[class='padl0 padr0'] > DIV, DIV[class='padl0 padr0'] > DIV B {background-color:#000 !important; color:#369 !important;}" +
/* number corners */ "DIV[class='padl0 padr0'] > DIV > TABLE {display:none;}" +
/* suggested for you bg */ "TABLE[width='450'][style='border-top: 1px solid rgb(119, 153, 221);'] > TBODY > TR > TD > TABLE > TBODY TR TD[width='40%'][valign='top'] {background-color:#000;}" +
/* search page txt */ "BODY > DIV#res > TABLE#gdr > TBODY > TR > TD DIV {color:#999 !important;}" +
/* sponsored links */ "BODY > TABLE#rhsc {display:none;}" +
// Advanced Search
/* logo img */ "BODY[marginheight='3'][bgcolor='#ffffff'][topmargin='3'] > TABLE[width='100%'][cellpadding='0'][border='0'] > TBODY > TR > TD[valign='middle'].tc > A#logo > IMG {display:none;}" +
/* header blue line */ "TABLE#advsearch-t {border-top:0 none;}" +
/* header bar */ "TABLE#advsearch-t > TBODY > TR > TD.page-title {padding-left:7px; background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header about */ "TABLE#advsearch-t > TBODY > TR > TD.page-about {display:none;}" +
/* borders */ "TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > DIV.qbuilder-env, TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > FORM[name='f'].block, TABLE.advsearch-s > TBODY > TR > TD > FORM[name='msgid'].block {background-color:#000 !important; border-color:#333;}" +
/* top borders */ "TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > DIV.qbuilder-env, TABLE.advsearch-s > TBODY > TR > TD > FORM[name='msgid'].block {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* bottom borders */ "TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > FORM[name='f'].block, TABLE.advsearch-s > TBODY > TR > TD > FORM[name='msgid'].block {-moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* highlighted bgs */ "TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > DIV.qbuilder-env > DIV#gen-query, TABLE.advsearch-s > TBODY > TR > TD > DIV.outer-box > FORM[name='f'].block > DIV > TABLE > TBODY > TR[bgcolor='#ffffff'], TABLE.advsearch-s > TBODY > TR > TD > FORM[name='msgid'].block > DIV > TABLE > TBODY > TR[bgcolor='#ffffff'] {background-color:#000; color:#fff !important;}" +
// Browse Groups
/* logo img */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[valign='top'] > DIV > A > IMG {display:none;}" +
/* top line */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][bgcolor='#e8eef7'].tsh {display:none;}" +
/* search bars */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'][bgcolor='#e8eef7'] {padding-left:7px; background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* result txt */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex {color:#ccc !important;}" +
/* result item */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > P {padding-top:10px; border-top:1px solid #555;}" +
/* pagination */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE#bottom_marker > TBODY > TR[valign='bottom'] > TD[width='100%'] > DIV[dir='ltr'] > TABLE > TBODY > TR > TD IMG {display:none;}" +
/* pagination bg fix */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE#bottom_marker > TBODY > TR[valign='bottom'] > TD[width='100%'] > DIV[dir='ltr'] > TABLE > TBODY > TR > TD {background-image:none !important;}" +
/* bottom search bg */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'][bgcolor='#e8eef7'][style='margin-right: -5px;'] {background-color:#000;}" +
/* bottom line */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV[style='border-bottom: 1px solid rgb(119, 153, 221);'] {display:none;}" +
// My Profile
/* header bar */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][bgcolor='#e8eef7'][style='padding: 1px 0px 2px;'] {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* recent activity */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE.padt10 > TBODY > TR > TD> TABLE > TBODY > TR#stats > TD[width='500'] * {color:#000 !important;}" +
/* activity box */ "BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE.padt10 > TBODY > TR > TD> TABLE > TBODY > TR#stats > TD[width='500'] TD[bgcolor='#e8eef7'], BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE.padt10 > TBODY > TR > TD> TABLE > TBODY > TR#stats > TD[width='500'] TD[bgcolor='#e8eef7'] > DIV, BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE.padt10 > TBODY > TR > TD> TABLE > TBODY > TR#stats > TD[width='500'] > DIV.wdth100 > DIV[style='border-top: 15px solid white; border-bottom: 10px solid white;'], BODY[marginheight='3'][bgcolor='white'][topmargin='3'] > DIV.padl1ex > TABLE.padt10 > TBODY > TR > TD> TABLE > TBODY > TR#stats > TD[width='500'] TABLE#stat_ftr > TBODY > TR > TD {border-color:#000 !important; background-color:#000; color:#fff !important;}" +
// Create
/* step num */ "DIV[style='padding: 10px 158px;'] > TABLE > TBODY > TR > TD[width='16'][height='18'][align='center'] {color:#999 !important;}" +
/* page txt */ "TABLE.content > TBODY > TR > TD, DIV[style='padding: 10px 158px;'] > FORM[name='cr'] > DIV.boxttl, BODY[bgcolor='white'] > DIV[style='padding: 10px 158px;'], BODY[bgcolor='white'] > DIV[style='padding: 10px 158px;'] > DIV, BODY[bgcolor='white'] > DIV[style='padding: 10px 158px;'] > TABLE > TBODY > TR > TD, BODY[bgcolor='white'] > DIV[style='padding: 10px 158px;'] > TABLE > TBODY > TR > TD > DIV {color:#999 !important;}" +
/* submit bar bg */ "TABLE.content > TBODY > TR > TD[valign='middle'][align='right'][style='background-color: rgb(232, 238, 247);'] {background-color:#000 !important;}" +
/* footer bar bg */ "BODY[bgcolor='white'] > DIV[style='background-color: rgb(232, 238, 247);'] {background-color:#000 !important;}" +
// Admin
/* group name bar */ "BODY[bgcolor='white'] > DIV[style='border-top: 1px solid rgb(119, 153, 221);'], BODY[bgcolor='white'] > DIV[style='padding: 4px 10px; background-color: rgb(232, 238, 247);'], BODY[bgcolor='white'] > DIV[style='border-top: 1px solid rgb(119, 153, 221);'] {border:0 none !important; background-color:#000 !important;}" +
/* title bar */ "DIV.maincontheaderbox > DIV.secttlbarwrap > DIV.secttlbar {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* spacers */ "DIV.maincontheaderbox > DIV.secttlbarwrap > DIV > TABLE[width='100%'] > TBODY > TR, DIV.maincontheaderboxatt > DIV > TABLE[width='100%'] > TBODY > TR > TD[width='100%'][height='4'][bgcolor='#e8eeff'], DIV.maincontheaderboxatt > DIV > TABLE[width='100%'] > TBODY > TR > TD[width='100%'][height='4'][bgcolor='#c3d9ff'], DIV.maincontheaderboxatt DIV[style='background: transparent url(/groups/roundedcorners?c=c3d9ff&bc=white&w=4&h=4&a=af) repeat scroll 0px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 4px; height: 4px;'], DIV.maincontheaderboxatt DIV[style='background: transparent url(/groups/roundedcorners?c=c3d9ff&bc=white&w=4&h=4&a=af) repeat scroll 0px 4px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 4px; height: 4px;'], DIV.maincontheaderboxatt DIV[style='background: transparent url(/groups/roundedcorners?c=e8eeff&bc=white&w=4&h=4&a=af) repeat scroll 0px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 4px; height: 4px;'], DIV.maincontheaderboxatt DIV[style='background: transparent url(/groups/roundedcorners?c=e8eeff&bc=white&w=4&h=4&a=af) repeat scroll 0px 4px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 4px; height: 4px;'] {display:none;}" +
/* section headers */ "DIV.maincontheaderboxatt > DIV.sshdr {padding:5px; background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* right panel */ "BODY[bgcolor='white'] > DIV.rf DIV {background-color:#333 !important;}" +
/* right panel bttm */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD[style='background-color: rgb(232, 238, 247);'] {background-color:#000 !important;}" +
/* content border */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide {border:0 none !important;}" +
/* page txt */ "TD.overflow-hide > DIV.maincontheaderboxatt TABLE TBODY TR TD, TD.overflow-hide > DIV[style='text-align: center;'], DIV.mngcontentbox TABLE > TBODY > TR > TD, DIV.mngcontentbox DIV, BODY > DIV.padl1ex SPAN, TD.padt8 TD, TD > DIV#banner {color:#999 !important;}" +
/* settings bgs */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide DIV.mnghdrttl, TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide DIV.mngbottombox DIV, TD.padall6 > TABLE > TBODY > TR > TD > TABLE[width='500'][bgcolor='#ffffff'] {background-color:#000 !important;}" +
/* settings spacers */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide > DIV.mngtabbox > DIV:first-child > TABLE[width='100%'] {display:none;}" +
/* settings actv itm */ "DIV.mngbottombox > DIV.mnghdrbtm > DIV > SPAN {color:#fff;}" +
/* settings o-border */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide > DIV.mngbottombox {border:0 none !important;}" +
/* settings i-border */ "TABLE[class='wdth100 overflow-hide'] > TBODY > TR[valign='top'] > TD.overflow-hide > DIV.mngbottombox > DIV.mngcontentbox {border:3px solid #333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* Groups additionally expanded below in brute force enhancements */
// Books enhancements
/* logo img */ "BODY > DIV > CENTER > TABLE#top_search_box > TBODY > TR > TD[style='padding-bottom: 8px; padding-top: 2px;'] > A > IMG[height='40'], BODY[bgcolor='#ffffff'] > TABLE[style='margin: 9px 0px 11px; clear: both;'] > TBODY > TR > TD[valign='top'][rowspan='2'] > A > IMG {display:none;}" +
/* announcement */ "BODY > DIV > CENTER > SPAN.announcement {color:#999;}" +
/* headers */ "BODY > DIV > CENTER > TABLE#hp_table > TBODY > TR > TD > DIV.sbr > DIV.sub_cat_section > DIV.sub_cat_title, BODY > DIV > CENTER > TABLE#hp_table > TBODY > TR > TD DIV.hpm_title {background-color:#333; border:0 none !important; font-weight:bold; color:#000 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* menu txt */ "TABLE#viewport_table > TBODY > TR > TD#menu_td > DIV#menu_container > DIV#menu TD, TABLE#viewport_table > TBODY > TR > TD#menu_td > DIV#menu_container > DIV#menu H3, TABLE#viewport_table > TBODY > TR > TD#menu_td > DIV#menu_container > DIV#menu SPAN {color:#999 !important;}" +
/* goog-tooltip */ "BODY > DIV.goog-tooltip {background-color:#333 !important; border:0 none !important; color:#000 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page txt */ "TABLE#viewport_table > TBODY > TR > TD#viewport_td DIV, TABLE#viewport_table > TBODY > TR > TD#viewport_td H2, BODY > DIV.scontentarea > DIV > DIV.rsiwrapper> TABLE.rsi > TBODY > TR > TD DIV {color:#999 !important;}" +
/* buy alternate row */ "DIV#summary_content > TABLE > TBODY > TR.seller-row-alt {background-color:#181818;}" +
/* view block */ "BODY > DIV#rhswrapper > TABLE#rhssection, BODY > DIV#rhswrapper > TABLE#rhssection TD {border:0 none; background-color:#000;}" +
/* rate book block */ "BODY > DIV[style='border: 1px solid rgb(167, 167, 114); margin: 20px; padding: 20px; background-color: rgb(255, 255, 217); width: 50%;'], BODY > FORM[name='edit_annotations'] DIV {border:0 none !important; background-color:#000 !important; color:#999 !important;}" +
/* right-side ads */ "BODY > DIV#rhswrapper > TABLE#rhssection > TBODY > TR > TD {display:none;}" +
/* right-side viewToggleCell */ "BODY > DIV#rhswrapper > TABLE#rhssection > TBODY > TR > TD#viewmodetogglecell {display:inherit;}" +
/* Books expanded below in brute force enhancements */
// Scholar enhancements
/* logo imgs */ "BODY[vlink='#551a8b'] > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD:first-child > IMG, BODY > FORM[name='f'] > TABLE[width='99%'] > TBODY > TR:first-child > TD[width='1%'] > A > IMG, BODY > FORM[name='prefform'] > CENTER > TABLE[width='100%'] > TBODY > TR:first-child > TD:first-child > A > IMG[height='40'], BODY > TABLE[style='margin: 7px 3px; clear: both;'] > TBODY > TR:first-child > TD:first-child > A > IMG[height='40'] {display:none;}" +
/* pre header line */ "BODY > FORM[name='f'] > TABLE[width='99%'] > TBODY > TR:first-child > TD > TABLE[width='100%'] > TBODY > TR:first-child > TD[bgcolor='#008000'], BODY > FORM[name='prefform'] > CENTER > TABLE > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR:first-child > TD[bgcolor='#008000'], BODY > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#008000'] {display:none;}" +
/* header bg */ "BODY > TABLE[width='100%'][bgcolor='#dcf6db'] {background-color:#000;}" +
/* header R */ "BODY > FORM[name='f'] > TABLE[width='99%'] > TBODY > TR:first-child > TD > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#dcf6db'][align='right'], BODY > FORM[name='prefform'] > CENTER > TABLE > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR:first-child > TD[bgcolor='#dcf6db'][align='right'], BODY > TABLE[width='100%'][bgcolor='#dcf6db'] > TBODY > TR > TD[bgcolor='#dcf6db'][align='right'] {padding-right:0.5em; background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px;}" +
/* header L */ "BODY > FORM[name='f'] > TABLE[width='99%'] > TBODY > TR:first-child > TD > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#dcf6db']:first-child, BODY > FORM[name='prefform'] > CENTER > TABLE > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR:first-child > TD[bgcolor='#dcf6db']:first-child, BODY > TABLE[width='100%'][bgcolor='#dcf6db'] > TBODY > TR > TD[bgcolor='#dcf6db']:first-child {padding-left:0.5em; background-color:#333 !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}" +
/* box bgs */ "BODY > FORM[name='f'] > TABLE[width='99%'] TD, BODY > FORM[name='prefform'] > CENTER > TABLE[width='100%'] > TBODY > TR[bgcolor='#dcf6db'] {background-color:#000 !important;}" +
/* table cell override */ "BODY > FORM[name='f'] > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[width='40%'] {-moz-border-radius-topright:0; -moz-border-radius-topleft:0; -moz-border-radius-bottomright:0; -moz-border-radius-bottomleft:0;}" +
/* bottom search box */ "BODY > CENTER > TABLE[width='100%'] > TBODY > TR > TD.k, BODY > CENTER > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#dcf6db'] {background-color:#000;}" +
/* bottom search page nums W */ "BODY > DIV.n > TABLE[width='1%'] {width:inherit !important; border-spacing:1em;}" +
/* bottom search page nums */ "BODY > DIV.n > TABLE[width='1%'] > TBODY > TR > TD IMG {display:none;}" +
/* footer */ "BODY > FORM[name='f'] > CENTER:last-child > FONT[size='-1'], BODY > FORM[name='prefform'] > CENTER > P:last-child > FONT[size='-1'] {display:none;}" +
/* Scholar: Support expanded below in brute force enhancements */
// Blogs enhancements
/* logo imgs */ "BODY > DIV > TABLE#srch_box_t > TBODY > TR > TD:first-child > A > IMG[height='40'], BODY > DIV#h > TABLE:first-child > TBODY > TR > TD:first-child > A > IMG {display:none;}" +
/* pre header line */ "BODY TABLE[width='100%'] > TBODY > TR > TD.tpb {display:none;}" +
/* headers */ "BODY > DIV#canvas > DIV.heading, DIV#rightHandContainer DIV.heading, BODY TABLE.ttt, BODY TABLE.ttt TD {padding-left:0.7em; background-color:#333; border:0 none !important; color:#ccc!important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* menu divider */ "DIV#main > DIV#sideBarContainer > DIV#sideBarWrap {border-color:#333;}" +
/* menu r-line */ "BODY > DIV#m > DIV.ln {border-right-color:#333;}" +
/* menu highlights */ "UL#sideLinksList > LI.selected, DIV#sideBarWrap > DIV#feedsContainer > DIV > DIV.sbiTitle {background-color:#222 !important; color:#fff !important;}" +
/* page txt */ "TABLE#buzzlistTable TR.clusterGroup DIV.entryText SPAN, TABLE#buzzlistTable TR.clusterGroup DIV.entryText DIV {color:#999 !important;}" +
/* footer */ "BODY > CENTER > CENTER > FONT[size='-2']:last-child {display:none;}" +
/* Blogs: Advanced Search expanded below in brute force enhancements */
// Code enhancements
/* logo imgs */ "#logo IMG[src='/images/code_sm.png'], TABLE[style='margin: 0px 0px -6px 0pt; padding: 0px; width: 100%;'] TD[style='width: 153px;'] IMG[src='/hosting/images/code_sm.png'], #logo IMG[src='http://code.google.com/images/code_sm.png'] {display:none;}" +
/* search button bg */ ".gsc-search-box .gsc-search-button {background-color:#000;}" +
/* search suggest */ ".gsc-search-box .greytext {background-color:#000 !important; color:#999 !important;}" +
/* header bars */ "#gc-topnav, #gc-topnav H1, #header #title, TABLE.mainhdr, #issueheader, #issueheader TABLE TBODY TR TD, #makechanges DIV.h4 {padding-right:10px; background-color:#333; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#000 !important;}" +
/* page txt */ "#gc-home DIV, #codesiteContent DIV, #body, #body DIV, #body TABLE TBODY TR TD DIV, #maincol DIV, #maincol DIV TABLE TBODY TR TD, #maincol P, #maincol H4, #issuemeta, #issuemeta TD, TABLE.issuepage TBODY TR TD[class='vt issuedescription'], DIV.content DIV, DIV.content DIV DIV DIV H2, DIV.content DIV DIV TABLE TBODY TR TD {color:#999 !important;}" +
/* section headers */ "DIV.g-unit H2, .g-c .column-title, #gc-toc UL.treelist LI H1, #gc-toc UL.treelist LI H2, #gc-pagecontent H1 {margin-top:10px; padding-top:2px; padding-left:4px; border:0; background-color:#333; -moz-border-radius-topleft:14px;-moz-border-radius-topright:14px; color:#fff;}" +
/* labels tables */ ".g-c .labels-table DIV {background-color:#333;}" +
/* box bgs */ "#products-list, #preview-box {border:0; background-color:#000 !important;}" +
/* project tabs */ "TABLE#mt TBODY TR TH {background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* project tab round bg */ "TABLE#mt TBODY TR TH DIV {background-image:none !important;}" +
/* project details */ "#codesiteContent TABLE.columns TBODY TR TD {background-color:#000; color:#999 !important;}" +
/* docs toc bg */ "#gc-toc UL.treelist LI UL LI {background-color:inherit;}" +
/* docs sidebar bg */ "#maincol .pmeta_bubble_bg, .rounded_ul, .rounded_ur, .rounded_ll, .rounded_lr, DIV[style='background: rgb(221, 248, 204) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-bottom: 5px; table-layout: fixed;'], .vt DIV.tip {background:#333 none !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* docs code bg */ "PRE {background-color:#ccc;}" +
/* downloads search bar */ "TABLE.st TBODY TR TD, TABLE.st TBODY TR TD DIV, TABLE.st TBODY TR TD DIV DIV SPAN {background:#000 none !important; color:#999 !important;}" +
/* downloads results table */ ".bubble_bg, TABLE#resultstable TBODY TR TH, TABLE#resultstable TBODY TR TD {border-bottom-color:#333; border-left-color:#333; background:#000;}" +
/* org info block */ "#body TABLE TBODY TR TD DIV.extern_app {background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* org info app list */ "#body DIV TABLE.applist {background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* org info app details */ "#body DIV TABLE.applist TBODY TR TD {color:#fff !important;}" +
/* org info app text */ "#body DIV TABLE.applist TBODY TR TD DIV.app_text {padding:10px; background:#000 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#fff !important;}" +
/* alerts & messages */ "#codesiteContent P.note, #codesiteContent P.caution, #codesiteContent P.warning, #codesiteContent DIV.noticebox, #nowShowingDiv, DIV[class='bottom clearfix'] DIV.blog {padding-top:4px; padding-bottom:5px; border:0; background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#fff;}" +
/* collapsible bg */ "#gc-collapsible {border:2px solid #333; background:#333 none !important;}" +
/* footer bg */ "DIV#gc-footer {background:#000 none;}" +
/* Code expanded below in brute force enhancements */
// Experimental enhancements
/* These two maintained for older G.versions, expanded below and in brute force enhancements: */
/* logo img */ "BODY > DIV#container > DIV#header > DIV[style='float: left; width: 155px;'] IMG[width='150'][height='55'] {display:none;}" +
/* content */ "BODY > DIV#container > DIV#content {color:#999 !important;}" +
/* New web search results implementations: */
/* right side drop menu */ "BODY#gsr > DIV#header > DIV.std > SPAN[style='background: rgb(255, 255, 255) none repeat scroll 0% 0%; float: right; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; position: relative;'] {background-color:#555 !important; padding-right:0.25em; padding-left:0.25em; color:#fff !important; text-decoration:none; -moz-border-radius-topright:7px; -moz-border-radius-topleft:7px; -moz-border-radius-bottomright:7px; -moz-border-radius-bottomleft:7px;}" +
/* right side drop menuLink */ "BODY#gsr > DIV#header > DIV.std > SPAN[style='background: rgb(255, 255, 255) none repeat scroll 0% 0%; float: right; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; position: relative;'] A, BODY#gsr > DIV#header > DIV.std > SPAN[style='background: rgb(255, 255, 255) none repeat scroll 0% 0%; float: right; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; position: relative;'] A U {color:#fff !important; text-decoration:none !important;}" +
/* right side drop menu drop */ "BODY#gsr > DIV#header > DIV.std > SPAN[style='background: rgb(255, 255, 255) none repeat scroll 0% 0%; float: right; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; position: relative;'] > DIV#exp_info {background-color:#333 !important;}" +
/* keyboard legend bg */ "BODY DIV#cnt TABLE.mbEnd, BODY DIV#cnt TABLE.mbEnd TD {border:0 none !important; background-color:#000 !important;}" +
/* keyboard chevron */ "BODY DIV#res > DIV > OL > LI.g > IMG[src='/images/chevron.gif'] {padding:1px; background-color:#fff;}" +
/* keyboard exp Key title */ "BODY TABLE.mbEnd > TBODY > TR > TD.std > CENTER.f {font-weight:bold; color:#fff;}" +
// Support enhancements
/* logo img */ "TABLE[align='center'] TBODY TR TD[width='155'][rowspan='2'] A IMG, TABLE[align='center'] TBODY TR[valign='middle'] TD[width='135'] IMG, BODY.answer_page TABLE.header_table > TBODY > TR > TD.header_logo_td > A[href='/'] > IMG[alt='Google'] {display:none;}" +
/* header */ "TABLE[style='border-bottom: 1px solid rgb(37, 71, 157);'] TBODY TR TD, DIV#baseDiv > DIV.header_wrapper > TABLE.header_table * {background-color:#000; color:#fff !important;}" +
/* page title */ "TABLE[style='border-bottom: 1px solid rgb(37, 71, 157);'] TBODY TR TD.header H1 {color:#fff !important;}" +
/* headline color */ "BODY.answer_page H2, BODY.answer_page H3, BODY.answer_page H4 {color:#ccc;}" +
/* page txt */ "TABLE[style='border-bottom: 1px solid rgb(37, 71, 157);'] TBODY TR TD, TABLE TBODY TR TD P, #content, BODY.answer_page OL, BODY.answer_page FORM {color:#999 !important;}" +
/* head tabs */ "#tabs TABLE TBODY TR TD DIV {border:0; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* head tabs */ "#tabs TABLE TBODY TR TD DIV DIV.link A {color:#000 !important;}" +
/* answer name */ "TABLE TBODY TR TD H3.answername {color:#fff !important;}" +
/* info boxes */ "BODY.answer_page DIV.lightbulb, BODY.answer_page DIV.module {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* info box module title bg */ "BODY.answer_page DIV.module > H2 {background-color:transparent; color:#ccc;}" +
/* side bar headers */ "TABLE.smfont TBODY TR TD.module_hdr {border:0; background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* side bar header txt */ "TABLE.smfont TBODY TR TD.module_hdr H4, TABLE.smfont TBODY TR TD.module_hdr H4 LABEL, TABLE.smfont TBODY TR TD.module_hdr B {color:#000 !important;}" +
/* side bar block bg */ "TABLE.smfont TBODY TR TD {border:0 none #000 !important; background-color:#000;}" +
/* bottom tools */ "TABLE TBODY TBODY TR TD[style='border-bottom: 1px solid rgb(204, 204, 204);'] B {color:#fff !important;}" +
/* bottom help box */ "TABLE.answerfooter {border:0 none; background:#333 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* bottom help txt */ "TABLE.answerfooter TBODY TR TD DIV FONT, TABLE.answerfooter TBODY TR TD DIV FONT B, TABLE.answerfooter TBODY TR TD DIV FONT NOBR {color:#fff !important;}" +
// Patents enhancements
/* logo img */ "BODY > DIV[style='clear: both;'] > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD > IMG, BODY > DIV#top_search_bar > DIV[style='padding: 1px 10px 0px 6px; float: left;'] > A > IMG#logo, BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='clear: both;'] > TBODY > TR > TD[valign='top'][rowspan='2'] > A > IMG {display:none;}" +
/* titlebar */ "BODY > DIV#titlebar, BODY > TABLE#results_bar {padding-left:0.5em; border:0 none !important; background-color:#333 !important; font-weight:bold; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* titlebar txt */ "BODY > DIV#titlebar H1, BODY > DIV#titlebar SPAN {color:#fff !important;}" +
/* menu active */ "BODY > TABLE#viewport_table > TBODY > TR > TD#menu_td > DIV#menu_container > DIV#menu DIV.menu_content > DIV > DIV.sidebarnav > SPAN.nolink {color:#fff;}" +
/* headers */ "BODY > TABLE#viewport_table > TBODY > TR > TD#viewport_td H3 {border:0; background-color:#222 !important; color:#ccc; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page txt */ "BODY > TABLE#viewport_table > TBODY > TR > TD#viewport_td > DIV.vertical_module_list_row TD, BODY > TABLE#viewport_table > TBODY > TR > TD#viewport_td DD, BODY > DIV.scontentarea DIV P, BODY > DIV.scontentarea > SPAN.big {color:#ccc !important;}" +
/* footer */ "BODY > DIV#footer_table > SPAN, BODY > DIV > DIV#footer_table > SPAN, BODY > DIV[align='center'] > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD.k {display:none;}" +
/* Advanced Search expanded below in brute force enhancements */
// Toolbar enhancements
/* logo imgs */ "BODY[bgcolor='#ffffff'][topmargin='3'] CENTER TABLE[width='725'] TBODY TR TD IMG[width='143'][height='59'][src='../../../../common/toolbar_sm.gif'], TABLE[width='100%'][style='direction: ltr;'] TBODY TR TD A[href='http://toolbar.google.com'] IMG, BODY > TABLE[width='100%'] > TBODY > TR > TD > A[href='../../T4/'] IMG[width='143'][height='59'], BODY.siteowners > TABLE[width='96%'] > TBODY > TR > TD[width='1%'] > A > IMG, BODY.siteowners IMG[src='http://www.google.com/images/art.gif'] {display:none;}" +
/* page title */ "BODY > TABLE[width='100%'][style='direction: ltr;'] > TBODY > TR > TD[width='100%'], BODY > TABLE[width='100%'][style='direction: ltr;'] > TBODY > TR > TD[width='100%'] TABLE TBODY TR TD {background-image:none !important; color:#fff !important;}" +
/* download box */ "BODY[bgcolor='#ffffff'][topmargin='3'] CENTER TABLE TBODY TR TD TABLE#download TBODY TR TD {background-color:#000; border:0 !important;}" +
/* bottom logo(s) */ "TABLE TBODY TR TD[nowrap='nowrap'] IMG[src='http://www.google.com/nav_first.gif'], TABLE TBODY TR TD[nowrap='nowrap'] IMG[src='http://www.google.com/nav_current.gif'], TABLE TBODY TR TD[nowrap='nowrap'] IMG[src='http://www.google.com/nav_page.gif'], TABLE TBODY TR TD[nowrap='nowrap'] IMG[src='http://www.google.com/nav_next.gif'] {display:none;}" +
/* Toolbar expanded below in brute force enhancements */
// API
/* page title */ "BODY > TABLE[width='100%'] > TBODY > TR > TD[width='100%'][style='padding-left: 15px;'] TABLE TBODY TR TD FONT STRONG {padding-left:131px; color:#fff !important;}" +
/* start making btn */ "TABLE TBODY TR TD#content DIV#start_box {border:1px solid #fff; background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* header bars */ "TABLE TBODY TR TD#content H2.header {border:0; background:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page-code */ "TABLE TBODY TR TD#content PRE {color:#000;}" +
/* page block bgs */ "TABLE TBODY TR TD#content DIV, BODY.siteowners TABLE TBODY TR TD {background-color:#000 !important;}" +
// Firefox Tools enhancements
/* logo img */ "BODY > CENTER > DIV > TABLE[width='739'] > TBODY > TR > TD[width='1%'] A IMG {display:none;}" +
/* page titlebar */ "BODY > CENTER > DIV > TABLE[width='739'] > TBODY > TR > TD[width='100%'] {width:100%; padding-left:151px; color:#fff;}" +
/* page txt */ "BODY > CENTER > DIV > TABLE[width='100%'] > TBODY > TR > TD, BODY > CENTER > DIV > TABLE[width='100%'] > TBODY > TR > TD TABLE TBODY TR TD, BODY > CENTER > DIV[style='margin: 20px 30px; text-align: left; width: 740px;'] * {color:#999 !important;}" +
/* more header */ "BODY > CENTER > DIV > TABLE[width='100%'] > TBODY > TR > TD H3[style='border-bottom: 1px solid rgb(37, 71, 157); font-size: 17px; background-color: rgb(255, 255, 255); padding-bottom: 4px;'] {padding-left:7px; border:0 none !important; background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px; color:#000;}" +
/* right col block */ "BODY > CENTER > DIV > TABLE[width='100%'] > TBODY > TR > TD DIV.rightcol {background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* install extension */ "BODY > CENTER > DIV[style='margin: 20px 30px; text-align: left; width: 740px;'] DIV.extension {background-color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* extension whitelist */ "BODY > CENTER > DIV[style='margin: 20px 30px; text-align: left; width: 740px;'] DIV.whitelist {border:2px solid #fff; background-color:#000; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
// MonkeyBarrel Google enhancements
/* shift down slightly */ "DIV[style='position: fixed; top: 10px; left: 10px; margin-bottom: 10px; background-color: transparent; z-index: 99999;'] {top:28px !important; left:2px !important;}" +
// Notebook enhancements
/* logo img */ "BODY.e > DIV.h TABLE#gn_ph > TBODY > TR:first-child > TD[align='right']:first-child > A > IMG {visibility:hidden;}" +
/* left menu border */ "BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc > DIV > DIV.wb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* left menu header */ "BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc DIV.vb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* left menu lower-block */ "BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc TABLE.vb, BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV TABLE.rb {display:none;}" +
/* left menu C-footer */ "BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc > DIV.bf {display:none;}" +
/* labels block header */ "BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV[class='sc rb'] {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}" +
/* labels lower block */ "BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV[class='wc sb'] {border-bottom:2px solid #b5edbc; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* tip bar */ "BODY.e TD.cb > SPAN.eb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page txt */ "BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV > DIV.m > DIV.oa > DIV.zg > DIV.dh > DIV.hh > DIV:first-child {color:#000;}" +
/* faq logo img */ "BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD[width='1%'] > A[href='http://www.google.com/notebook'] > IMG {display:none;}" +
/* faq title block */ "BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD > TABLE[width='100%'][bgcolor='#c3d9ff'][align='center'][style='margin-bottom: 5px;'] TBODY TR TD {background-color:#000;}" +
/* faq title block corners */ "BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD > TABLE[width='100%'][bgcolor='#c3d9ff'][align='center'][style='margin-bottom: 5px;'] TBODY TR TD IMG {display:none;}" +
/* faq list txt */ "OL.answers LI UL.response LI, OL.response LI {color:#999 !important;}" +
/* Notebook expanded below in brute force enhancements */
// Translate enhancements
/* logo img */ "BODY > DIV#whole > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD[width='1%'][height='40'] > A > IMG, BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD[width='1%'][height='40'] > A > IMG {display:none;}" +
/* logo-bar 2nd remove */ "BODY > DIV#whole > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD[width='100%'][valign='top'][align='right'], BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD[width='100%'][valign='top'][align='right'] {background-image:none !important;}" +
/* head menu */ "BODY > DIV#whole > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD > DIV[style='margin: 4px 0pt; padding: 0pt;'] > TABLE > TBODY > TR > TD, BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD > DIV[style='margin: 4px 0pt; padding: 0pt;'] > TABLE > TBODY > TR > TD {background-color:#000; border:0 none;}" +
/* head menu active */ "BODY > DIV#whole > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD > DIV[style='margin: 4px 0pt; padding: 0pt;'] > TABLE > TBODY > TR > TD.active, BODY > TABLE[cellspacing='0'][cellpadding='0'][border='0'][style='font-size: medium;'] > TBODY > TR > TD > DIV[style='margin: 4px 0pt; padding: 0pt;'] > TABLE > TBODY > TR > TD.active {color:#fff !important;}" +
/* headers */ "BODY > DIV#whole H1, BODY > DIV#whole H2, BODY > DIV#content H1, BODY[marginheight='3'][topmargin='3'] > H1 {background-color:#333 !important; color:#fff; padding-left:0.7em; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* page txt */ "BODY > DIV#whole > DIV#main > DIV, BODY > DIV#whole > DIV#main > DIV DIV, BODY > DIV#whole > FORM#text_form TD, BODY > DIV#content DIV, BODY > DIV#content TABLE > TBODY > TR > TD, BODY[marginheight='3'][topmargin='3'] > DIV.section, BODY[marginheight='3'][topmargin='3'] > DIV.section LI {color:#ccc !important;}" +
/* result txt */ "BODY > DIV#whole > FORM#text_form > TABLE#texttable > TBODY > TR > TD.almost_half_cell > DIV#result_box {color:#fff !important;}" +
/* boxes */ "BODY > DIV#whole > DIV#main > DIV#alang, BODY[marginheight='3'][topmargin='3'] > DIV.section > TABLE > TBODY > TR > TD.main, BODY[marginheight='3'][topmargin='3'] > DIV.section > DIV#toolbar_float {padding-top:0.7em; padding-bottom:0.5em; background-color:#191919; border:0 none; color:#ccc !important;padding-left:1em; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* footer */ "BODY > DIV#whole > DIV#foot, BODY > DIV#whole > DIV.footer, BODY > DIV#content > DIV.tab_footer, BODY > DIV.tab_footer {display:none;}" +
/* Translate Top Frame expanded below in brute force enhancements */
// Profile enhancements
/* page txt */ "DIV.vcard DIV, UL.g-section > LI > B {color:#999 !important;}" +
/* about box */ "DIV.g-section > UL.g-section {background-color:#000;}" +
/* about tab */ "DIV.g-section > UL.g-section LI#about_tab {background-color:#000; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px;}" +
/* footer logo */ "DIV.ll_footer IMG.logo {display:none;}" +
/* search logo img [hide] */ "BODY.ll_page_body > DIV > DIV.profile-results-header-search > FORM[name='profilesearch'] > IMG.logo {display:none;}" +
/* search logo img [insert] */ "BODY.ll_page_body > DIV > DIV.profile-results-header-search > FORM[name='profilesearch'] {padding:0px 0 17px 150px; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important;}" +
/* search header */ "BODY.ll_page_body > DIV > TABLE.profile-results-header-ribbon {border:0 none; background-color:#333 !important; color:#fff; padding-left:0.7em;-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* search B-pagination W */ "BODY.ll_page_body > DIV > DIV.profile-results-paginator > DIV.p > TABLE[width='1%'] {width:33% !important;}" +
/* search B-pagination */ "BODY.ll_page_body > DIV > DIV.profile-results-paginator > DIV.p > TABLE[width='1%'] > TBODY > TR[valign='top'][align='center'] > TD IMG {display:none;}" +
/* search B-searchForm */ "BODY.ll_page_body > DIV > TABLE.profile-results-footer-ribbon {border:0 none; background-color:#000;}" +
/* Profiles Main-page expanded below in brute force enhancements */
// Firefox Start enhancements
/* search outer */ "FORM[name='f'] > TABLE#frame {margin-top:50px; padding-left:20px; background-color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* search inner */ "FORM[name='f'] > TABLE#frame > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'] > TABLE[cellspacing='0'][cellpadding='0'] {margin:20px; padding: 0 13px 13px 20px; background-color:#000; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}" +
/* search inner left-col */ "FORM[name='f'] > TABLE#frame > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'] > TABLE[cellspacing='0'][cellpadding='0'] > TBODY > TR > TD > IMG[width='40'][height='1'] {display:none;}" +
/* Google logo removal */ "BODY > CENTER > FORM > TABLE#frame > TBODY > TR > TD > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD > DIV[title='Google'] {visibility:hidden;}" +
/* orange search button */ "FORM[name='f'] > TABLE#frame > TBODY > TR > TD > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[width='100%'] > TABLE[cellspacing='0'][cellpadding='0'] > TBODY > TR > TD INPUT[type='submit']:hover {background-color:#f60;}" +
/* bottom tables */ "BODY[onload='sf()'] > CENTER > FORM > TABLE#frame > TBODY > TR > TD > TABLE[width='100%'] > TBODY > TR > TD > TABLE[width='100%'][cellpadding='4'] {display:none;}" +
// Gm-Script Google Search Sidebar enhancements - http://userscripts.org/scripts/show/11888
/* sidebar width */ "#searchPlus {width:26% !important; float:right !important;}" +
/* sidebar txt */ "#searchPlus DIV P, .luna-Ent td {color:#fff !important;}" +
/* sidebar header */ "#searchPlus H1, DIV#gSearchSidebar H1 {margin-top:1em; background-color:#333 !important; border:0 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; color:#fff;}" +
/* sidebar header link */ "#searchPlus H1 A, DIV#gSearchSidebar H1 A {color:#000 !important;}" +
// Script Update Message Box
/* layout */ "#gsscriptVersionMessage {position:fixed; top:0px; right:1px; width:470px; height:76px; z-index:99; overflow:auto; padding:10px; background-color:#C00040; outline:#aaa solid 1px; font-family:Trebuchet MS, Verdna; font-weight:bold; font-size:14px; color:#fff !important; text-align:center; cursor:default;}";
// BRUTE-FORCE for "less cooperative" sites (each URI validated)
var style = document.createElement('style');
style.setAttribute('id', 'bruteForce');
document.getElementsByTagName('head')[0].appendChild(style);
//stylesheet insert rule shortcut-func
function sIR(style) {$('bruteForce').sheet.insertRule(style, 0);}
// Global B.F. enhancements
function gBFenh() {
/* Global font */ sIR("* {font-family:Trebuchet MS, Verdna;}");
/* page bg */ sIR("HTML,BODY {background:#000 none !important; color:#fff;}");
/* link color */ sIR("A, #gbar A.gb1, #gbar A.gb2, #gbar A.gb3, SPAN.i, .linkon, #codesiteContent A, TABLE.mmhdr TBODY TR TD.mmttlinactive SPAN, TABLE TBODY TR TD TABLE TBODY TR TD A, SPAN#show-new, SPAN#show-all, SPAN.link, SPAN[dir='ltr'] > FONT[color='blue'], FONT[color='blue'][dir='ltr'], .gc-control, .goog-flat-menu-button, .gsc-tabHeader.gsc-tabhInactive, .goog-tab-bar-top .goog-tab {color:#6495ed !important;}");
/* visited linx */ sIR("A:visited {color:#406b80 !important;}");
/* resultsvisitedlnx */ sIR("DIV#res A:visited {font-size:0.8em !important;}");
/* header */ sIR("#guser, #guser *, #gbar, #gbar * {background-color:transparent !important; font-family:Trebuchet MS, Verdna !important; color:#ccc;}");
/* google bar txt */ sIR("#gbar SPAN {color:#999;}");
/* google bar txt */ sIR("#gbar DIV.gb1 {background-color:#c9d7f1 !important;}");
/* google bar txt */ sIR("#gbar DIV.gb2 {padding-top:0; padding-bottom:0; background-color:#c9d7f1 !important;}");
/* google bar linx */ sIR("#gbar A.gb1, #gbar B.gb1, #gbar A.gb3 {font-weight:bold !important; font-size:1.15em !important;}");
/* google bar b-line */ sIR("#gbh, .gbh {border-color:#777;}");
/* search input */ sIR("INPUT[type='text'], INPUT[type='password'], INPUT[name='q'] {background:#333 none !important; color:#fff; padding:2px; border:solid 1px #ccc; font-weight:bold; color:#ff0 !important;}");
/* submit button */ sIR("INPUT[type='submit'], INPUT[type='button'], .yt-button-primary {background:#333 none !important; border:solid 1px #ccc !important; -moz-border-radius-topright:14px !important; -moz-border-radius-topleft:14px !important; -moz-border-radius-bottomright:14px !important; -moz-border-radius-bottomleft:14px !important; color:#fff !important; cursor:pointer;}");
/* submit btn hover */ sIR("INPUT[type='submit']:hover, BUTTON[type='submit']:hover, INPUT[type='button']:hover {background-color:#36f; color:#fff;}");
/* div btn outer */ sIR(".goog-button-base-outer-box {border-top-color:#555; border-bottom-color:#333;}");
/* div btn inner */ sIR(".goog-button-base-inner-box {border-left-color:#555; border-right-color:#333; background-color:#555;}");
/* div btn inner txt */ sIR(".goog-button-base-content {color:#bbb !important;}");
/* div btn inner txtH*/ sIR(".goog-button-base-content:hover {color:#fff !important;}");
/* div btn T-shadow */ sIR(".goog-button-base-top-shadow {background-color:#777; border-bottom-color:#555;}");
/* div btn restrict */ sIR("#search-restrict {border-bottom-color:#000;}");
/* menu dropd folder */ sIR("DIV.goog-menu > DIV.goog-menuitem > DIV.goog-menuitem-content {color:#ccc !important;}");
/* menu dropd item */ sIR("DIV.goog-menu > DIV.goog-menuitem {background-color:#222; color:#999 !important;}");
/* menu dropd itemHov*/ sIR("DIV.goog-menu > DIV.goog-menuitem:hover {background-color:#333; color:#ccc !important;}");
/* more pop layer */ sIR("SPAN#more, #gbar .gb2 {background-color:#333 !important; border-right:solid 1px #a2bae7; border-bottom:solid 1px #a2bae7; color:#333 !important;}");
/* 404 error header */ sIR("BODY[text='#000000'][bgcolor='#ffffff'] TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#3366cc']:first-child {background-color:#000;}");
}
// Google Login Pages enhancements
if ((location.href.indexOf('.google.') > -1 && (location.href.indexOf('/Login?') > -1 || location.href.indexOf('/ServiceLogin?') > -1)) || (location.href.indexOf('https%3A%2F%2Fwww.google.com%2Fvoice%2Faccount%2Fsignin%2F') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV.header > A > IMG, BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD > DIV.loginBox > TABLE#gaia_table > TBODY > TR> TD > TABLE > TBODY > TR > TD > IMG, BODY[onload='gaia_setFocus();'].compact > H1 > IMG:first-child, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD > DIV.loginBox > TABLE#gaia_table > TBODY > TR > TD > TABLE > TBODY > TR > TD> IMG:first-child, BODY > DIV#main > DIV.header > IMG.logo, DIV.loginBox > TABLE#gaia_table > TBODY > TR > TD > TABLE > TBODY > TR > TD:first-child, BODY > DIV#main > DIV > DIV.logo > A > IMG.logo {display:none;}");
/* logo hide */ sIR("BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='1%']:first-child > IMG {visibility:hidden;}");
/* logo img [insert] */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV.header, BODY[onload='gaia_setFocus();'].compact > H1, BODY > DIV#main > DIV.header, BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='1%']:first-child, BODY > DIV#main > DIV > DIV.logo {width:150px !important; height:55px !important; border:0 none; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* strong txt */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD B:first-child, BODY[onload='gaia_setFocus();'].compact > DIV#main > H2, BODY[onload='gaia_setFocus();'].compact > DIV#main > P.icon > B {color:#fff;}");
/* grey cntnrs */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent, BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.tip, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > FORM#gaia_loginform > DIV#gaia_loginbox, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > DIV.gaia_signupbox, BODY > DIV#main > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent, BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'] > TABLE[width='100%']:first-child > TBODY > TR > TD[nowrap='nowrap']:first-child > TABLE[bgcolor='#c3d9ff'] TR:first-child TD[style='padding: 5px 0pt; font-family: arial; text-align: left; font-weight: bold;'].bubble, DIV#login > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR:first-child > TD[bgcolor='#e8eefa'], BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'] > TD, BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent > TBODY > TR > TD, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > DIV.gaia_signupbox > TABLE.form-noindent > TBODY > TR > TD, BODY > CENTER > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD[valign='top'][nowrap='nowrap'][bgcolor='#e8eefa'][style='text-align: center;'], BODY > CENTER > TABLE > TBODY > TR > TD > DIV#addbtn1 > DIV[style='margin-top: 15px; margin-bottom: 15px;'], DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_universallogin > DIV > TABLE.form-noindent, DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_universallogin > DIV > TABLE.form-noindent TD[bgcolor='#e8eefa'], DIV.gc-si-content > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent, BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] {padding-left:0.5em !important; background-color:#333 !important; border:0; text-align:center; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* inner boxes */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV.rightside > FORM#gaia_loginform > DIV#gaia_loginbox, BODY > DIV#main > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent, BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'], BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'] > TABLE[width='100%']:first-child > TBODY > TR > TD[nowrap='nowrap']:first-child > TABLE[bgcolor='#c3d9ff'], BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'], BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'] > TABLE[width='100%']:first-child > TBODY > TR > TD[nowrap='nowrap']:first-child > TABLE[bgcolor='#c3d9ff'] TD, BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'], BODY > TABLE[width='95%']:first-child > TBODY > TR[valign='top'] > TD[width='99%'][bgcolor='#ffffff'] > TABLE[width='100%']:first-child > TBODY > TR > TD[nowrap='nowrap']:first-child > TABLE[bgcolor='#c3d9ff'] TD DIV, BODY > TABLE[width='94%'][cellspacing='1'][cellpadding='5'][align='center'] > TBODY > TR:first-child > TD[valign='top'][style='text-align: left;']:first-child > B, DIV#login > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent, DIV#login > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD > DIV.loginBox, BODY > TABLE > TBODY > TR > TD > TABLE#links, BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'], BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'] > TD > DIV > TABLE.signup_btn, BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'] > TD > DIV > TABLE.signup_btn TD, BODY > DIV#main > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD, BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'] > TD TD.btn_m, BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'], BODY > CENTER > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD[valign='top'][nowrap='nowrap'][bgcolor='#e8eefa'][style='text-align: center;'] > DIV.loginBox, BODY > CENTER > TABLE > TBODY > TR > TD > DIV#addbtn1 > DIV[style='margin-top: 15px; margin-bottom: 15px;'] > TABLE.DownloadButton TD[background='lh2/dl_button_middle.jpg'], BODY > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] > TABLE > TBODY > TR > TD.btn, DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_universallogin > DIV > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] DIV.dasherLogin > A > SPAN[style='font-size: 11px;'], DIV.gc-si-content > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'], BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] > A {background:#000 none; border:0 none; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* footer */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV.footer, BODY[onload='gaia_setFocus();'].compact > DIV#main > DIV#about, BODY > DIV#main > DIV.hrule, BODY > TABLE[width='95%'][bgcolor='#c3d9ff'][style='margin-bottom: 5px;'], BODY > CENTER > TABLE[width='750'][cellpadding='0'][border='0'] > TBODY > TR > TD[valign='top'][align='center'][colspan='4'] {display:none;}");
/* Login-page-specific Elements */
/* iGoogle */
/* create inner box */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD A > B:first-child {position:relative; top:3px; padding:0 7px 2px 7px; background:#000 none; border:0 none; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* Gmail */
/* create box height */ sIR("BODY > TABLE > TBODY > TR > TD > TABLE#links, BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'], BODY > TABLE > TBODY > TR > TD > TABLE#links > TBODY > TR[bgcolor='#e8eefa'] > TD > DIV > TABLE.signup_btn TD {height:inherit !important; padding-top:2px; padding-bottom:2px;}");
/* YouTube */
/* logo [hide] */ sIR("BODY > DIV#main > DIV#masthead-container > DIV#masthead > A.logo > IMG {visibility:hidden;}");
/* logo [replace] */ sIR("#masthead {background:transparent url(http://i37.tinypic.com/4jrkh0_th.jpg) 23px -23px no-repeat;}");
/* top search box */ sIR("#masthead-search {border:0 none; background-color:#000;}");
/* login box logos */ sIR("DIV.loginBox IMG[src='youtube/youtube_google_brand.gif'] {display:none;}");
/* login link spcng */ sIR("BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] > A {padding-right:0.7em; padding-left:0.7em;}");
/* Groups */
/* createAccnt btn */ sIR("BODY[onload='gaia_setFocus();'] > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'] > TD > P > TABLE > TBODY > TR > TD {background-image:none;}");
/* Voice */
/* feat-txt */ sIR("BODY> DIV.gc-mid > TABLE#gc-features > TBODY > TR > TD > DIV.gc-item-hd {color:#fff;}}");
/* invite bar */ sIR("BODY > DIV#gc-signup-closed {background-color:#333; border:0; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* Calendar*/
/* createAccnt cntnr */ sIR("BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent, BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'] {background-color:#000; border:0 none;}");
/* createAccnt inner */ sIR("BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'] > TD {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* createAccnt btn */ sIR("BODY > DIV#main > TABLE > TBODY > TR > TD > TABLE.form-noindent > TBODY > TR[bgcolor='#e8eefa'] > TD TD {background-image:none;}");
/* Reader */
/* create btn sides */ sIR("TABLE.form-noindent > TBODY > TR > TD > TABLE > TBODY > TR > TD > IMG[src='reader/btn_left.gif'], TABLE.form-noindent > TBODY > TR > TD > TABLE > TBODY > TR > TD > IMG[src='reader/btn_right.gif'] {display:none;}");
/* create btn bg */ sIR("TABLE.form-noindent > TBODY > TR > TD > TABLE > TBODY > TR > TD.btn {background-image:none;}");
/* Documents */
/* createAccnt btnBg */ sIR("BODY > DIV#main > DIV#maincontent > TABLE > TBODY > TR > TD > DIV#rhs > DIV#rhs_login_signup_box > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] > TABLE > TBODY > TR > TD > IMG {visibility:hidden;}");
/* Sites */
/* createAccnt btn */ sIR("DIV#rhs > DIV#rhs_login_signup_box > FORM#gaia_universallogin > DIV > TABLE.form-noindent > TBODY > TR > TD[bgcolor='#e8eefa'] DIV.dasherLogin > A > SPAN[style='font-size: 11px;'] {padding:0.5em;}");
/* Profiles */
/* page txt */ sIR("BODY[dir='ltr'] > DIV#main P {color:#999;}");
/* create button */ sIR("DIV#rhs > DIV#buttonBlock > DIV.g-button {border:0 none; background-color:#000;}");
/* Picasa / Photos */
/* accntBoxesSpacing */ sIR("BODY > CENTER > TABLE > TBODY > TR > TD > FORM#gaia_loginform > DIV#gaia_loginbox > TABLE.form-noindent > TBODY > TR > TD[valign='top'][nowrap='nowrap'][bgcolor='#e8eefa'][style='text-align: center;'] > DIV.loginBox, BODY > CENTER > TABLE > TBODY > TR > TD > DIV#addbtn1 > DIV[style='margin-top: 15px; margin-bottom: 15px;'] {padding:0.5em;}");
/* createAccnt btnSd */ sIR("BODY > CENTER > TABLE > TBODY > TR > TD > DIV#addbtn1 > DIV[style='margin-top: 15px; margin-bottom: 15px;'] > TABLE.DownloadButton TD IMG {visibility:hidden;}");
/* createAccnt btnSp */ sIR("BODY > CENTER > TABLE > TBODY > TR > TD > DIV#addbtn1 > DIV[style='margin-top: 15px; margin-bottom: 15px;'] > TABLE.DownloadButton TD[background='lh2/dl_button_middle.jpg'] > DIV {padding:0.5em !important;}");
}
// Web: Advanced Search enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/advanced_search?') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > TABLE[width='100%'][style='margin-top: 1em;'] > TBODY > TR:first-child > TD[width='1%']:first-child > A > IMG[width='150'] {display:none;}");
/* logo img [insert] */ sIR("BODY > FORM[name='f'] > TABLE[width='99%'][cellspacing='2'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD:first-child > A#logo > SPAN, BODY > TABLE[width='100%'][style='margin-top: 1em;'] > TBODY > TR:first-child > TD[width='1%']:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* header */ sIR("BODY > FORM[name='f'] > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[bgcolor='#3366cc'], BODY > FORM[name='f'] > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[bgcolor='#d5ddf3'], BODY > TABLE[width='100%'][style='margin-top: 1em;'] > TBODY > TR:first-child > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] {border:0 none !important; background-color:#000;};");
/* header bar L */ sIR("BODY > TABLE[width='100%'][style='margin-top: 1em;'] > TBODY > TR:first-child > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] > TBODY > TR > TD.page-title {padding-left:0.1em; background-color:#333 !important; color:#fff !important; -moz-border-radius-topleft:9px; -moz-border-radius-bottomleft:14px;}");
/* header bar R */ sIR("BODY > TABLE[width='100%'][style='margin-top: 1em;'] > TBODY > TR:first-child > TD > TABLE[width='100%'][style='border-top: 1px solid rgb(51, 102, 204);'] > TBODY > TR > TD[bgcolor='#d5ddf3'] {padding-right:0.2em; background-color:#333; -moz-border-radius-topright:9px; -moz-border-radius-bottomright:14px;}");
/* top box */ sIR("DIV.outer-box > FORM.block {border-color:#333; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* top box title */ sIR("DIV.outer-box > DIV:first-child, DIV.outer-box > DIV:first-child > DIV {border-color:#333; background-color:#333 !important; font-weight:bold; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* lower box */ sIR("DIV#related.block {border-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* boxed txt */ sIR("BODY > TABLE[width='100%'] TD {color:#999;}");
/* outer box bg */ sIR("TABLE[width='99%'] > TBODY > TR[bgcolor='#cbdced'] {background-color:#000 !important;}");
/* lower box bg */ sIR("TABLE[width='99%'] > TBODY > TR[bgcolor='#cbdced'] > TD TABLE[width='100%'] > TBODY > TR[bgcolor='#ffffff'], TABLE[width='99%'] > TBODY > TR[bgcolor='#cbdced'] > TD > TABLE[width='100%'] > TBODY > TR[bgcolor='#ffffff'] TD, BODY > FORM[name='f'] > FONT > TABLE > TBODY > TR > TD, BODY > FORM[name='f'] > FONT > TABLE > TBODY > TR > TD TD {background-color:#000 !important; color:#ccc !important;}");
/* top box bg */ sIR("TABLE[width='99%'] > TBODY > TR[bgcolor='#cbdced'] > TD TABLE[width='100%'] > TBODY > TR[bgcolor='#cbdced'], TABLE[width='99%'] > TBODY > TR[bgcolor='#cbdced'] > TD > TABLE[width='100%'] > TBODY > TR[bgcolor='#cbdced'] TD, BODY > FORM[name='f'] > FONT > TABLE > TBODY > TR:first-child > TD:first-child {padding-left:0.5em; background-color:#222 !important; color:#ccc !important;}");
/* footer */ sIR("BODY > FORM[name='f'] > CENTER > FONT[face='arial,sans-serif'] > FONT[size='-1'], BODY > CENTER > FONT[size='-1'] {display:none;}");
}
// Web: Search Within enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/swr?') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > FORM > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD:first-child > A[href='/'] > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > FORM > TABLE[width='100%'][cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* page txt */ sIR("TD, DIV {color:#ccc;}");
/* bold txt */ sIR("TD B, DIV B {color:#fff;}");
/* footer */ sIR("BODY > CENTER > DIV[class='t n bt'] {display:none;}");
}
// News
if (location.href.indexOf('news.google.') > -1 && (location.href.indexOf('/news') > -1 || location.href.indexOf('/image?') > -1 || location.href.indexOf('/advanced_news_search') > -1)) {
/* Global BF Styles */ gBFenh();
/* header iGoogleLnk */ sIR("BODY.hp > DIV#gbar > NOBR > A.gb1:last-child, BODY.serp > DIV#gbar > NOBR > A.gb1:last-child, BODY.sp > DIV#gbar > NOBR > A.gb1:last-child {top:-1.15em !important;}");
/* logo img [hide] */ sIR("BODY#advanced-search > DIV#logo > A > IMG, BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#page-header > TABLE > TBODY > TR:first-child > TD:first-child > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY#advanced-search > DIV#logo, BODY > DIV#main-wrapper > DIV#main > DIV.background > DIV.centered > DIV.search > DIV#page-header > TABLE > TBODY > TR:first-child > TD:first-child {width:150px !important; height:45px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll center left !important; font-size:0;}");
/* headers */ sIR("BODY#advanced-search > DIV#_h, DIV.basic-title {padding-left:0.5em; border:0 none !important; background-color:#333 !important; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* menu r-line */ sIR("DIV.sidebar, DIV.main > DIV#headline-wrapper {border-color:#333 !important;}");
/* menu section */ sIR("DIV.filter-label {background-color:#333 !important; padding-left:0.5em; color:#ccc !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* page txt */ sIR("DIV#main-wrapper DIV, DIV#main-wrapper SPAN {color:#ccc;}");
/* show more/less */ sIR("DIV.more-link, DIV.fewer-link {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* notify alert */ sIR("DIV#notify-box > SPAN.notify {padding:1px 2px 1px 2px; color:#000; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* edit page panel */ sIR("#personalize-open {border:0 none; background-color:#222; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* bottom search bg */ sIR("DIV.footer > DIV.bottom-search {border:0 none; background-color:#000;}");
/* footer */ sIR("BODY#advanced-search > DIV.footer, DIV.footer > DIV.bottom {display:none;}");
}
// News: /hostednews/
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/hostednews/') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("FORM.search-form > SPAN.hn-attr > IMG {display:none;}");
/* logo img [insert] */ sIR("FORM.search-form > SPAN.hn-attr {float:left; position:relative; top:-7px; padding-right:1em; width:150px !important; height:45px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll center left !important; font-size:0;}");
/* search news form */ sIR("FORM.search-form {position:relative; top:7px;}");
/* footers */ sIR("DIV.g-section > DIV.hn-ads, DIV.g-section > DIV.igoogle-promo, DIV#hn-footer {display:none;}");
}
// Images: Advanced Search
if (location.href.indexOf('images.google.') > -1 && location.href.indexOf('/advanced_image_search') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > FORM > TABLE > TBODY > TR > TD[width='1%'][rowspan='2'] > A#logo > SPAN {display:none;}");
/* logo img [insert] */ sIR("BODY > FORM > TABLE > TBODY > TR > TD[width='1%'][rowspan='2'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* pre header line */ sIR("BODY > FORM > TABLE[width='99%'] > TBODY > TR > TD[rowspan='2'] > TABLE[width='100%'] > TBODY > TR > TD[bgcolor='#3366cc'] {display:none;}");
/* header L */ sIR("BODY > FORM > TABLE[width='99%'] > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) > TBODY > TR > TD[bgcolor='#d5ddf3']:first-child {background-color:#333; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* header R */ sIR("BODY > FORM > TABLE[width='99%'] > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) > TBODY > TR > TD[bgcolor='#d5ddf3']:nth-child(2) {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px;}");
/* outer tbl */ sIR("BODY > FORM > P > TABLE > TBODY > TR[bgcolor='#bbcced'] {background-color:#000;}");
/* inner top */ sIR("BODY > FORM > P > TABLE > TBODY > TR[bgcolor='#bbcced'] > TD > TABLE > TBODY > TR {background-color:#000;}");
/* inner txt */ sIR("BODY > FORM > P > TABLE > TBODY > TR[bgcolor='#bbcced'] > TD > TABLE > TBODY > TR > TD TD {color:#999;}");
/* footer */ sIR("BODY > FORM > CENTER > FONT[face='arial,sans-serif'] > FONT[size='-1'] {display:none;}");
}
// Gmail [standard view] Loading[only]
if (location.href.indexOf('mail.google.') > -1 && location.href.indexOf('/mail/') > -1) {
/* page bg */ sIR("DIV#loading {background-color:#000; color:#fff;}");
/* alternateView box */ sIR("DIV#loading DIV#stb.msgb {background-color:#181818; color:#333 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
}
// Gmail [basic HTML view] Activity Info enhancements
if (location.href.indexOf('//mail.google.') > -1 && location.href.indexOf('/mail/h/') > -1 && location.href.indexOf('?v=ac') > -1) {
/* Global BF Styles */ gBFenh();
/* page txt */ sIR("BODY > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD[valign='top'] > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD.acts, BODY > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD[valign='top'] > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD.acts TD, BODY > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD[valign='top'] > TABLE[style='table-layout: fixed;'] > TBODY > TR > TD > TABLE[width='97%'] > TBODY > TR > TD > TABLE > TBODY > TR.thead > TD {color:#000;}");
}
// Docs enhancements
if (location.href.indexOf('//docs.google.') > -1) {
/* Global BF Styles */ gBFenh();
/* txt fix-override */ sIR("HTML,BODY {color:inherit !important;}");
/* doc logo [hide] */ sIR("BODY#editPage > TABLE#encloser > TBODY > TR#navigation > TD > TABLE[width='100%'] > TBODY > TR[style='height: 40px;'] > TD[style='padding-left: 2px;'] > A[href='./'] > IMG[height='30'] {display:none;}");
/* doc logo [insert] */ sIR("BODY#editPage > TABLE#encloser > TBODY > TR#navigation > TD > TABLE[width='100%'] > TBODY > TR[style='height: 40px;'] > TD[style='padding-left: 2px;'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* doc body */ sIR("BODY#wys_frame {background-color:#fff !important;}");
}
// Notebook enhancements
if (location.href.indexOf('.google.') > -1 && (location.href.indexOf('/notebook/') > -1 || location.href.indexOf('/googlenotebook/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY.e > DIV.h TABLE#gn_ph > TBODY > TR:first-child > TD[align='right']:first-child > A > IMG {visibility:hidden;}");
/* logo img [insert] */ sIR("BODY.e > DIV.h TABLE#gn_ph > TBODY > TR:first-child > TD[align='right']:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 20px 0 !important; font-size:0;}");
/* left menu border */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc > DIV > DIV.wb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* left menu header */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc DIV.vb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* left menu l-block */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc TABLE.vb, BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV TABLE.rb {display:none;}");
/* leftmenu C-footer */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR[valign='top'] > TD[align='left'] > DIV.jc > DIV.bf {display:none;}");
/* labelsblockheader */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV[class='sc rb'] {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* labels lowerblock */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV.jc > DIV.rc > DIV[class='wc sb'] {border-bottom:2px solid #b5edbc; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* tip bar */ sIR("BODY.e TD.cb > SPAN.eb {-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* page txt */ sIR("BODY.e > DIV.h > TABLE.p > TBODY > TR > TD > DIV > DIV.m > DIV.oa > DIV.zg > DIV.dh > DIV.hh > DIV:first-child {color:#000;}");
/* faq logo img */ sIR("BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD[width='1%'] > A[href='http://www.google.com/notebook'] > IMG {display:none;}");
/* faq title block */ sIR("BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD > TABLE[width='100%'][bgcolor='#c3d9ff'][align='center'][style='margin-bottom: 5px;'] TBODY TR TD {background-color:#000;}");
/* faqtitle bcorners */ sIR("BODY[bgcolor='#ffffff'] > TABLE[cellpadding='5'][align='center'] > TBODY > TR[valign='middle'] > TD > TABLE[width='100%'][bgcolor='#c3d9ff'][align='center'][style='margin-bottom: 5px;'] TBODY TR TD IMG {display:none;}");
/* faq list txt */ sIR("OL.answers LI UL.response LI, OL.response LI {color:#999 !important;}");
/* logo img [hide] */ sIR("BODY > TABLE[width='100%']:first-child > TBODY > TR[valign='middle']:first-child > TD[width='1%']:first-child > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > TABLE[width='100%']:first-child > TBODY > TR[valign='middle']:first-child > TD[width='1%']:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important; font-size:0;}");
/* header bg */ sIR("BODY > TABLE[width='100%']:first-child > TBODY > TR[valign='middle']:first-child > TD > TABLE[width='100%'][bgcolor='#c3d9ff'] TD.bubble {background-color:#000;}");
/* header corner */ sIR("BODY > TABLE[width='100%']:first-child > TBODY > TR[valign='middle']:first-child > TD > TABLE[width='100%'][bgcolor='#c3d9ff'] TD.bubble IMG {display:none;}");
/* menu R-border */ sIR("BODY > TABLE[width='100%'] > TBODY > TR > TD[width='1'][background='http://www.google.com/images/dot2.gif'] {border-left:1px solid #333; background-image:none;}");
/* footer */ sIR("BODY > TABLE[width='99%'][bgcolor='#c3d9ff'][style='margin-bottom: 5px;'] {display:none;}");
}
// Translate: Top Frame enhancements
if (location.href.indexOf('//translate.google.') > -1 && location.href.indexOf('/translate_n?') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV[style='padding: 8px; white-space: nowrap;'] > DIV[style='float: left; font-size: 12px;'] > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV[style='padding: 8px; white-space: nowrap;'] {padding-left:160px !important; width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important; font-size:0;}");
/* head table */ sIR("BODY > TABLE[style='padding: 4px 8px; font-size: 12px;'] {position:absolute; bottom:0; left:160px; width:82%;}");
}
// Profiles enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/profiles/') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV.g-doc-800 > DIV.g-tpl-160 > DIV.g-first > A > IMG.logo {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV.g-doc-800 > DIV.g-tpl-160 > DIV.g-first {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* header txt */ sIR("BODY > DIV.g-doc-800 H1 {color:#fff;}");
/* create button bg */ sIR("BODY > DIV.g-doc-800 > DIV.g-section > DIV.layout > DIV#buttonBlock > DIV.g-button {border:0 none; background-color:#000;}");
/* footer */ sIR("BODY > DIV.g-doc-800 DIV.footer {display:none;}");
}
// Reader enhancements
if (location.href.indexOf('.google.') > -1 && (location.href.indexOf('/reader/') > -1 || location.href.indexOf('/reader/view/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [replac] */ sIR("A#logo-container > H1#logo {z-index:1000; width:145px !important; height:50px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0 -10px !important; font-size:0;}");
/* addSub btn */ sIR("DIV#lhn-add-subscription {position:relative; top:15px; left:0;}");
/* addSub box */ sIR("DIV#quick-add-bubble-holder {background-color:#000; border:1px solid #777; color:#ccc !important; -moz-border-radius-topright:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px;}");
/* border */ sIR("DIV#chrome {border:0 none;}");
/* hdr */ sIR("DIV#chrome-header {background-color:#555; border:0; color:#fff !important; -moz-border-radius-topleft:14px;}");
/* hdr v-Linx */ sIR("DIV#chrome-header > SPAN#chrome-view-links {background-color:#555;}");
/* menu txt */ sIR(".lhn-section a, .lhn-section a .text, .lhn-section .link, UL#your-items-tree LI, SPAN.name > SPAN, UL#friends-tree *, UL#sub-tree LI {color:#888 !important;}");
/* menu sel/h */ sIR(".scroll-tree LI A:hover, .scroll-tree LI .tree-link-selected, .scroll-tree LI .tree-link-selected SPAN, .scroll-tree LI .tree-link-selected:hover, #lhn-selectors .selector:hover, #lhn-selectors .selected, #lhn-selectors .selected SPAN, #lhn-selectors .selected:hover {background-color:#555; color:#fff !important;}");
/* menu spcng */ sIR("DIV#lhn-selectors, DIV#your-items-tree-container, DIV.lhn-section, DIV.friends-tree-notification-info {margin-top:1.5em;}");
/* light grey */ sIR("TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-lhn-toggle, TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-viewer {background-color:#555;}");
/* dark grey */ sIR("TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-viewer > DIV#viewer-header, TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-viewer > DIV#viewer-footer, DIV.tab-group > DIV.tab-header-selected, DIV.card-actions {background-color:#333 !important;}");
/* black bg */ sIR("DIV#lhn-selectors, DIV#lhn-friends, DIV#lhn-subscriptions, TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-viewer > DIV#viewer-container, DIV#entries > DIV.entry, UL#your-items-tree LI, UL#friends-tree *, DIV#viewer-page-container, DIV#friends-manager, UL#sub-tree LI, DIV.preview-interruption, DIV.friend-interruption, DIV.interruption, DIV#settings > TABLE TD, DIV.tab-group, DIV.tab-group-contents, DIV#discover-container, DIV.tab-group > DIV.tab-header, DIV#directory-search-container, DIV#recommendations-tab-contents, DIV.card-common, DIV.entry-likers, DIV.fr-modal-dialog DIV, DIV.entry-comments, DIV.entry > DIV.comment-entry {background:#000 none !important;}");
/* no borders */ sIR("DIV#lhn-selectors, DIV#viewer-top-controls, DIV.friends-tree-following-info, DIV.friends-tree-notification-info, DIV.entry > DIV.comment-entry {border:0 none !important;}");
/* Vwr header */ sIR("TABLE#chrome-viewer-container > TBODY > TR > TD#chrome-viewer > DIV#viewer-header {-moz-border-radius-topleft:14px;}");
/* Vwr cntrls */ sIR("DIV#viewer-all-new-links, DIV#entries-status {padding-left:0.5em !important; color:#ccc !important;}");
/* note box */ sIR("DIV#overview > DIV#featured-bundles-promo {background-color:#333; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* page txt */ sIR("DIV#friends-manager DIV, DIV.results DIV, DIV#quick-add-helptext, .unselectable, DIV#viewer-container DIV, DIV#viewer-container LI, DIV#viewer-container SPAN, DIV.subscription-title, TR.data-row TD, TABLE#homepage-table TD, DIV#viewer-comments-all-links, DIV.fr-modal-dialog DIV {color:#999 !important;}");
/* card box */ sIR("DIV.card {border-color:#333 !important; -moz-box-shadow:none !important;}");
/* R boxes */ sIR("DIV#rec-preview, DIV#tips {background-color:#222; border:0 none; color:#ccc !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* R bx title */ sIR("TD#right-section DIV.section-header {color:#fff !important;}");
/* subMenu */ sIR("DIV#settings-navigation H3.selected, DIV.tab-group > DIV.tab-header {margin:0.2em; -moz-border-radius-topright:8px; -moz-border-radius-topleft:8px;}");
/* rndBoxes */ sIR("DIV.setting-body, DIV.fr-modal-dialog {color:#000; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* browse top */ sIR("DIV.tab-group-contents {padding:0;}");
/* cmodial dlg */ sIR("DIV.fr-modal-dialog {-moz-border-radius-topleft:14px;}");
/* footer */ sIR("DIV#footer > DIV.copyright {display:none;}");
}
// Groups enhancements
if (location.href.indexOf('groups.google.') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > TABLE > TBODY > TR[valign='bottom'] > TD[width='195'][valign='top'] > A[href='/'] > IMG, BODY > DIV.gtopbar > TABLE > TBODY > TR > TD.maincell > TABLE > TBODY > TR > TD[width='140'] > A[href='/'] > IMG, BODY > DIV.gtopbar > TABLE > TBODY > TR > TD.maincell > TABLE > TBODY > TR > TD > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > TABLE > TBODY > TR[valign='bottom'] > TD[width='195'][valign='top'], BODY > DIV.gtopbar > TABLE > TBODY > TR > TD.maincell > TABLE > TBODY > TR > TD[width='140'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* header cntnr */ sIR("BODY > TABLE > TBODY > TR > TD.padt5 > TABLE > TBODY > TR > TD > TABLE > TBODY > TR[bgcolor='#e8eef7'], BODY > TABLE > TBODY > TR > TD.padt5 > TABLE > TBODY > TR > TD > TABLE > TBODY > TR > TD[bgcolor='#7799dd'], DIV.secttlbarwrap > DIV > TABLE > TBODY > TR > TD > DIV, DIV.secttlbarwrap > DIV > TABLE > TBODY > TR > TD[bgcolor='#7799dd'], DIV.maincontheaderboxatt > DIV > TABLE TD DIV, DIV.maincontheaderboxatt > DIV > TABLE TD[bgcolor='#c3d9ff'] {background:#000 none !important;}");
/* headers */ sIR("BODY > TABLE > TBODY > TR > TD.padt5 > TABLE > TBODY > TR > TD > TABLE > TBODY > TR[bgcolor='#e8eef7'] > TD[style='padding: 2px 4px 3px;'], DIV.secttlbar {border:0 none; background-color:#333; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* sub-headers */ sIR("DIV.maincontheaderboxatt > DIV.sshdr {border:0 none; background-color:#222 !important; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* sub-hdr bg */ sIR("DIV.maincontheaderboxatt > DIV.sshdr DIV[class='lf sshdrtxt'] {height:1.2em; overflow:hidden; margin-top:2px; background-color:#222 !important;}");
/* create bottom bg */ sIR("BODY > DIV > FORM > TABLE.content > TBODY > TR > TD[style='background-color: rgb(232, 238, 247);'] {background-color:#000 !important;}");
/* message bgs */ sIR("DIV#TH_optionsPane_botcorner DIV, DIV#TH_optionsPane_botcorner TD, TABLE.msg_meta TD, DIV.msg DIV.cb, DIV.msg DIV.cg, DIV.msg TD, TABLE.msg_meta SPAN[style='background-color: white;'] {border:0 none; background:#000 none !important;}");
/* manage table hdr */ sIR("BODY > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e8eef7'] > TBODY > TR > TD > FORM > TABLE[bgcolor='#ffffff'] > TBODY > TR[bgcolor='#e8eef7'], BODY > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e8eef7'] > TBODY > TR > TD > FORM > TABLE[bgcolor='#ffffff'] > TBODY > TR[bgcolor='#e8eef7'] > TD[bgcolor='#e8eef7'] {background-color:#222 !important;}");
/* manage table bgs */ sIR("BODY > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e8eef7'], BODY > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e8eef7'] > TBODY > TR > TD > FORM > TABLE[bgcolor='#ffffff'], DIV.mnghdrttl, DIV.mngtabbox > DIV > TABLE > TBODY > TR > TD, DIV.mngtabbox > DIV > TABLE > TBODY > TR > TD > DIV, DIV.mnghdrbtm, DIV.mnghdrbtmitem, DIV.mngcontentbox > TABLE > TBODY > TR > TD.padall6 > TABLE > TBODY > TR > TD TABLE[bgcolor='#ffffff'], TABLE.membertabs TD[bgcolor='#d9d9d9'], DIV.mngcontentbox > TABLE[bgcolor='#d9d9d9'], TABLE[bgcolor='#ffffff'].memlist, DIV[style='padding: 4px 4px 3px; background-color: rgb(217, 217, 217);'], TR[style='background-color: rgb(238, 238, 238);'], DIV[style='padding: 4px 4px 3px; background-color: rgb(217, 217, 217); display: block;'], DIV#GE_optionsPane_botcorner > DIV > TABLE > TBODY > TR > TD > DIV, DIV#GE_optionsPane_botcorner > DIV > TABLE > TBODY > TR > TD[bgcolor='#7799dd'], DIV.maincontheaderboxatt TD[bgcolor='#e8eeff'] {background:#000 none !important;}");
/* manage table spcr */ sIR("TABLE.membertabs > TBODY > TR > TD.tl {background-image:none !important;}");
/* manage table sel */ sIR("DIV.mnghdrbtm > DIV[class='mnghdrbtmitem mnghdrbtmsel'] {background:#333 !important; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* manage bottom box */ sIR("DIV.mngbottombox {border:0 none;}");
/* manage contentBx */ sIR("DIV.mngbottombox > DIV.mngcontentbox {background-color:#333; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* manage edit page */ sIR("TR#tr_innerpage * BODY * {background-color:#fff !important; color:#000 !important;}");
/* group viewMngBrdr */ sIR("DIV[style='background-color: rgb(232, 238, 247);'], DIV[style='padding: 4px 10px; background-color: rgb(232, 238, 247);'], TD[style='background-color: rgb(232, 238, 247);'], DIV[style='width: 32ex; background-color: rgb(232, 238, 247);'] {background-color:#181818 !important;}");
/* group viewMngSlct */ sIR("DIV.rnsecs > DIV.selsec {background-color:#000 !important; color:#fff;}");
/* about archiveTbl */ sIR("DIV.maincontbox > TABLE > TBODY > TR > TD.padb5 TD[bgcolor='#e8eef7'] {background-color:#000;}");
/* about archiveTblI */ sIR("DIV.maincontbox > TABLE > TBODY > TR > TD.padb5 TD[bgcolor='#e8eef7'] > TABLE[bgcolor='#ffffff'] {background-color:#333;}");
/* footer */ sIR("BODY > DIV.padt10 > TABLE > TBODY > TR > TD[class='fontsize1 padt5'][align='center'][style='color: rgb(51, 51, 51);'], BODY > DIV > DIV.padt10 > TABLE > TBODY > TR > TD[class='fontsize1 padt5'][align='center'][style='color: rgb(51, 51, 51);'] {display:none;}");
}
// Books enhancements
if (location.href.indexOf('books.google.') > -1 && (location.href.indexOf('/advanced_book_search') > -1 || location.href.indexOf('/agreement/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > FORM[action='/books'] > TABLE > TBODY > TR > TD[width='1%'] > A > IMG[width='174'][height='40'], BODY > DIV.header > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > FORM[action='/books'] > TABLE > TBODY > TR > TD[width='1%'], BODY > DIV.header {width:150px !important; height:45px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll center left !important; font-size:0;}");
/* attn box */ sIR("BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > DIV.attnbox {border:0 none; background-color:#181818; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* body txt */ sIR("BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > H2, BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > H3 {color:#999;}");
/* pre header line */ sIR("BODY > FORM[action='/books'] > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:first-child {display:none;}");
/* header R */ sIR("BODY > FORM[action='/books'] > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) TD:nth-child(2) {padding-right:0.5em; border:0 none; background-color:#333; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px; }");
/* header L */ sIR("BODY > FORM[action='/books'] > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) TD:first-child {border:0 none; background-color:#333; color:#fff !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* body bg */ sIR("BODY > FORM[action='/books'] TABLE > TBODY > TR, BODY > FORM[action='/books'] TABLE > TBODY > TR > TD {background-color:#000; color:#999;}");
/* footers */ sIR("BODY > FORM[action='/books'] > CENTER > FONT[face='arial,sans-serif'] > FONT[size='-1'], BODY > DIV.g-section > DIV.g-unit > DIV.footer, BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > DIV.footer {display:none;}");
}
// Scholar: Support enhancements
if (location.href.indexOf('scholar.google.') > -1 && (location.href.indexOf('/scholar/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV.g-doc:first-child > DIV.header > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV.g-doc:first-child > DIV.header {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* footer */ sIR("BODY > DIV.g-doc > DIV.g-section > DIV.g-unit > DIV.footer {display:none;}");
}
// Blogs: Advanced Search enhancements
if (location.href.indexOf('blogsearch.google.') > -1 && (location.href.indexOf('/blogsearch/advanced_blog_search') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV#h > TABLE > TBODY > TR > TD:first-child > A > IMG.l {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV#h > TABLE > TBODY > TR > TD:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* pre header line */ sIR("BODY > DIV#h > TABLE > TBODY > TR > TD > TABLE > TBODY > TR> TD.tpb {display:none;}");
/* header R */ sIR("BODY > DIV#h > TABLE > TBODY > TR > TD > TABLE > TBODY > TR> TD.ttb:nth-child(2) {padding-right:0.5em; border:0 none; background-color:#333; color:#fff !important; -moz-border-radius-topright:14px; -moz-border-radius-bottomright:14px; }");
/* header L */ sIR("BODY > DIV#h > TABLE > TBODY > TR > TD > TABLE > TBODY > TR> TD.ttb:first-child {border:0 none; background-color:#333; color:#fff !important; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* box bgs */ sIR("DIV#asm TR.asb TD {background-color:#000 !important; color:#999;}");
/* footer */ sIR("BODY > FORM > CENTER > FONT[size='-2']:last-child {display:none;}");
}
// Voice enhancements
if ((location.href.indexOf('http://www.google.com/googlevoice') > -1) || (location.href.indexOf('https://www.google.com/voice') > -1) || (location.href.indexOf('https://services.google.com/fb/forms/googlevoiceinvite/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV.g-doc-800 > DIV.header > A > IMG[alt='Google Voice'], BODY.compact > H1 > A > IMG[alt='Google Voice'], BODY.gc > DIV > DIV#gc-header > DIV.g-unit > DIV > DIV.g-section > DIV.g-unit > A[href='/voice'] > IMG#gc-header-logo, IMG#gc-header-logo, BODY > DIV.gc-mid > DIV[style='padding: 20px 0pt 6px;'] > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV.g-doc-800 > DIV.header, BODY.compact > H1, BODY.gc > DIV > DIV#gc-header > DIV.g-unit > DIV > DIV.g-section > DIV.g-unit:first-child, BODY.gc > DIV > DIV.gc-forward-logo, BODY > DIV.gc-mid > DIV[style='padding: 20px 0pt 6px;'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* about header bar */ sIR("P.highlight-box {background-color:#333; border:0; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* invite headline */ sIR("BODY[class='compact product']> H2 {margin-top:2em; color:#fff;}}");
/* footers */ sIR("BODY.compact > DIV#about, DIV#gc-footer {display:none;}");
/* admin bg */ sIR("DIV.gc-header, .gc-inbox-sidebar-menu, #gc-view-main, .gc-footer, .g-section, .g-tpl-67-33, .gc-message, #gc-splitpane, .gc-bubble-mc {background:#000 none !important; color:#ccc}");
///* admin buttons */ sIR(".goog-button-base-content, .gc-text, .goog-flat-menu-button-caption {background:#333 none !important; color:#fff}");
/* admin callout */ sIR(".gc-message-transcript, .gc-message-callout, .gc-message-transcript-b, .gc-message-transcript-t, .gc-message-transcript-r, .gc-message-transcript-l, .gc-message-transcript-m, .gc-message-transcript-bl, .gc-message-transcript-br, .gc-message-transcript-tl, .gc-message-transcript-tr {background:#333 none !important; color:#fff}");
/* admin c.out txt */ sIR(".goog-menuitem-content, .gc-inbox-no-items, .gc-inbox-page-range, .gc-user-tip .goog-inline-block, .goog-container, .g-section, LABEL, .gc-message-message-display *, .gc-quicksms > DIV, SPAN {color:#fff !important}");
/* admin sidebar */ sIR(".goog-option-selected, #gc-inbox-sidebar-header, #gc-view-header, .goog-splitpane-handle, .gc-user-tip .goog-inline-block, .goog-menuitem, .gc-inbox-sidebar-main, #gc-sidebar-balance-header, TD.goog-splitpane-first-container > DIV[style='overflow: hidden;'] {background:#181818 none !important;}");
/* admin menu */ sIR(".goog-menuitem-highlight {background:#333 none !important;}");
/* msg bgs */ sIR("DIV.gc-message-bg > DIV, DIV.gc-message-bg > DIV > TABLE > TBODY > TR > TD, TD.gc-message-sline, DIV.gc-message-bg-callout, DIV.gc-message-sms-actions {background:#000 none !important;}");
/* msg callout */ sIR("DIV.gc-message-unread DIV.gc-message-callout {display:none;}");
/* msg transcrpt */ sIR("DIV.gc-message-transcript {padding:4px 7px 4px 7px; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* msg btm line */ sIR("BODY.gc > DIV.gc-forward-content > DIV.gc-forward-message {border:0 none;}");
/* msg separator */ sIR("DIV.gc-message-bg {border-bottom:1px dotted #222;}");
/* settings page bg */ sIR("DIV.gc-settings-description, DIV#gc-settings-tab-bar-content, DIV.gc-settings-content {color:#eee; background:#000 none !important;}");
/* settingsPg-tblAlt */ sIR("TABLE.gc-billing-trans > TBODY > TR > TD, DIV.gc-billing-index, TR.gc-group-list-row-alt {color:#eee; background:#222 none !important;}");
/* settingsPgBg2 */ sIR("TABLE.gc-billing-trans > TBODY > TR > TH ,TH.gc-billing-stat-hd, DIV.gc-phone-list-item > TABLE {color:#eee; background:#222 none !important;}");
/* settingsPgTabBar1 */ sIR("DIV.goog-tab-bar-top {border-bottom:#ccc 1px solid; color:#eee; background:#000 none !important;}");
/* settingsPgTabBar2 */ sIR("DIV.goog-tab-bar-top > DIV.goog-tab-selected {border:0 none; background:#000 none !important; color:#fff !important;}");
}
// Patents: Advanced Search enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/advanced_patent_search?') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > FORM[name='f'] > TABLE:first-child > TBODY > TR > TD:first-child > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > FORM[name='f'] > TABLE:first-child > TBODY > TR > TD:first-child {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* header bar L */ sIR("BODY > FORM > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2), BODY > FORM > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) TD:first-child {background-color:#333; border:0 none !important; color:#ccc; -moz-border-radius-bottomleft:14px;}");
/* header bar R */ sIR("BODY > FORM > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2), BODY > FORM > TABLE > TBODY > TR > TD[rowspan='2'] > TABLE:nth-child(2) TD:nth-child(2) {padding-right:0.2em; background-color:#333; border:0 none !important; color:#ccc; -moz-border-radius-bottomright:14px;}");
/* body bg */ sIR("BODY > FORM > TABLE TR[bgcolor='#cbdced'] TD {background-color:#000; color:#fff;}");
/* inner bg */ sIR("BODY > FORM > TABLE TR[bgcolor='#ffffff'] TD {background-color:#000; color:#ccc;}");
/* footer */ sIR("BODY > FORM > CENTER > FONT[face='arial,sans-serif'] > FONT[size='-1'] {display:none;}");
}
// Trends enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/trends') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > CENTER > IMG[alt='Google Trends']:first-child, BODY.product > H1 > A[href='/trends/'] > IMG, BODY > FORM[name='search'] > TABLE > TBODY > TR > TD[width='1'][rowspan='2'] > A[href='/trends'] > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR:first-child > TD[align='left'], BODY.product > H1, BODY > FORM[name='search'] > TABLE > TBODY > TR > TD[width='1'][rowspan='2'] {padding-top:70px; width:150px; height:55px; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top center !important; font-size:0;}");
/* logo tbl adjust */ sIR("BODY > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] {position:relative; top:-70px;}");
/* searchbar cntnr */ sIR("BODY > CENTER > TABLE[cellspacing='0'][cellpadding='0'][border='0'] > TBODY > TR > TD[align='left'] > FORM[name='search'] > TABLE > TBODY > TR > TD[align='left'] {white-space:nowrap; font-style:italic;}");
/* pre header bar */ sIR("TABLE > TBODY > TR > TD[height='1'][bgcolor='#3366cc'], BODY > TABLE[cellpadding='2'][bgcolor='#e5ecf9'] {display:none;}");
/* headers */ sIR("BODY > CENTER > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e5ecf9'], BODY > FORM[name='search'] > TABLE[bgcolor='#e5ecf9'], TABLE.list > TBODY > TR[bgcolor='#e5ecf9']:first-child > TD, BODY > FORM[name='search'] > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e5ecf9'], BODY > FORM > TABLE[width='100%'][style='padding-right: 10px;'] > TBODY > TR > TD[width='33%'] > TABLE.list > TBODY > TR[bgcolor='#e5ecf9'], BODY > TABLE.hotLayout > TBODY > TR > TD.hotSection > TABLE[bgcolor='#e5ecf9'] {padding-right:0.7em; padding-left:0.2em; background-color:#333; border:0 none !important; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* header cntnr bg */ sIR("TABLE.list > TBODY > TR[bgcolor='#e5ecf9']:first-child {background-color:#000;}");
/* header export adj */ sIR("BODY > FORM[name='search'] > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e5ecf9'] {width:inherit; padding-left:0.7em; background-color:#6495ed !important;}");
/* header export lnk */ sIR("BODY > FORM[name='search'] > TABLE > TBODY > TR > TD > TABLE[bgcolor='#e5ecf9'] TD A {color:#fff !important;}");
/* story info bg */ sIR(".gs-publisher, .gs-location, .gs-relativePublishedDate {margin:0 !important; padding-right:0.2em; padding-left:0.2em; background-color:#181818 !important;}");
/* footer */ sIR("BODY > CENTER > P > FONT[size='-2'], BODY > FORM[name='search'] > TABLE > TBODY > TR > TD[height='1'][bgcolor='#cccccc'], BODY > FORM[name='search'] > TABLE > TBODY > TR > TD[align='center'] > FONT[size='-1'], BODY > TABLE > TBODY > TR > TD[height='1'][bgcolor='#cccccc'], BODY > TABLE[cellpadding='5'] > TBODY > TR > TD[align='center'] > FONT[size='-1'] {display:none;}");
}
// Labs enhancements
if (location.href.indexOf('.googlelabs.') > -1 || location.href.indexOf('//labs.google.') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV#g-hdr > FORM > TABLE#g-hdr-table > TBODY > TR > TD#g-hdr-logo-col > H1 > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV#g-hdr > FORM > TABLE#g-hdr-table > TBODY > TR > TD#g-hdr-logo-col, BODY > DIV[style='margin: 3px 5px;'] > TABLE#controls > TBODY > TR:first-child > TD[valign='top']:first-child {width:150px; height:55px; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top center !important; font-size:0;}");
/* menu right bar */ sIR("DIV#left-sidebar {border-color:#777;}");
/* menu linx */ sIR("DIV#left-sidebar > UL > LI > A > SPAN.name {padding-left:0.5em; color:#999 !important; text-decoration:none !important;}");
/* menu selected box */ sIR("DIV#left-sidebar > UL > LI.selected {padding-left:0.2em; background-color:#777; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* menu selected txt */ sIR("DIV#left-sidebar > UL > LI.selected > A > SPAN.name {padding-left:0; color:#fff !important;}");
/* menu headings */ sIR("DIV#left-sidebar H4 {padding-left:0.6em; background-color:#222; color:#777; -moz-border-radius-topleft:14px; -moz-border-radius-bottomleft:14px;}");
/* headers */ sIR("H3, BODY > H2, DIV#main-with-sidebar H4, .tabs, #info1, #info2 {padding-left:0.7em; background-color:#333; border:0; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* page txt */ sIR(".meta, .desc, .cur, DIV#main-with-sidebar DIV, DIV.g-doc P {color:#999 !important;}");
/* comments box bg */ sIR("DIV#commentThreadNode > DIV.zzCommentThreadGadget {background-color:#000 !important;}");
/* comments box */ sIR("DIV#commentThreadNode DIV.zzCommentList {background-color:#181818; border:0; color:#999; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* comments author */ sIR("DIV#commentThreadNode DIV.zzCommentList SPAN.zzCommentDisplayAuthorName {color:#ccc !important;}");
/* comments btm line */ sIR("DIV#commentThreadNode DIV.zzCommentThreadSeparator {display:none;}");
/* footer pagination */ sIR("BODY > DIV#main-with-sidebar > TABLE#nav > TBODY > TR[valign='top'] > TD SPAN {visibility:hidden;}");
/* Fast Flip */
/* logo img [hide] */ sIR("BODY > DIV[style='margin: 3px 5px;'] > TABLE#controls > TBODY > TR:first-child > TD[valign='top']:first-child > A#logo > IMG {visibility:hidden;}");
/* header selection */ sIR(".tabs > .selected {border:0 none !important; background-color:#333 !important; color:#fff !important;}");
/* list borders */ sIR(".list {border-color:#333;}");
/* tip panel */ sIR(".tip, .tip .heading {background-color:#222; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* L-side slider */ sIR("TABLE#sbc {background-color:#333;}");
/* share panel bg */ sIR(".share {padding:7px 7px 0 7px; background-color:#222; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* share btn */ sIR(".share .button {border:0 none !important; background-color:#000 !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* share dropdown */ sIR(".share .dd {padding:7px; border:0 none; background-color:#181818; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* footer */ sIR("BODY > DIV > DIV#footer {display:none;}");
}
// Experimental enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/experimental/') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV#container > DIV#header > DIV[style='float: left; width: 155px;'] IMG[width='150'][height='55'] {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV#container > DIV#header > DIV[style='float: left; width: 155px;'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll 0% !important; font-size:0;}");
/* page title */ sIR("BODY > DIV#container > DIV#header > DIV > DIV.title {color:#fff;}");
/* header & try out */ sIR("BODY > DIV#container > DIV#content > TABLE.expheader > TBODY > TR > TD, BODY > DIV#container > DIV#content > TABLE.expheader > TBODY > TR > TD > SPAN, BODY > DIV#container > DIV#content > TABLE > TBODY > TR > TD.expdesc > TABLE > TBODY > TR[valign='middle'] > TD[bgcolor='#ffffcc'][style='padding: 5px;'], BODY > DIV#container > DIV#content > TABLE > TBODY > TR > TD.expdesc > TABLE > TBODY > TR > TD.corners_yellow > SPAN {background:#333 none !important; border:0; color:#fff;}");
/* content */ sIR("BODY > DIV#container > DIV#content {color:#999 !important;}");
/* footer */ sIR("BODY > DIV#container > DIV#footer {display:none;}");
}
// Support enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/support/') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("TABLE.header > TBODY > TR > TD.logo > A > IMG.logo {display:none;}");
/* logo img [insert] */ sIR("TABLE.header > TBODY > TR > TD.logo {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important; font-size:0;}");
/* headers */ sIR("DIV.header_bar, P.survey_invite_blue, DIV.article_content > TABLE[width='100%'][border='0'][bgcolor='#e5ecf9'], DIV.article_content > TABLE[width='100%'][border='0'][bgcolor='#e5ecf9'] > TBODY > TR > TD:first-child, BODY.index_page > DIV.wrapper > TABLE.layout DIV.lightbulb {padding-right:0.3em; padding-left:0.3em; background-color:#333 !important; border:0; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* R modules header */ sIR("TD.right_column > DIV.module > H2 {position:relative; bottom:12px; left:0; background-color:#555; border:0 none !important; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* R modules */ sIR("TD.right_column > DIV.module {margin-top:36px; background-color:#222; border:0 none !important; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* alert box */ sIR("DIV.new-ui-alert {border:0 none; background:#333 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* page txt */ sIR("H3 {color:#999 !important;}");
/* content tables */ sIR("DIV.inner_content > DIV.article_content > TABLE {background-color:#222;}");
}
// Code enhancements
if (location.href.indexOf('code.google.') > -1 || location.href.indexOf('.googlecode.') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV#gc-container > DIV#gc-header > DIV#logo > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV#gc-container > DIV#gc-header > DIV#logo {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important; font-size:0;}");
/* search cntnr bg */ sIR("TABLE.gsc-search-box > TBODY > TR > TD {background-color:#000;}");
/* left separator */ sIR("DIV#gc-pagecontent > DIV#gc-collapsible {border-color:#181818 !important; background-color:#181818 !important;}");
/* left menu select */ sIR("UL.treelist LI.selected {background-color:#444 !important;");
/* headers */ sIR("DIV#gc-topnav, DIV#searchControl > DIV > DIV.gsc-tabsArea {background-color:#333 !important; border:0 none !important; color:#fff; padding-right:0.5em; padding-left:0.5em;-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* sub-headers */ sIR("BODY > DIV#gc-container H2, DIV#gc-pagecontent H1 {background-color:#222 !important; border:0 none !important; margin-top:1em !important; padding-top:0.2em !important; color:#fff; padding-right:0.5em; padding-left:0.5em;-moz-border-radius-topright:14px; -moz-border-radius-topleft:14px;}");
/* note */ sIR("DIV#gc-pagecontent P.note, DIV.g-c-gc-home P.note, DIV#gc-pagecontent P.caution {background-color:#181818 !important; border:0 none !important; color:#fff; padding-right:0.5em; padding-left:0.5em;-moz-border-radius-topright:8px; -moz-border-radius-topleft:8px; -moz-border-radius-bottomright:8px; -moz-border-radius-bottomleft:8px;}");
/* inner tbl hdr */ sIR("DIV#gc-pagecontent TH {background-color:#000 !important; color:#fff !important;}");
/* inner tbl txt */ sIR("DIV#gc-pagecontent TABLE[style='width: 90%;'] TD {color:#777;}");
/* box bgs */ sIR("DIV.g-c-gc-home DIV, DIV.g-c-gc-home DIV TABLE.columns > TBODY > TR > TD, TABLE.columns TD, TABLE#articlesArchiveTable TD, DIV.jd-descr TABLE TD {background-color:#000 !important;}");
/* box/table bg ALT */ sIR("DIV.jd-descr TABLE TR.alt TD {background-color:#222 !important;}");
/* bottom pagination */ sIR("DIV.gsc-cursor-box > DIV.gsc-cursor > DIV.gsc-cursor-page {color:#ccc;}");
}
// Add to Google (RSS) enhancements
if (location.href.indexOf('.google.') > -1 && location.href.indexOf('/ig/add?') > -1) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > TABLE:first-child > TBODY > TR > TD[width='1%'][valign='top'] > A > IMG {display:none;}");
/* logo img [insert] */ sIR("BODY > TABLE:first-child > TBODY > TR > TD[width='1%'][valign='top'] {width:150px !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important; font-size:0;}");
/* header bgs */ sIR("TR[bgcolor='#e5ecf9'], TR[bgcolor='#3366cc'] {background-color:#000;}");
/* headers */ sIR("TR[bgcolor='#e5ecf9'] > TD[style='padding-left: 4px; padding-bottom: 3px; padding-top: 2px; font-family: arial,sans-serif;'] {background-color:#333; border:0; color:#fff; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* button sides */ sIR("TD[style='background: transparent url(/ig/images/button-left.gif) repeat scroll 0% 0%; width: 8px; height: 40px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;'], TD[style='background: transparent url(/ig/images/button-right.gif) repeat scroll 0% 0%; width: 8px; height: 40px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;'] {background-image:none !important;}");
/* button bodies */ sIR("TD[style='background: transparent url(/ig/images/button-center.gif) repeat-x scroll 0% 0%; padding-left: 0.5em; padding-right: 0.5em; height: 40px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; color: rgb(255, 255, 255);'], TD[style='background: transparent url(/ig/images/button-center.gif) repeat-x scroll 0% 0%; padding-left: 0.5em; padding-right: 0.5em; height: 40px; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;'] {background:#333 none !important; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* footer */ sIR("BODY > TABLE > TBODY > TR > TD > DIV.footer {display:none;}");
}
// Toolbar enhancements
if ((location.href.indexOf('tools.google.') > -1 && location.href.indexOf('/firefox/toolbar/') > -1) || (location.href.indexOf('.google.') > -1 && location.href.indexOf('/toolbar/ff/') > -1)) {
/* Global BF Styles */ gBFenh();
/* logo img [hide] */ sIR("BODY > DIV > DIV.header > A > IMG.logo {display:none;}");
/* logo img [insert] */ sIR("BODY > DIV > DIV.header {width:100% !important; height:55px !important; background:transparent url('" + googleLogoBLACK + "') no-repeat scroll top left !important;}");
/* boxes */ sIR("DIV.g-button, DIV.box-out, DIV.box-out > DIV.box-in {background:#333 none !important; border:0 none; -moz-border-radius-topright:14px; -moz-border-radius-topleft:14px; -moz-border-radius-bottomright:14px; -moz-border-radius-bottomleft:14px;}");
/* footer */ sIR("BODY > DIV.g-doc-800 > DIV.footer {display:none;}");
}
// Modify Google Header Bar
var cGtld = location.host.substring(location.host.indexOf('.google.')+8,location.host.length); //current Google Top Level Domain
gHeaderBarCntnr = $("gbar");
gHdrUsrBarCntnr = $("guser");
gHeaderBarCntnrVoice = $("gc-gaia-bar");
//shift header-menu right for 'iGoogle' link insertion
gHeaderBar = gHeaderBarCntnr.getElementsByTagName('nobr')[0];
gHeaderBar.style.position = "relative";
gHeaderBar.style.left = "4.8em";
//header-menu left-side 'iGoogle'/'Web' link insertion
if (location.href.indexOf('.google.' + cGtld + '/ig') > -1) {
//create new 'iGoogle' B-tag
iGheaderInsert = document.createElement('b');
//create new 'Web' A-tag
WEBheaderInsert = document.createElement('a');
WEBheaderInsert.href = "http://www.google." + cGtld + "/url?sa=p&pref=ig&pval=1&q=/webhp%3Frls%3Dig";
WEBheaderInsert.innerHTML = "Web";
WEBheaderInsert.className = "gb1";
WEBheaderInsert.setAttribute('style', 'float:left; position:relative; top:-1.6em; padding-left:0.15em;');
//hide old 'Web' B-tag
if (gHeaderBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('b')[0]) gHeaderBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('b')[0].setAttribute('style', 'visibility:hidden;');
//hide old right-side 'Classic Home' A-tag
if (gHdrUsrBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('a')[0]) gHdrUsrBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('a')[0].setAttribute('style', 'display:none;');
//shift 'account' slightly-right
if (gHdrUsrBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('b')[0]) gHdrUsrBarCntnr.getElementsByTagName('nobr')[0].getElementsByTagName('b')[0].setAttribute('style', 'position:relative; left:1em;');
}
else {
//create new 'iGoogle' A-tag
iGheaderInsert = document.createElement('a');
iGheaderInsert.href = "http://www.google." + cGtld + "/ig";
}
iGheaderInsert.innerHTML = "iGoogle";
iGheaderInsert.className = "gb1";
iGheaderInsert.setAttribute('style', 'float:left; position:relative; top:-1.55em;');
gHeaderBar.insertBefore(iGheaderInsert, parent.firstChild);
if (location.href.indexOf('.google.' + cGtld + '/ig') > -1) gHeaderBar.insertBefore(WEBheaderInsert, parent.firstChild);
//header-menu 'Sign in' link adjustments
if (gHdrUsrBarCntnr || gHeaderBarCntnrVoice) gHdrUsrBar = gHdrUsrBarCntnr.getElementsByTagName('nobr')[0];
if (((!gHdrUsrBarCntnr) || (gHdrUsrBarCntnr && typeof gHdrUsrBar == "undefined")) && (!gHdrUsrBarCntnr && gHdrUsrBarCntnr.getElementsByTagName('a')[2])) {
signInLink = document.createElement('a');
signInLink.innerHTML = "Sign in";
signInLink.href = "https://www.google." + cGtld + "/accounts/ServiceLogin?continue=http://www.google." + cGtld + "/ig&followup=http://www.google." + cGtld + "/ig&service=ig&passive=true";
signInLink.setAttribute('style', 'position:absolute; top:4px; right:8px; font-family:Trebuchet MS,Verdna;');
//adds Sign in link to right-side of Firefox start page (when signed out), or not News (body.hp, body.serp & body.sp)
if (document.body.className != "hp" && document.body.className != "serp" && document.body.className != "sp" && document.body.className != "gecko loading loaded") gHeaderBarCntnr.appendChild(signInLink);
}
//header-menu right-side adjustments
if (gHdrUsrBarCntnr && typeof gHdrUsrBar == "object" && gHdrUsrBar.hasChildNodes()) for (iA=0; iA<gHdrUsrBar.getElementsByTagName('a').length; iA++) if (gHdrUsrBar.getElementsByTagName('a')[iA].innerHTML == "iGoogle") {
//removes iGoogle link from right-side (when signed in)
gHdrUsrBar.getElementsByTagName('a')[iA].style.display = "none";
//if exists, shift Account name over (when signed in)
if (gHdrUsrBar.getElementsByTagName('b')[0]) gHdrUsrBar.getElementsByTagName('b')[0].setAttribute('style', 'position:relative; left:0.8em; background-color:#000 !important;')
}
// Remove Right-side Ads
iframe = document.getElementsByTagName("iframe");
for(var iB=0; iB<iframe.length; iB++){if(iframe[iB].src.indexOf("pagead2.googlesyndication.com/pagead/ads") != -1){iframe[iB].height = 0; iframe[iB].width = 0;};};
// Add Style
if (typeof GM_addStyle != "undefined") {GM_addStyle(googleEnhancedBLACK);}
else if (typeof addStyle != "undefined") {addStyle(googleEnhancedBLACK);}
else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.innerHTML = googleEnhancedBLACK;
heads[0].appendChild(node);
};
};
}; var googleLogoBLACK = "data:image/gif;base64," +
"R0lGODlhlgBBAOZJAAoQHi4JBAsbPAgMFxI1gRhJtE0MAxdEqKQXA7YZAxoGAwJjBxAubhQ8kG4QAxlNvsYcBIsTAwsWLQ4lWANEBgSSDBtSyQ0gSBVAnQQmBh" +
"wXAyojBAa1D+YhBtceBQcKEZB0Ax1X1QoDAUE1A6SEA7CNAhAOAidm6R5b4PcoCuq+BeC1BHpjA1hIBAMUBCNg3yBa1mxYAwUHDfjMBdetBLyWA86mBP7qDCps" +
"7wcHB8WeBCdgui515iFSqClm06mcCzB59jo5OhxRvi9z9kdHSDJ+8MG4Dx9OmAMDBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" +
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" +
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAEkALAAAAACWAEEAQAf/gEmCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmIkCPC8EEgMAAI8EExISma" +
"iZHBULFBkuqYs+JwUMF6KxSREpCAEiCgqFDhDECYhGMyAaJhrNJs8aJCs0NiSHPjAEoR8fMhIYDwUYEwMDhBSrrRmFCCkRCr/BgxAeCRGTFygW4tqODTAhQrw4" +
"cUJfAwFJDHTwgCCCAXmJ2iVwYCBAEhAzaJBgscHEIhUqSrAYoSEJgRAPDvQz1ONBKVyCFqRzNShBB3sPRfzKRWhCAwwHCjywcGCCIgIWGjCYIADmIAMRECDAaQ" +
"AqBAQPA1hEFAMEiRoiR4yIUYIGiA0aNmxoZCGc0AaH/yqwWkCXbiGoUqcSK/aOp9+/hibgSHqrUYiDTgErXhzrQ7lyocoxnky5suXLmDNrHtTAAtGlAkJfYNCg" +
"QAgUBhFu/itXHSzKPYYUKHVqte1zM9dRPl2gwYTElyDwcqBVkYMOVx0OujGDRAu0ikqoqAZikA8U44ALshACA4PaMXMPkkicUAQIEwMo0LpV0oS2BeIzgCTgRH" +
"cGTeehR+BgEXLixSXRwgo21OCcIi3MUMJzaxUiwASkwTAELRfIEIohMrFC0yAReLBff5ZBFsqIjz12GyIM8JCNBDk45lg5HwDAgFAHHHTijX4RcEBQDxCgWiEN" +
"PMAAZDgWaeSRSCap5P+STE4S2o9NWkJBBau0ttkOJ2BwwQAxAvAYNy8OIECQKSkV5SO5vUbZEUDMZop2i4BypiPoaKjbZAwAYQEBF0gA5yUGJACBQ1oZgIAHHX" +
"SAACMsUDPSBmPpoMIMK1SnyARBHfAACifgUFCZ8w1SpzqHDDNRVcMkCoEBgwRBhCMCvICCSoXF0oE77CXiYQL8EdLCDSvEoFYiLKhAg4EjDJKnS3ICiZJ3H+Bm" +
"JyGJRhAgO6eyGkkBKDyAgY+pGJCCosRBhAgENyl30Q1mCetRIiNQWgIII3j0QggqgQfkC77pmyGpgiB6qgMREKcTMOZOwgBKBdQIiQw5CIACvt+Zk0T/AvXw1x" +
"4i7WBV3AgqrGBgCyUpAhIIz5UswI5AhTqIEBg0pW8S/26YEHINafsXAfHF1yOsOMDgnQAWCxJBArwuikg9FV0rSAk61FADC4i0oAK9wyrCrTgMwFnznYIEirSg" +
"9ywmwQUQEvBTUPEdgIFSfYLyZtGGsKcVPL+o10haaqFlQg7MNIPIBWTyM8EEOvqMwSEuNO64moTYfTfCc062Aw5aXqgIBkmRU3nlnrl9ASOl3fLn50pKgDgGBX" +
"gWztAQS4b67LTXbvvtuOeu++689+7778A/4hPbPQ+VEp++U7AAlTOt1sALexItA5hcgiIAAwdwpw8BvaeJ2QWceAKK/+aJSNDAAUvNfLv3ls2CmJ+PXOCJKbyz" +
"P5kARWTT1OmJRMv7qDabDCf6xT9LQAVp9PCQuhoRAxLowAYrAIkNLOWItBHgghhkwFJEJR5EOAAB9FgIBEAkiCC46hE9wEGPapWL4yTAAAdD2DA8wLRE/CAZGk" +
"DCM56xARCs4IfWQEQP9gSA6a0sBG3pGpekBTBCIKAD79CJTgJwqBpK4gUvoFUBIyGuVa2HY7sqGyF+cIMSoAU6hoBggahGCCxpIzECEAJRDiIDJgbQASlIgHoS" +
"loRD8UdnsJqYFmOBxxE6zRCHSg4hjFBGBinihzogQQwGcbkD3IJughAAEr3jFADeqf+L5REGrwC0MUdYAAW96VosxqUxPhaChjgRRAyAhTI0ciUj8xqBCJJwAq" +
"Gp8hAHwM53CPG1eQzHIoa6Sk4oNwkC6KNGE/AfrJ70pKekgCEUcSUhbBLLJJCAXZLsyEdCMpKSPCAEvRndIf7hI391MAnowgne4qHNSBjPbUZhBANIcQH5nQB6" +
"WhrEQuS5CPJUJAkxkBe93pWISUmSJIKgEfoMocl2OqWYRsOZA+p5idaFQyWRuMC9hoaL4yQHkIewCaG2UoPpzKtBicjIo0qWBAGorTQqIcARYHAACXSpEBgVBD" +
"14JUaeEMAt8nlEfXxJtEGYilcoJcRxVkoIEtAgahT/PMQPVDDTQ0TmACd4QAM+gcnwTGub6EEaCY26o/gQRZ2LCCsp8iNVqfAqpS/MlSFAUIIS1CCrghgQCUag" +
"FpoiAgMn2MdED7G8uYBNEB+ciqAGpTOoRHUSEtjn2u5JgKWk7QBCWGFo4Fc3AxAsLzkDxiENMYIWsICvfd1IvUxgy8FpcEc88hYiMsDb3h7CtA4gWAQK9hCOTk" +
"JuEqCmAPwEgA/kYHrjK+sh9shMSDTjuoIb3A5eUItPQEwGA5BA4hrGvUqshz3GDZ4iLpA/bYBCuklgQDh8o97VbEJ/BZzAYVhY38tMILGcZMQFLPCdLfY3R4q1" +
"5KVcQr4DZ4Y0QLlnIQPU9hYBgNfADlaM9Q43gQs0BbrwzbCIR0ziEpv4xIgIBAA7";
// Adaptive Resolution Support from 800x600 to 2560x1600 for Search Results
var resW; var dW = document.all?document.body.clientWidth:window.innerWidth;
if ($('gSearchSidebar') == null) resW = 96;
else if (dW >= 2532) resW = 73;
else if (dW >= 1699) resW = 72;
else if (dW >= 1308) resW = 71;
else if (dW >= 1266) resW = 70;
else if (dW >= 1226) resW = 69;
else if (dW >= 1189) resW = 68;
else if (dW >= 1154) resW = 67;
else if (dW >= 1121) resW = 66;
else if (dW >= 1090) resW = 65;
else if (dW >= 1060) resW = 64;
else if (dW >= 1032) resW = 63;
else if (dW >= 1006) resW = 62;
else if (dW >= 981) resW = 61;
else if (dW < 981) resW = 60;
// Shortcut!
function $(id) {return document.getElementById(id);}
// Creates a new node with the given attributes and properties (be careful with XPCNativeWrapper limitations)
function createNode(type, attributes, props) {
var node = document.createElement(type);
if (attributes) {
for (var attr in attributes) {
node.setAttribute(attr, attributes[attr]);
}
}
if (props) {
for (var prop in props) {
if (prop in node) node[prop] = props[prop];
}
}
return node;
}
/* !CHECK: if script can set values, then disable Update Check if unsupported or Opera ('unsafeWindow' is GM-obj) */
try {GM_setValue("SetValTest", "1")} catch(er) {var noSetVal = true}
if (typeof unsafeWindow != "undefined" && typeof noSetVal == "undefined") {
// Shortcut to sessionStorage (saved values will be discarded at the end of the browser session)
var sSt = unsafeWindow.sessionStorage;
// Shows/hides an update notice to the user (according to the boolean parameter scriptShowMessage)
// The scriptNewVersion parameters is used to display the new version number/date in Date.prototype.getTime() format
function scriptShowUpdateMessage(scriptShowMessage, scriptNewVersion) {
// Gets the notice box and the script new version date in UTC format
var messageDiv = $("gsscriptVersionMessage");
var scriptNewVersionDate = (new Date(scriptNewVersion)).toUTCString();
// Shows/creates/hides the update notice
if (scriptShowMessage == false) {
// Hides the notice if it exists
if (messageDiv) messageDiv.style.display = "none";
}
else {
// The notice shouldn't be shown/created if the user has chosen to hide it for this session
if (sSt.gsscriptVersionNoticeHide) return;
if (messageDiv) {
// Shows the notice
messageDiv.style.display = "";
}
else {
// Creates the notice
messageDiv = createNode("div", {id: "gsscriptVersionMessage", title: "A new version of google Enhanced BLACK is available"});
messageDiv.innerHTML = "A new version of google Enhanced BLACK is available<br />" +
"<span style='font-weight:normal; color:#f77; font-family:Trebuchet MS, Verdna;'>Updated: " + scriptNewVersionDate + "</span><br /><br />" +
"<a style='color:#fcc !important; font-size:16px; font-family:Trebuchet MS, Verdna;' id='gsscriptVersionInstallUpdate' href='" + scriptFileURL + "' title='Install the script update now'><blink>INSTALL UPDATE</blink></a>" +
" · " +
"<a style='color:#f99 !important; font-family:Trebuchet MS, Verdna;' href='" + scriptHomepageURL + "' target='_blank' title='Go to the google Enhanced BLACK UserScript page in a new tab'>Go to UserScript page</a>" +
" · " +
"<a style='color:#fcc !important; font-family:Trebuchet MS, Verdna;' id='gsscriptVersionMessageHide' href='javascript:void(null)' title='Hide the notice for this session'>Hide notice</a>";
document.body.appendChild(messageDiv);
// Adds event listeners to the hide update-notice upon Install or Hide
$("gsscriptVersionInstallUpdate").addEventListener("click", function(evt) {
sSt.gsscriptVersionNoticeHide = "1"; // Sets a sessionStorage variable to prevent the notice to be shown for this session
scriptShowUpdateMessage(false, null);
}, false);
$("gsscriptVersionMessageHide").addEventListener("click", function(evt) {
sSt.gsscriptVersionNoticeHide = "1";
scriptShowUpdateMessage(false, null);
}, false);
}
}
}
// Checks if there is a new script version according to the version information in the script homepage
// The version information is in a line in the full description of the script: "<p>#[V:00000000]#</p>" (00000000 is the version number)
// If the request is successful and there is a new version available, a message to the user is displayed
function scriptCheckVersion() {
GM_xmlhttpRequest({
method: "GET",
url: scriptHomepageURL,
onload: function(evt) {
if ((evt.readyState == 4) && (evt.status == 200)) {
// Gets the remote version from the response and makes sure it is a number
var responseMatch = evt.responseText.match(/<p>#\[V:(\d+)]#<\/p>/);
var remoteVersion = (responseMatch === null) ? NaN : parseInt(responseMatch[1], 10);
if (isNaN(remoteVersion)) return;
// Saves the more recent version according to the server and shows the update notice if the server version is newer
GM_setValue("scriptLastRemoteVersion", remoteVersion.toString());
if (remoteVersion > scriptVersion) scriptShowUpdateMessage(true, remoteVersion);
}
}
});
}
// Checks for script updates
function scriptUpdateCheck() {
if (Date.now() - scriptLastCheck >= 86400000) { // 86400000 == 1 day
// At least a day has passed since the last check. Sends a request to check for a new script version
GM_setValue("scriptLastCheck", Date.now().toString());
scriptCheckVersion();
}
else {
// If a new version was previously detected the notice will be shown to the user
// This is to prevent that the notice will only be shown once a day (when an update check is scheduled)
if (scriptLastRemoteVersion > scriptVersion) {
scriptShowUpdateMessage(true, scriptLastRemoteVersion);
}
}
}
var scriptLastCheck = parseInt(GM_getValue("scriptLastCheck", "0"), 10);
if (isNaN(scriptLastCheck)) scriptLastCheck = 0;
var scriptLastRemoteVersion = parseInt(GM_getValue("scriptLastRemoteVersion", scriptVersion.toString()), 10);
if (isNaN(scriptLastRemoteVersion)) scriptLastRemoteVersion = scriptVersion;
//After all else, check for updates
scriptUpdateCheck();
}
/* /!CHECK */
// RUN!!!
enhanceGoogle();
