Created
August 23, 2011 13:26
-
-
Save gagarine/1165104 to your computer and use it in GitHub Desktop.
greasmonkey script to Disable Google Fade-in Homepage on background image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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