steamgifts.com sticky header

Makes the nav bar at the top of steamgifts.com "sticky" - i.e., always at the top of the screen even if you scroll the page down

Fra og med 17.06.2015. Se den nyeste version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        steamgifts.com sticky header
// @description Makes the nav bar at the top of steamgifts.com "sticky" - i.e., always at the top of the screen even if you scroll the page down
// @namespace   Barefoot Monkey
// @include     http://www.steamgifts.com/*
// @version     1
// @grant       none
// ==/UserScript==

// Sticky header
var style = document.createElement('style')
style.textContent = "header { top: 0; position: sticky; z-index: 1; }"
document.head.appendChild(style)