您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fixes menu position and improves performance (deactivates fireflies).
// ==UserScript== // @name Thimbleweed Park™ fixes // @namespace NorTreblig // @version 0.1 // @description Fixes menu position and improves performance (deactivates fireflies). // @author Nor Treblig // @match http://thimbleweedpark.com/* // @match https://thimbleweedpark.com/* // @grant none // ==/UserScript== /* jshint -W097 */ 'use strict'; function main() { // disable static header jQuery(".menu").css({ "position": "absolute" }); if (jQuery.firefly) { // disable fireflies (performance tweak) jQuery(jQuery.firefly.settings.on + ' img').stop(); // replace animated GIF with static image (performance tweak) jQuery(".layer3").css({ "background": "url('https://storage.googleapis.com/images.thimbleweedpark.com/www/layer3.png') no-repeat top center" }); } }; jQuery(document).ready(main);