🐭️ MouseHunt - Better Lucky Catch Icon

Upscales the Lucky Catch icon so it isn't so blurry.

当前为 2022-08-17 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         🐭️ MouseHunt - Better Lucky Catch Icon
// @version      1.0.0
// @description  Upscales the Lucky Catch icon so it isn't so blurry.
// @license      MIT
// @author       bradp
// @namespace    bradp
// @match        https://www.mousehuntgame.com/*
// @icon         https://brrad.com/mouse.png
// @grant        none
// @run-at      document-end
// ==/UserScript==

((function () {
	'use strict';

	const style = document.createElement('style');
	style.innerHTML = `.journal .entry.luckycatchsuccess .journalimage:after {
		background: url('https://www.mousehuntgame.com/images/ui/camp/trap/stat_luck.png?asset_cache_version=2');
		background-size: cover;
		background-repeat: no-repeat;
		height: 20px;
		width: 20px;
		top: -5px;
		left: -5px;
	}
	.journaltext .lucky:after {
		background: url('https://www.mousehuntgame.com/images/ui/camp/trap/stat_luck.png?asset_cache_version=2');
		background-size: cover;
		width: 20px;
		height: 20px;
		background-repeat: no-repeat;
		position: relative;
		top: 5px;
		margin: 0;
	}`;
	document.head.appendChild(style);
})());