Created
July 2, 2013 13:12
-
-
Save necccc/5909186 to your computer and use it in GitHub Desktop.
Userscript to remove the ugly yahoo bar from the top of *.flickr.com
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== | |
// @match http://*.flickr.com/* | |
// ==/UserScript== | |
try { | |
var eyebrow = document.querySelectorAll('#eyebrow')[0]; | |
eyebrow.parentNode.removeChild(eyebrow); | |
document.querySelectorAll('body')[0].className = document.querySelectorAll('body')[0].className.replace('with-eyebrow', ''); | |
} catch (e) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment