smguggen / Turn IMDB Red

// ==UserScript==
// @name         Turn IMDB Red
// @namespace    https://srcer.com
// @version      0.5.0
// @description  Turn IMDB red
// @author       Steven Guggenheimer
// @grant        GM_addStyle
// @include       http://*.imdb.com/*
// @include       https://*.imdb.com/*
// @match         http://*.imdb.com/*
// @match         https://*.imdb.com/*
// @license CC-BY-NC-SA-4.0; https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
// @license GPL-3.0-or-later; https://www.gnu.org/licenses/gpl-3.0.txt
// ==/UserScript==

(function() {
    'use strict';
    let div = document.createElement('div');
    div.classList.add('red-hover');
    document.getElementsByTagName('body')[0].appendChild(div);
    GM_addStyle(`
        div.red-hover {
            position:fixed;
            top:0;
            bottom:0;
            left:0;
            right:0;
            z-index:10000;
            background-color:rgb(255,0,0,0.35);
        }
    `);
})();