asteriksme / Time on page loading

// ==UserScript==
// @name         Time on page loading
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Display time just after a page loads
// @author       You
// @match        *://*/*
// @grant        none
// @license      MIT
// @updateURL    https://openuserjs.org/meta/asteriksme/Time_on_page_loading.meta.js
// @downloadURL  https://openuserjs.org/install/asteriksme/Time_on_page_loading.user.js
// ==/UserScript==

/* jshint esversion: 8 */

(function() {
    'use strict';

    const div = document.createElement('div');
    div.style.position = 'absolute';
    div.style.top = '5px';
    div.style.right = '10px';
    div.style.color = '#666';
    div.style.border = '0';
    div.style.fontSize = 'small';
    div.style.zIndex = 10000;
    div.innerHTML = (new Date()).toLocaleTimeString();
    document.body.append(div);
})();