Skip to content

Instantly share code, notes, and snippets.

@gagarine
Created August 23, 2011 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gagarine/1165104 to your computer and use it in GitHub Desktop.
Save gagarine/1165104 to your computer and use it in GitHub Desktop.
greasmonkey script to Disable Google Fade-in Homepage on background image
// ==UserScript==
// @name Disable Google Fade-in Homepage
// @namespace http://googlesystem.blogspot.com
// @description Disable Google's new homepage
// @include http://www.google.*/
// @include http://www.google.*/webhp*
// @include http://www.google.*/#*
// @include https://www.google.*/
// @include https://www.google.*/webhp*
// @include https://www.google.*/#*
// @include https://encrypted.google.*/
// @include https://encrypted.google.*/webhp*
// @include https://encrypted.google.*/#*
// @version 0.31
// ==/UserScript==
(function () {
var css = '#fpdi,#cpBackgroundImg, #fctr,#ghead,#pmocntr,#sbl,#tba,#tbe,.fade,.gbh { opacity: 1 !important; filter:alpha(opacity=100) !important; }';
if (typeof GM_addStyle != 'undefined') {
GM_addStyle(css);
} else if (typeof PRO_addStyle != 'undefined') {
PRO_addStyle(css);
} else {
var style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
document.getElementsByTagName('head')[0].appendChild(style);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment