🐭️ MouseHunt - Better Lucky Catch Icon

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

目前为 2023-04-09 提交的版本。查看 最新版本

// ==UserScript==
// @name         🐭️ MouseHunt - Better Lucky Catch Icon
// @version      1.1.1
// @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://i.mouse.rip/mouse.png
// @grant        none
// @run-at      document-end
// ==/UserScript==

((function () {
  'use strict';

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

  .journaltext .lucky::after {
    position: relative;
    top: 3px;
    width: 15px;
    height: 15px;
    margin: 0;
    background: url(https://www.mousehuntgame.com/images/ui/camp/trap/stat_luck.png?asset_cache_version=2);
    background-repeat: no-repeat;
    background-size: contain;
  }`;
  document.head.appendChild(style);
})());