Created
June 21, 2015 15:21
-
-
Save m0n5t3r/8136cc17ac6a3b6274ec to your computer and use it in GitHub Desktop.
Remove yahoo bar from Flickr (userscript)
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== | |
// @id www.flickr.com-3076e643-50f4-42bd-b472-0d5cefff426e@scriptish | |
// @name Fuck Yahoo Menu Bar | |
// @version 1.0 | |
// @namespace flickr | |
// @author m0n5t3r | |
// @description Remove purple yahoo bar fron flickr | |
// @include https://www.flickr.com/* | |
// @run-at document-load | |
// ==/UserScript== | |
(function() { | |
var eb = document.querySelector('#eyebrow'), | |
nav = document.querySelector('#global-nav'), | |
body = document.querySelector('body.with-eyebrow'); | |
eb.parentNode.removeChild(eb); | |
nav.style.top = 0; | |
body.style.top = '-22px'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment