Skip to content

Instantly share code, notes, and snippets.

@sinsinpub
Last active August 29, 2015 14:08
Show Gist options
  • Save sinsinpub/46b2e781eb025c8b03f7 to your computer and use it in GitHub Desktop.
Save sinsinpub/46b2e781eb025c8b03f7 to your computer and use it in GitHub Desktop.
Removes the "position: fixed" attribute on the new header bar on Tumblr.
// ==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