RIC0H / Itch Static Header

// ==UserScript==
// @name         Itch Static Header
// @namespace    Itch Static Header
// @version      0.1
// @description  Keeps the header at the top on Itch.io
// @author       RIC0H
// @match        https://*.itch.io/*
// @match        https://itch.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=itch.io
// @grant        none
// @license      MIT
// ==/UserScript==

// allow pasting

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('.header_widget .primary_header {position: fixed;  width: 100%;}'
);