您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Max DF Screen Size
// ==UserScript== // @name Max Screen // @author hotrods20 // @namespace MaxDFScreen // @description Max DF Screen Size // @match https://fairview.deadfrontier.com/onlinezombiemmo/index.php?page=21&webplayer=1 // @version 3 // @grant none // ==/UserScript== function updateTimer() { var d = new Date(); document.title = "DF | "+d.getHours() + ":" + ('0'+d.getMinutes()).slice(-2); } function executor() { if(GetUnity() === null) { var script = document.createElement('script'); script.src = 'http://administration.dfprofiler.com/dfscript/UnityObject.js'; script.type = 'text/js'; script.onload = function() { DFLoaderSettings(); console.log("Loaded User Settings"); }; document.getElementsByTagName('head')[0].appendChild(script); } var unityInst = GetUnity(); unityInst.setAttribute("style", "display: block; position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%;"); document.getElementsByTagName("body")[0].setAttribute("style", "overflow-y: hidden;"); if(document.fullscreenEnabled) { unityInst.requestFullscreen(); } updateTimer(); setInterval(updateTimer, 30000); } window.addEventListener("load", executor);