Skip to content

Commit

Permalink
Add script migration notice
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Jan 18, 2024
1 parent 22be9c4 commit db8a03f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

A Userscript for [MouseHunt](https://mousehuntgame.com) to hide the footer.

> [!TIP]
> You should install [MouseHunt Improved](https://github.com/MHCommunity/mousehunt-improved) instead of this script, as it includes this functionality and tons more!
## Installation

*You must have [ViolentMonkey](https://violentmonkey.github.io/) or another userscript manager installed.*
5 changes: 4 additions & 1 deletion mh-no-footer.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 🐭️ MouseHunt - No Footer
// @version 1.0.0
// @version 1.1.0
// @description Hides the footer.
// @license MIT
// @author bradp
Expand All @@ -9,6 +9,7 @@
// @icon https://i.mouse.rip/mouse.png
// @grant none
// @run-at document-end
// @require https://cdn.jsdelivr.net/npm/[email protected]
// ==/UserScript==

((function () {
Expand All @@ -17,4 +18,6 @@
const addStyles = document.createElement('style');
addStyles.innerHTML = '.pageFrameView-footer, .mousehuntFooter { display: none; }';
document.head.appendChild(addStyles);

migrateUserscript('🐭️ MouseHunt - No Footer', 'https://greasyfork.org/en/users/921385-bradp');
})());
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mh-no-footer",
"version": "1.0.0",
"version": "1.1.0",
"description": "",
"main": "mh-no-footer.user.js",
"scripts": {
Expand Down

0 comments on commit db8a03f

Please sign in to comment.