dinsdag 8 november 2011

Lean Google homepage

Here is how I use a lean layout for Google's homepage.

1) Open Notepad or a similar tool capable of editing plain text files.
2) Copy the CSS code from one of the layouts shown below into the text editor.
3) Save the file as Cascading Style Sheet (*.css) to one of the following locations.


Google Chrome
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Windows XP:
%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default\User StyleSheets\Custom.css
Windows 7:
%LOCALAPPDATA%\Google\Chrome\User Data\Default\User StyleSheets\Custom.css
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
The correct location depends on the operating system you use.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Mozilla Firefox
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
%APPDATA%\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\userContent.css
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
The "xxxxxxxx" refers to your unique profile name which consists of eight random numbers and characters.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Internet Explorer
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
%APPDATA%\Microsoft\Internet Explorer\StyleSheet.css
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
You might need to edit the following registry values to ensure the use of style sheets is enabled.
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles]
"User Stylesheet"="%APPDATA%\\Microsoft\\Internet Explorer\\StyleSheet.css"
"Use My Stylesheet"=dword:00000001

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////



Layout #1
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#mngb,#gb,#prm,.jsb,#als,#footer{visibility:hidden;}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Layout #2
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#mngb,#gb,#prm,#als,#footer{visibility:hidden;}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


Layout #3
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#mngb *,#gbx4,#gbx3,#gbz .gbzt,#gbz .gbgt{background:none!important;color:#00C!important;border:none!important;text-decoration:underline!important;}.gbt .gbzt.gbz0l.gbp1,#gbgs5{display:none!important;}#als,#prm,#footer{visibility:hidden;}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////