Created
March 22, 2012 14:19
-
-
Save sue445/2158588 to your computer and use it in GitHub Desktop.
Hide AZusaar! Logo
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 Hide AZusaar! Logo | |
// @namespace http://azusaar.appspot.com/ | |
// @include http://azusaar.appspot.com/* | |
// ==/UserScript== | |
(function(d, func) { | |
var check = function() { | |
if (typeof unsafeWindow.jQuery == 'undefined') return false; | |
func(unsafeWindow.jQuery); return true; | |
} | |
if (check()) return; | |
var s = d.createElement('script'); | |
s.type = 'text/javascript'; | |
s.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'; | |
d.getElementsByTagName('head')[0].appendChild(s); | |
(function() { | |
if (check()) return; | |
setTimeout(arguments.callee, 100); | |
})(); | |
})(document, function($) { | |
// thx) http://www.otchy.net/20091104/use-jquery-on-greasemonkey/ | |
$(".logo").css("visibility", "hidden"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment