Excel at JOL

Mouse on, mouse off

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Excel at JOL
// @namespace    https://github.com/shmup
// @version      1.0.0
// @description  Mouse on, mouse off
// @include	 https://deckserver.net/jol/*
// @run-at       document-idle
// @grant        GM_addStyle
// ==/UserScript==

/* jshint esversion: 6 */

/* Written for https://tampermonkey.net */
/* https://greasyfork.org/en/scripts/379008-excel-at-jol */

GM_addStyle("#screensaver {width: 100%;height: 100%;position: fixed;top: 0;left: 0;background: white url('https://i.imgur.com/UdGenYq.png') no-repeat center center fixed;background-size: auto;background-size: cover; pointer-events: none; }");
GM_addStyle("body:hover #screensaver { display: none; }");

(function(window) {
  'use strict';

  document.body.innerHTML += "<div id='screensaver' />";

})(window);