JSFiddle - React, Tailwind, and code Playground

JavaScript

// ==UserScript==
// @name         Random Delay
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var floor = 4.0;
    var ceiling = 10.0;
    var delta = ceiling - floor;
    var randDelay = ((Math.random() * delta) + floor) * 1000;
    console.log("Delaying by", randDelay, "ms");

    document.getElementsByTagName('body')[0].style.display = "None";
    setTimeout(function(){
        document.getElementsByTagName('body')[0].style.display = "";
    },randDelay)

})();