您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Mouse on, mouse off
// ==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);