Excel at JOL

Mouse on, mouse off

  1. // ==UserScript==
  2. // @name Excel at JOL
  3. // @namespace https://github.com/shmup
  4. // @version 1.0.0
  5. // @description Mouse on, mouse off
  6. // @include https://deckserver.net/jol/*
  7. // @run-at document-idle
  8. // @grant GM_addStyle
  9. // ==/UserScript==
  10.  
  11. /* jshint esversion: 6 */
  12.  
  13. /* Written for https://tampermonkey.net */
  14. /* https://greasyfork.org/en/scripts/379008-excel-at-jol */
  15.  
  16. 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; }");
  17. GM_addStyle("body:hover #screensaver { display: none; }");
  18.  
  19. (function(window) {
  20. 'use strict';
  21.  
  22. document.body.innerHTML += "<div id='screensaver' />";
  23.  
  24. })(window);