Created
July 2, 2013 09:32
-
-
Save bluefuton/5907954 to your computer and use it in GitHub Desktop.
Hide Yahoo! toolbar on Flickr - Greasemonkey script
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 Yahoo toolbar on Flickr | |
// @description Make the Yahoo 'eyebrow' toolbar vanish on Flickr | |
// @namespace http://bluefuton.com | |
// @version 0.1 | |
// @author Chris Rosser | |
// @license MIT | |
// @released 2013-07-02 | |
// @updated 2013-07-02 | |
// @match *://flickr.com/* | |
// @match *://www.flickr.com/* | |
// @run-at document-start | |
// ==/UserScript== | |
(function () { | |
'use strict'; | |
document.addEventListener('DOMContentLoaded', function (e) { | |
document.getElementById('eyebrow').style.display = 'none'; | |
document.querySelector('body').classList.remove("with-eyebrow"); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment