Last active
August 29, 2015 14:08
-
-
Save sinsinpub/46b2e781eb025c8b03f7 to your computer and use it in GitHub Desktop.
Removes the "position: fixed" attribute on the new header bar on Tumblr.
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 Un-fix new Tumblr header | |
// @author sin_sin | |
// @namespace https://gist.github.com/sinsinpub | |
// @version 0.1b | |
// @description Removes the "position: fixed" attribute on the new header bar on Tumblr. | |
// @copyright 2014, sin_sin | |
// @match http://www.tumblr.com/dashboard | |
// @include *://www.tumblr.com/dashboard* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
var header = document.querySelectorAll(".l-header-container"); | |
if (!!header && header.length > 0) { | |
header[0].style.position = "absolute"; | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment