mousehunt-improved 0.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +15 -0
- package/.eslintignore +2 -0
- package/.eslintrc.json +153 -0
- package/.eslintrc.markdown.json +11 -0
- package/.gitattributes +7 -0
- package/.github/dependabot.yml +18 -0
- package/.github/workflows/ci.yml +29 -0
- package/.github/workflows/lint.yml +24 -0
- package/.github/workflows/publish.yml +215 -0
- package/.stylelintrc.json +51 -0
- package/.vscode/tasks.json +37 -0
- package/CHANGELOG.md +3853 -0
- package/CONTRIBUTING.md +317 -0
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/bun.lock +2298 -0
- package/docs/adblock.md +3 -0
- package/docs/better-gifts.md +15 -0
- package/docs/better-inventory.md +19 -0
- package/docs/better-items.md +13 -0
- package/docs/better-journal.md +26 -0
- package/docs/better-kings-reward.md +5 -0
- package/docs/better-maps.md +35 -0
- package/docs/better-marketplace.md +16 -0
- package/docs/better-mice.md +19 -0
- package/docs/better-quests.md +14 -0
- package/docs/better-send-supplies.md +15 -0
- package/docs/better-shops.md +15 -0
- package/docs/better-tournaments.md +13 -0
- package/docs/better-travel.md +20 -0
- package/docs/better-ui.md +30 -0
- package/docs/big-timer.md +3 -0
- package/docs/catch-rate-estimator-and-minlucks.md +9 -0
- package/docs/codex-at-bottom.md +3 -0
- package/docs/copy-id-button.md +7 -0
- package/docs/custom-background.md +71 -0
- package/docs/custom-camp-background.md +73 -0
- package/docs/custom-horn.md +28 -0
- package/docs/custom-hud.md +67 -0
- package/docs/custom-shield.md +77 -0
- package/docs/custom-styles.md +3 -0
- package/docs/dark-mode-updates-and-tweaks.md +3 -0
- package/docs/dark-mode.md +3 -0
- package/docs/data-exporters.md +21 -0
- package/docs/debug-logging.md +49 -0
- package/docs/delayed-menus.md +3 -0
- package/docs/delayed-tooltips.md +3 -0
- package/docs/emotes.md +111 -0
- package/docs/experiments.md +14 -0
- package/docs/favorite-setups.md +10 -0
- package/docs/feature-flags.md +90 -0
- package/docs/fixes.md +32 -0
- package/docs/flrt-helper.md +8 -0
- package/docs/hide-codices.md +3 -0
- package/docs/hide-daily-draw.md +3 -0
- package/docs/hide-daily-reward-popup.md +3 -0
- package/docs/hide-footer.md +3 -0
- package/docs/hide-news-ticker.md +3 -0
- package/docs/hide-share-buttons.md +3 -0
- package/docs/hide-sidebar.md +3 -0
- package/docs/hover-profiles.md +3 -0
- package/docs/image-upscaling-and-transparency.md +5 -0
- package/docs/inline-wiki.md +3 -0
- package/docs/inventory-lock-and-hide.md +9 -0
- package/docs/inventory-only-open-multiple.md +9 -0
- package/docs/inventory-open-all-but-one.md +8 -0
- package/docs/inventory-open-all.md +8 -0
- package/docs/journal-privacy.md +8 -0
- package/docs/journal-theme-changer.md +13 -0
- package/docs/keyboard-shortcuts.md +42 -0
- package/docs/larger-codices.md +3 -0
- package/docs/larger-skin-images.md +3 -0
- package/docs/legacy-hud.md +9 -0
- package/docs/location-catch-stats.md +3 -0
- package/docs/location-dashboard.md +89 -0
- package/docs/lucky-golden-shield-duration-and-reminder.md +8 -0
- package/docs/metric-units.md +3 -0
- package/docs/paste-hunter-id.md +5 -0
- package/docs/prestige-base-stats.md +3 -0
- package/docs/printing-press-paper-counter.md +3 -0
- package/docs/quick-filters-and-sort.md +8 -0
- package/docs/quick-send-supplies.md +8 -0
- package/docs/replace-favicon.md +3 -0
- package/docs/scoreboard-search-on-profiles.md +3 -0
- package/docs/shield-goes-to-camp.md +3 -0
- package/docs/show-adventure-book.md +7 -0
- package/docs/show-auras.md +13 -0
- package/docs/ssdb-toothlet-counter.md +3 -0
- package/docs/taller-windows.md +3 -0
- package/docs/tem-crowns.md +3 -0
- package/docs/trap-selector-special-effects.md +8 -0
- package/docs/ultimate-checkmark.md +9 -0
- package/docs/unique-loot-count.md +7 -0
- package/docs/wisdom-in-stat-bar.md +12 -0
- package/jsconfig.json +17 -0
- package/package.json +101 -0
- package/scripts/build-extension.mjs +119 -0
- package/scripts/build-userscript.mjs +73 -0
- package/scripts/build.mjs +106 -0
- package/scripts/fetch-external-files.mjs +26 -0
- package/scripts/fix-map-groups.mjs +146 -0
- package/scripts/get-changelog.mjs +10 -0
- package/scripts/get-version.mjs +2 -0
- package/scripts/release +29 -0
- package/scripts/shared.mjs +135 -0
- package/src/data/backgrounds.json +47 -0
- package/src/data/crafting-recipe-mapping.json +87 -0
- package/src/data/cre-mice-groups.json +148 -0
- package/src/data/journal-item-colors.json +110 -0
- package/src/data/journals-environment-mapping.json +24 -0
- package/src/data/journals-events.json +58 -0
- package/src/data/magic-essence-potions.json +28 -0
- package/src/data/map-groups.json +3737 -0
- package/src/data/ultimate-checkmark.json +407 -0
- package/src/data/update-summary.json +48 -0
- package/src/extension/content.js +29 -0
- package/src/extension/icon-128.png +0 -0
- package/src/extension/icon-16.png +0 -0
- package/src/extension/icon-32.png +0 -0
- package/src/extension/icon-48.png +0 -0
- package/src/extension/icon-64.png +0 -0
- package/src/extension/manifest.json +55 -0
- package/src/extension/popup.html +50 -0
- package/src/extension/screenshots/dashboard.png +0 -0
- package/src/extension/screenshots/journal.png +0 -0
- package/src/extension/screenshots/map-highlighting.png +0 -0
- package/src/extension/screenshots/shop.png +0 -0
- package/src/index.js +266 -0
- package/src/modules/adblock/index.js +22 -0
- package/src/modules/adblock/styles.css +31 -0
- package/src/modules/better-gifts/index.js +568 -0
- package/src/modules/better-gifts/settings/index.js +80 -0
- package/src/modules/better-gifts/styles.css +593 -0
- package/src/modules/better-inventory/index.js +522 -0
- package/src/modules/better-inventory/modules/recipes/index.js +318 -0
- package/src/modules/better-inventory/modules/recipes/styles.css +30 -0
- package/src/modules/better-inventory/settings/index.js +24 -0
- package/src/modules/better-inventory/styles/double-width-item.css +21 -0
- package/src/modules/better-inventory/styles/full-width-item.css +27 -0
- package/src/modules/better-inventory/styles/larger-images.css +17 -0
- package/src/modules/better-inventory/styles/styles.css +704 -0
- package/src/modules/better-inventory/styles/tiny-group.css +83 -0
- package/src/modules/better-item-view/index.js +454 -0
- package/src/modules/better-item-view/modules/hover-item/index.js +211 -0
- package/src/modules/better-item-view/modules/hover-item/styles.css +57 -0
- package/src/modules/better-item-view/settings/index.js +19 -0
- package/src/modules/better-item-view/styles.css +406 -0
- package/src/modules/better-journal/index.js +81 -0
- package/src/modules/better-journal/modules/journal-full-mice-images/index.js +64 -0
- package/src/modules/better-journal/modules/journal-full-mice-images/styles.css +99 -0
- package/src/modules/better-journal/modules/journal-gold-and-points/index.js +57 -0
- package/src/modules/better-journal/modules/journal-gold-and-points/styles.css +21 -0
- package/src/modules/better-journal/modules/journal-highlight-rare-mice/index.js +10 -0
- package/src/modules/better-journal/modules/journal-highlight-rare-mice/styles.css +5 -0
- package/src/modules/better-journal/modules/journal-history/index.js +396 -0
- package/src/modules/better-journal/modules/journal-history/styles.css +36 -0
- package/src/modules/better-journal/modules/journal-icons/index.js +17 -0
- package/src/modules/better-journal/modules/journal-icons/styles.css +58 -0
- package/src/modules/better-journal/modules/journal-icons-minimal/index.js +10 -0
- package/src/modules/better-journal/modules/journal-icons-minimal/styles.css +78 -0
- package/src/modules/better-journal/modules/journal-item-colors/index.js +19 -0
- package/src/modules/better-journal/modules/journal-list/index.js +407 -0
- package/src/modules/better-journal/modules/journal-list/styles.css +29 -0
- package/src/modules/better-journal/modules/journal-replacements/index.js +430 -0
- package/src/modules/better-journal/modules/journal-replacements/styles.css +15 -0
- package/src/modules/better-journal/modules/journal-styles/index.js +89 -0
- package/src/modules/better-journal/modules/journal-styles/styles/backgrounds.css +71 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/aura.css +15 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/badge.css +85 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/base/alchemist-cookbook.css +8 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/base/gem.css +30 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/base/paper.css +3 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/base/ssdb.css +3 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/catch/bonus.css +22 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/catch/catch.css +4 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/catch/failure.css +6 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/catch/lucky.css +4 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/catch/prize.css +8 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/charm/gilded.css +9 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/charm/rift-vacuum.css +8 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/charm/torch.css +18 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/charm/ultimate.css +21 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/charm/unstable.css +28 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/draw-winner.css +19 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/events.css +41 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/gwh.css +3 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/kga.css +16 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/larry-gift.css +25 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/birthday.css +48 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/brift.css +6 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/bwrift.css +13 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/floating-islands.css +12 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/folklore-forest.css +57 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/frift.css +46 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/frox.css +5 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/garden.css +14 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/halloween.css +7 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/harbour.css +11 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/iceberg.css +38 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/labyrinth.css +34 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/mousoleum.css +5 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/queso.css +28 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/school.css +18 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/toxic-spill.css +13 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/vrift.css +12 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/location/wwrift.css +33 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/maps.css +8 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/mouse/glazy.css +10 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/mouse/stuck-snowball.css +3 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/mouse/valentines.css +10 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/other.css +34 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/popup.css +10 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/rank-up.css +57 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/social-gift.css +27 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/tournaments.css +14 -0
- package/src/modules/better-journal/modules/journal-styles/styles/custom-entries/ultimate.css +7 -0
- package/src/modules/better-journal/modules/journal-styles/styles/date-hiding.css +74 -0
- package/src/modules/better-journal/modules/journal-styles/styles/fullstop.css +101 -0
- package/src/modules/better-journal/modules/journal-styles/styles/general.css +321 -0
- package/src/modules/better-journal/modules/journal-styles/styles/progress-log.css +217 -0
- package/src/modules/better-journal/modules/journal-tags/index.js +10 -0
- package/src/modules/better-journal/modules/journal-tags/styles.css +100 -0
- package/src/modules/better-journal/settings/index.js +56 -0
- package/src/modules/better-journal/styles/list-and-icons.css +3 -0
- package/src/modules/better-journal/styles/styles.css +15 -0
- package/src/modules/better-kings-reward/index.js +69 -0
- package/src/modules/better-kings-reward/styles.css +33 -0
- package/src/modules/better-maps/index.js +557 -0
- package/src/modules/better-maps/modules/catch-dates.js +78 -0
- package/src/modules/better-maps/modules/community.js +167 -0
- package/src/modules/better-maps/modules/consolation-prizes.js +30 -0
- package/src/modules/better-maps/modules/draggable-highlight.js +80 -0
- package/src/modules/better-maps/modules/floating-islands.js +209 -0
- package/src/modules/better-maps/modules/highlighting.js +277 -0
- package/src/modules/better-maps/modules/preview.js +66 -0
- package/src/modules/better-maps/modules/scrolls.js +183 -0
- package/src/modules/better-maps/modules/shops.js +170 -0
- package/src/modules/better-maps/modules/sidebar.js +203 -0
- package/src/modules/better-maps/modules/tab-goals.js +816 -0
- package/src/modules/better-maps/modules/tab-hunters.js +323 -0
- package/src/modules/better-maps/modules/tab-invites.js +66 -0
- package/src/modules/better-maps/modules/tab-sorted.js +818 -0
- package/src/modules/better-maps/modules/toggle-ar.js +237 -0
- package/src/modules/better-maps/settings/index.js +32 -0
- package/src/modules/better-maps/styles/catch-dates.css +23 -0
- package/src/modules/better-maps/styles/draggable.css +12 -0
- package/src/modules/better-maps/styles/general.css +1092 -0
- package/src/modules/better-maps/styles/helper.css +29 -0
- package/src/modules/better-maps/styles/highlight-for-map.css +19 -0
- package/src/modules/better-maps/styles/hunters.css +191 -0
- package/src/modules/better-maps/styles/invites.css +50 -0
- package/src/modules/better-maps/styles/map-ar.css +95 -0
- package/src/modules/better-maps/styles/mhct.css +145 -0
- package/src/modules/better-maps/styles/overlays.css +15 -0
- package/src/modules/better-maps/styles/rewards.css +206 -0
- package/src/modules/better-maps/styles/scroll-shop.css +241 -0
- package/src/modules/better-maps/styles/sidebar.css +105 -0
- package/src/modules/better-maps/styles/sorted-map.css +11 -0
- package/src/modules/better-maps/styles/sorted.css +351 -0
- package/src/modules/better-maps/styles/userscripts.css +70 -0
- package/src/modules/better-maps/utils.js +82 -0
- package/src/modules/better-marketplace/index.js +669 -0
- package/src/modules/better-marketplace/settings/index.js +29 -0
- package/src/modules/better-marketplace/styles/quick-sell.css +27 -0
- package/src/modules/better-marketplace/styles/small-images.css +5 -0
- package/src/modules/better-marketplace/styles/styles.css +261 -0
- package/src/modules/better-marketplace/styles/trend-numbers.css +37 -0
- package/src/modules/better-mice/index.js +692 -0
- package/src/modules/better-mice/modules/hover-mice/index.js +236 -0
- package/src/modules/better-mice/modules/hover-mice/styles.css +101 -0
- package/src/modules/better-mice/modules/mouse-page/index.js +559 -0
- package/src/modules/better-mice/modules/sidebar/index.js +110 -0
- package/src/modules/better-mice/modules/sidebar/styles.css +43 -0
- package/src/modules/better-mice/settings/index.js +24 -0
- package/src/modules/better-mice/styles.css +409 -0
- package/src/modules/better-quests/index.js +519 -0
- package/src/modules/better-quests/modules/m400/index.js +139 -0
- package/src/modules/better-quests/settings/index.js +13 -0
- package/src/modules/better-quests/styles.css +223 -0
- package/src/modules/better-send-supplies/index.js +361 -0
- package/src/modules/better-send-supplies/settings/index.js +45 -0
- package/src/modules/better-send-supplies/styles.css +316 -0
- package/src/modules/better-shops/index.js +234 -0
- package/src/modules/better-shops/modules/hide-max-owned/styles.css +10 -0
- package/src/modules/better-shops/modules/quantity-buttons/index.js +56 -0
- package/src/modules/better-shops/modules/quantity-buttons/styles.css +38 -0
- package/src/modules/better-shops/settings/index.js +19 -0
- package/src/modules/better-shops/styles/cost.css +135 -0
- package/src/modules/better-shops/styles/general.css +701 -0
- package/src/modules/better-shops/styles/order.css +21 -0
- package/src/modules/better-shops/styles/retired.css +11 -0
- package/src/modules/better-shops/styles/riftstalker.css +48 -0
- package/src/modules/better-shops/styles/stats.css +71 -0
- package/src/modules/better-tournaments/index.js +282 -0
- package/src/modules/better-tournaments/settings/index.js +12 -0
- package/src/modules/better-tournaments/styles.css +773 -0
- package/src/modules/better-travel/index.js +868 -0
- package/src/modules/better-travel/modules/reminders/index.js +169 -0
- package/src/modules/better-travel/modules/travel-window/index.js +380 -0
- package/src/modules/better-travel/modules/travel-window/styles.css +142 -0
- package/src/modules/better-travel/settings/index.js +34 -0
- package/src/modules/better-travel/styles/explore-map.css +66 -0
- package/src/modules/better-travel/styles/styles.css +421 -0
- package/src/modules/better-travel/styles/travel-menu-hiding.css +4 -0
- package/src/modules/better-travel/utils.js +28 -0
- package/src/modules/better-ui/index.js +71 -0
- package/src/modules/better-ui/modules/adventure-book/index.js +28 -0
- package/src/modules/better-ui/modules/codex-at-bottom/index.js +24 -0
- package/src/modules/better-ui/modules/egg-master/index.js +51 -0
- package/src/modules/better-ui/modules/friends/index.js +141 -0
- package/src/modules/better-ui/modules/hud/index.js +108 -0
- package/src/modules/better-ui/modules/kings-promo/index.js +15 -0
- package/src/modules/better-ui/modules/larger-codices/index.js +10 -0
- package/src/modules/better-ui/modules/larger-codices/styles.css +57 -0
- package/src/modules/better-ui/modules/larger-skin-images/index.js +148 -0
- package/src/modules/better-ui/modules/larger-skin-images/styles.css +21 -0
- package/src/modules/better-ui/modules/legacy-styles/index.js +9 -0
- package/src/modules/better-ui/modules/legacy-styles/styles.css +20 -0
- package/src/modules/better-ui/modules/maintenance/index.js +49 -0
- package/src/modules/better-ui/modules/random-skin-button/index.js +58 -0
- package/src/modules/better-ui/modules/random-skin-button/styles.css +16 -0
- package/src/modules/better-ui/modules/show-unowned-skins/index.js +109 -0
- package/src/modules/better-ui/modules/show-unowned-skins/styles.css +7 -0
- package/src/modules/better-ui/modules/skin-preview-base/index.js +24 -0
- package/src/modules/better-ui/modules/trap-gradient-background/index.js +10 -0
- package/src/modules/better-ui/modules/trap-gradient-background/styles.css +10 -0
- package/src/modules/better-ui/modules/userscripts-styles/index.js +40 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/any-trap-any-skin.css +52 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/favorite-setups.css +4 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/journal-historian.css +14 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/lgs-reminder.css +16 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/profile-plus.css +172 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/spring-egg-hunt-helper.css +5 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/tsitu-autoloader.css +91 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/tsitu-location-catch-stats.css +166 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/tsitu-qol.css +21 -0
- package/src/modules/better-ui/modules/userscripts-styles/styles/tsitu-supply-search.css +33 -0
- package/src/modules/better-ui/settings/index.js +50 -0
- package/src/modules/better-ui/styles/adventure.css +380 -0
- package/src/modules/better-ui/styles/buttons.css +91 -0
- package/src/modules/better-ui/styles/corkboard.css +184 -0
- package/src/modules/better-ui/styles/daily-draw.css +203 -0
- package/src/modules/better-ui/styles/events.css +233 -0
- package/src/modules/better-ui/styles/footer.css +121 -0
- package/src/modules/better-ui/styles/friends.css +232 -0
- package/src/modules/better-ui/styles/general.css +525 -0
- package/src/modules/better-ui/styles/gifts.css +108 -0
- package/src/modules/better-ui/styles/horn.css +51 -0
- package/src/modules/better-ui/styles/hud.css +131 -0
- package/src/modules/better-ui/styles/inbox.css +278 -0
- package/src/modules/better-ui/styles/le.css +28 -0
- package/src/modules/better-ui/styles/legacy.css +25 -0
- package/src/modules/better-ui/styles/login.css +51 -0
- package/src/modules/better-ui/styles/maintence.css +49 -0
- package/src/modules/better-ui/styles/mobile-camp.css +36 -0
- package/src/modules/better-ui/styles/news.css +126 -0
- package/src/modules/better-ui/styles/overlays.css +274 -0
- package/src/modules/better-ui/styles/profile.css +795 -0
- package/src/modules/better-ui/styles/ronza.css +25 -0
- package/src/modules/better-ui/styles/scoreboards.css +50 -0
- package/src/modules/better-ui/styles/scrambles.css +84 -0
- package/src/modules/better-ui/styles/select2.css +47 -0
- package/src/modules/better-ui/styles/settings.css +22 -0
- package/src/modules/better-ui/styles/sidebar.css +15 -0
- package/src/modules/better-ui/styles/skins.css +4 -0
- package/src/modules/better-ui/styles/tabs.css +235 -0
- package/src/modules/better-ui/styles/team.css +177 -0
- package/src/modules/better-ui/styles/timer.css +14 -0
- package/src/modules/better-ui/styles/trap-selector.css +124 -0
- package/src/modules/better-ui/styles/traps.css +643 -0
- package/src/modules/better-ui/styles/tutorial.css +63 -0
- package/src/modules/better-ui/styles/ui-page.css +178 -0
- package/src/modules/big-timer/index.js +42 -0
- package/src/modules/big-timer/legacy-styles.css +19 -0
- package/src/modules/big-timer/styles.css +18 -0
- package/src/modules/catch-rate-estimate/data.js +458 -0
- package/src/modules/catch-rate-estimate/index.js +413 -0
- package/src/modules/catch-rate-estimate/settings/index.js +12 -0
- package/src/modules/catch-rate-estimate/styles.css +213 -0
- package/src/modules/copy-id/index.js +91 -0
- package/src/modules/copy-id/settings/index.js +13 -0
- package/src/modules/copy-id/styles.css +26 -0
- package/src/modules/custom-background/index.js +179 -0
- package/src/modules/custom-background/settings/index.js +60 -0
- package/src/modules/custom-background/styles.css +135 -0
- package/src/modules/custom-camp-background/index.js +83 -0
- package/src/modules/custom-camp-background/settings/index.js +52 -0
- package/src/modules/custom-camp-background/styles.css +57 -0
- package/src/modules/custom-css/index.js +50 -0
- package/src/modules/custom-css/settings/index.js +16 -0
- package/src/modules/custom-horn/index.js +244 -0
- package/src/modules/custom-horn/settings/index.js +60 -0
- package/src/modules/custom-horn/styles.css +107 -0
- package/src/modules/custom-hud/index.js +130 -0
- package/src/modules/custom-hud/settings/index.js +49 -0
- package/src/modules/custom-hud/styles/blueprint.css +13 -0
- package/src/modules/custom-hud/styles/groovy-green.css +6 -0
- package/src/modules/custom-hud/styles/midnight.css +23 -0
- package/src/modules/custom-hud/styles/suede.css +10 -0
- package/src/modules/custom-shield/cotton-candy.css +38 -0
- package/src/modules/custom-shield/index.js +267 -0
- package/src/modules/custom-shield/settings/index.js +156 -0
- package/src/modules/custom-shield/styles.css +423 -0
- package/src/modules/dark-mode-tweaks/index.js +69 -0
- package/src/modules/dark-mode-tweaks/journal-entries.css +17 -0
- package/src/modules/dark-mode-tweaks/styles.css +401 -0
- package/src/modules/data-exporters/exporters/export-favorite-setups-userscript.js +78 -0
- package/src/modules/data-exporters/exporters/export-favorite-setups.js +63 -0
- package/src/modules/data-exporters/exporters/export-inventory.js +115 -0
- package/src/modules/data-exporters/exporters/export-journal-entries.js +61 -0
- package/src/modules/data-exporters/exporters/export-kings-crowns.js +71 -0
- package/src/modules/data-exporters/exporters/export-marketplace.js +112 -0
- package/src/modules/data-exporters/exporters/export-mice.js +287 -0
- package/src/modules/data-exporters/exporters/export-rankup-forecaster.js +51 -0
- package/src/modules/data-exporters/exporters/export-scoreboards.js +100 -0
- package/src/modules/data-exporters/index.js +147 -0
- package/src/modules/data-exporters/styles.css +113 -0
- package/src/modules/data-exporters/utils.js +355 -0
- package/src/modules/debug/index.js +172 -0
- package/src/modules/debug/settings/index.js +53 -0
- package/src/modules/delayed-menus/index.js +19 -0
- package/src/modules/delayed-menus/styles.css +4 -0
- package/src/modules/delayed-tooltips/index.js +36 -0
- package/src/modules/delayed-tooltips/styles.css +12 -0
- package/src/modules/emotes/emotes.json +107 -0
- package/src/modules/emotes/index.js +53 -0
- package/src/modules/emotes/styles.css +3 -0
- package/src/modules/error-reporting/index.js +12 -0
- package/src/modules/experiments/index.js +134 -0
- package/src/modules/experiments/modules/fabled-custom-title/index.js +143 -0
- package/src/modules/experiments/modules/fabled-max-title-progress-bar/index.js +18 -0
- package/src/modules/experiments/modules/fabled-max-title-progress-bar/styles.css +8 -0
- package/src/modules/experiments/modules/fabled-random-title/index.js +814 -0
- package/src/modules/experiments/modules/fabled-random-title/styles.css +9 -0
- package/src/modules/experiments/modules/full-mice-images-no-border/index.js +22 -0
- package/src/modules/experiments/modules/full-mice-images-no-border/styles.css +26 -0
- package/src/modules/experiments/modules/gift-button-opens-gift-selector/index.js +31 -0
- package/src/modules/experiments/modules/memory-game/index.js +100 -0
- package/src/modules/experiments/modules/real-base-stats/index.js +100 -0
- package/src/modules/experiments/modules/settings-options.css +31 -0
- package/src/modules/experiments/modules/sort-daily-draw-reverse/index.js +68 -0
- package/src/modules/experiments/modules/square-profile-pics/index.js +17 -0
- package/src/modules/experiments/modules/square-profile-pics/styles.css +13 -0
- package/src/modules/favorite-setups/index.js +1431 -0
- package/src/modules/favorite-setups/settings/index.js +25 -0
- package/src/modules/favorite-setups/styles.css +471 -0
- package/src/modules/feature-flags/index.js +36 -0
- package/src/modules/feature-flags/modules/fake-fabled.js +7 -0
- package/src/modules/feature-flags/modules/rank-up-forecaster.js +198 -0
- package/src/modules/feature-flags/modules/social.js +37 -0
- package/src/modules/feature-flags/settings/index.js +16 -0
- package/src/modules/fixes/index.js +33 -0
- package/src/modules/fixes/modules/item-page.js +115 -0
- package/src/modules/fixes/modules/marketplace-buy-button.js +17 -0
- package/src/modules/fixes/modules/passing-parcel.js +84 -0
- package/src/modules/fixes/modules/rift-tooltip-quantities.js +30 -0
- package/src/modules/fixes/styles/accessibility.css +20 -0
- package/src/modules/fixes/styles/backgrounds.css +89 -0
- package/src/modules/fixes/styles/bountiful-beanstalk.css +4 -0
- package/src/modules/fixes/styles/buttons.css +3 -0
- package/src/modules/fixes/styles/claim-gift.css +4 -0
- package/src/modules/fixes/styles/colors.css +69 -0
- package/src/modules/fixes/styles/convertibles.css +9 -0
- package/src/modules/fixes/styles/discord.css +4 -0
- package/src/modules/fixes/styles/dropdown.css +23 -0
- package/src/modules/fixes/styles/events.css +3 -0
- package/src/modules/fixes/styles/fb-img-size.css +10 -0
- package/src/modules/fixes/styles/font-sizes.css +8 -0
- package/src/modules/fixes/styles/footer.css +5 -0
- package/src/modules/fixes/styles/hud-shadow.css +8 -0
- package/src/modules/fixes/styles/hunter-title.css +11 -0
- package/src/modules/fixes/styles/image.css +4 -0
- package/src/modules/fixes/styles/labyrinth.css +10 -0
- package/src/modules/fixes/styles/location-names-overflow.css +14 -0
- package/src/modules/fixes/styles/maps.css +15 -0
- package/src/modules/fixes/styles/menu.css +11 -0
- package/src/modules/fixes/styles/news-back.css +17 -0
- package/src/modules/fixes/styles/other.css +14 -0
- package/src/modules/fixes/styles/preferences.css +16 -0
- package/src/modules/fixes/styles/queso.css +4 -0
- package/src/modules/fixes/styles/ronza.css +5 -0
- package/src/modules/fixes/styles/scoreboard.css +5 -0
- package/src/modules/fixes/styles/tabs.css +38 -0
- package/src/modules/fixes/styles/tem.css +10 -0
- package/src/modules/fixes/styles/tooltips.css +24 -0
- package/src/modules/fixes/styles/tutorial-overlay.css +16 -0
- package/src/modules/flrt-helper/index.js +230 -0
- package/src/modules/flrt-helper/styles.css +235 -0
- package/src/modules/global-styles/index.js +21 -0
- package/src/modules/global-styles/styles/animations.css +194 -0
- package/src/modules/global-styles/styles/blueprint.css +11 -0
- package/src/modules/global-styles/styles/buttons.css +88 -0
- package/src/modules/global-styles/styles/favorite-button.css +30 -0
- package/src/modules/global-styles/styles/game-info-bar.css +11 -0
- package/src/modules/global-styles/styles/general.css +55 -0
- package/src/modules/global-styles/styles/horn-message.css +61 -0
- package/src/modules/global-styles/styles/messages.css +49 -0
- package/src/modules/global-styles/styles/settings.css +84 -0
- package/src/modules/global-styles/styles/tooltips.css +22 -0
- package/src/modules/global-styles/styles/trap-qty.css +45 -0
- package/src/modules/global-styles/styles/utility.css +39 -0
- package/src/modules/hide-codices/index.js +22 -0
- package/src/modules/hide-codices/styles.css +4 -0
- package/src/modules/hide-daily-draw/index.js +146 -0
- package/src/modules/hide-daily-draw/styles.css +3 -0
- package/src/modules/hide-daily-reward-popup/index.js +57 -0
- package/src/modules/hide-footer/index.js +37 -0
- package/src/modules/hide-footer/styles.css +10 -0
- package/src/modules/hide-news-ticker/index.js +21 -0
- package/src/modules/hide-news-ticker/styles.css +3 -0
- package/src/modules/hide-share/index.js +26 -0
- package/src/modules/hide-share/styles.css +29 -0
- package/src/modules/hide-sidebar/index.js +106 -0
- package/src/modules/hide-sidebar/styles.css +102 -0
- package/src/modules/hover-profiles/index.js +402 -0
- package/src/modules/hover-profiles/styles.css +247 -0
- package/src/modules/image-upscaling/index.js +375 -0
- package/src/modules/image-upscaling/styles.css +265 -0
- package/src/modules/image-upscaling/views.css +270 -0
- package/src/modules/inline-wiki/index.js +111 -0
- package/src/modules/inline-wiki/styles.css +9 -0
- package/src/modules/inventory-buttons/index.js +163 -0
- package/src/modules/inventory-buttons/settings/index.js +29 -0
- package/src/modules/inventory-buttons/styles/only-open-multiple.css +20 -0
- package/src/modules/inventory-lock-and-hide/index.js +641 -0
- package/src/modules/inventory-lock-and-hide/styles.css +139 -0
- package/src/modules/journal-changer/index.js +321 -0
- package/src/modules/journal-changer/settings/index.js +19 -0
- package/src/modules/journal-changer/styles.css +21 -0
- package/src/modules/journal-privacy/index.js +219 -0
- package/src/modules/journal-privacy/settings/index.js +19 -0
- package/src/modules/journal-privacy/styles/icon.css +31 -0
- package/src/modules/journal-privacy/styles/styles.css +30 -0
- package/src/modules/journal-privacy/styles/transparent.css +30 -0
- package/src/modules/keyboard-shortcuts/actions.js +213 -0
- package/src/modules/keyboard-shortcuts/index.js +521 -0
- package/src/modules/keyboard-shortcuts/styles.css +110 -0
- package/src/modules/legacy-hud/index.js +314 -0
- package/src/modules/legacy-hud/settings/index.js +24 -0
- package/src/modules/legacy-hud/styles/menu.css +19 -0
- package/src/modules/legacy-hud/styles/stats.css +18 -0
- package/src/modules/legacy-hud/styles/styles.css +3 -0
- package/src/modules/legacy-hud/styles/tweaks.css +60 -0
- package/src/modules/lgs-reminder/index.js +229 -0
- package/src/modules/lgs-reminder/settings/index.js +17 -0
- package/src/modules/lgs-reminder/styles.css +85 -0
- package/src/modules/links/index.js +69 -0
- package/src/modules/location-catch-stats/crown-colored-rows.css +47 -0
- package/src/modules/location-catch-stats/index.js +234 -0
- package/src/modules/location-catch-stats/settings/index.js +17 -0
- package/src/modules/location-catch-stats/styles.css +125 -0
- package/src/modules/location-dashboard/index.js +536 -0
- package/src/modules/location-dashboard/locations/afterword-acres.js +18 -0
- package/src/modules/location-dashboard/locations/ancient-city.js +23 -0
- package/src/modules/location-dashboard/locations/bountiful-beanstalk.js +51 -0
- package/src/modules/location-dashboard/locations/desert-oasis.js +22 -0
- package/src/modules/location-dashboard/locations/desert-warpath.js +58 -0
- package/src/modules/location-dashboard/locations/draconic-depths.js +52 -0
- package/src/modules/location-dashboard/locations/epilogue-falls.js +40 -0
- package/src/modules/location-dashboard/locations/floating-islands.js +74 -0
- package/src/modules/location-dashboard/locations/foreword-farm.js +45 -0
- package/src/modules/location-dashboard/locations/fort-rox.js +39 -0
- package/src/modules/location-dashboard/locations/iceberg.js +16 -0
- package/src/modules/location-dashboard/locations/labyrinth.js +38 -0
- package/src/modules/location-dashboard/locations/lost-city.js +28 -0
- package/src/modules/location-dashboard/locations/mousoleum.js +20 -0
- package/src/modules/location-dashboard/locations/moussu-picchu.js +29 -0
- package/src/modules/location-dashboard/locations/pollution-outbreak.js +18 -0
- package/src/modules/location-dashboard/locations/queso-geyser.js +16 -0
- package/src/modules/location-dashboard/locations/rift-bristle-woods.js +28 -0
- package/src/modules/location-dashboard/locations/rift-burroughs.js +14 -0
- package/src/modules/location-dashboard/locations/rift-furoma.js +50 -0
- package/src/modules/location-dashboard/locations/rift-valour.js +30 -0
- package/src/modules/location-dashboard/locations/sand-dunes.js +21 -0
- package/src/modules/location-dashboard/locations/school-of-sorcery.js +29 -0
- package/src/modules/location-dashboard/locations/seasonal-garden.js +46 -0
- package/src/modules/location-dashboard/locations/sunken-city.js +25 -0
- package/src/modules/location-dashboard/locations/table-of-contents.js +20 -0
- package/src/modules/location-dashboard/locations/whisker-woods-rift.js +15 -0
- package/src/modules/location-dashboard/locations/zugzwang-tower.js +81 -0
- package/src/modules/location-dashboard/styles.css +389 -0
- package/src/modules/location-huds/index.js +261 -0
- package/src/modules/location-huds/locations/acolyte-realm/index.js +13 -0
- package/src/modules/location-huds/locations/afterword-acres/index.js +14 -0
- package/src/modules/location-huds/locations/afterword-acres/styles.css +21 -0
- package/src/modules/location-huds/locations/ancient-city/index.js +197 -0
- package/src/modules/location-huds/locations/ancient-city/styles.css +251 -0
- package/src/modules/location-huds/locations/balacks-cove/index.js +81 -0
- package/src/modules/location-huds/locations/balacks-cove/styles.css +12 -0
- package/src/modules/location-huds/locations/bazaar/index.js +8 -0
- package/src/modules/location-huds/locations/bountiful-beanstalk/index.js +309 -0
- package/src/modules/location-huds/locations/bountiful-beanstalk/small-inv.css +34 -0
- package/src/modules/location-huds/locations/bountiful-beanstalk/styles.css +608 -0
- package/src/modules/location-huds/locations/calm-clearing/index.js +8 -0
- package/src/modules/location-huds/locations/cape-clawed/index.js +12 -0
- package/src/modules/location-huds/locations/catacombs/index.js +17 -0
- package/src/modules/location-huds/locations/claw-shot-city/index.js +10 -0
- package/src/modules/location-huds/locations/claw-shot-city/styles.css +5 -0
- package/src/modules/location-huds/locations/conclusion-cliffs/index.js +14 -0
- package/src/modules/location-huds/locations/conclusion-cliffs/styles.css +114 -0
- package/src/modules/location-huds/locations/derr-dunes/index.js +8 -0
- package/src/modules/location-huds/locations/desert-city/index.js +10 -0
- package/src/modules/location-huds/locations/desert-city/styles.css +13 -0
- package/src/modules/location-huds/locations/desert-warpath/index.js +212 -0
- package/src/modules/location-huds/locations/desert-warpath/styles.css +273 -0
- package/src/modules/location-huds/locations/dojo/index.js +8 -0
- package/src/modules/location-huds/locations/dracano/index.js +8 -0
- package/src/modules/location-huds/locations/draconic-depths/index.js +143 -0
- package/src/modules/location-huds/locations/draconic-depths/styles.css +222 -0
- package/src/modules/location-huds/locations/elub-shore/index.js +8 -0
- package/src/modules/location-huds/locations/epilogue-falls/index.js +101 -0
- package/src/modules/location-huds/locations/epilogue-falls/styles.css +312 -0
- package/src/modules/location-huds/locations/event-locations/birthday/index.js +88 -0
- package/src/modules/location-huds/locations/event-locations/birthday/styles.css +341 -0
- package/src/modules/location-huds/locations/event-locations/great-winter-hunt/global.css +251 -0
- package/src/modules/location-huds/locations/event-locations/great-winter-hunt/index.js +425 -0
- package/src/modules/location-huds/locations/event-locations/great-winter-hunt/styles.css +887 -0
- package/src/modules/location-huds/locations/event-locations/halloween/index.js +45 -0
- package/src/modules/location-huds/locations/event-locations/halloween/spooky-shuffle-tracker/index.js +118 -0
- package/src/modules/location-huds/locations/event-locations/halloween/spooky-shuffle-tracker/styles.css +33 -0
- package/src/modules/location-huds/locations/event-locations/halloween/styles.css +605 -0
- package/src/modules/location-huds/locations/event-locations/index.js +54 -0
- package/src/modules/location-huds/locations/event-locations/lunar-new-year/index.js +176 -0
- package/src/modules/location-huds/locations/event-locations/lunar-new-year/styles.css +263 -0
- package/src/modules/location-huds/locations/event-locations/ronza/index.js +111 -0
- package/src/modules/location-huds/locations/event-locations/ronza/styles.css +144 -0
- package/src/modules/location-huds/locations/event-locations/shared.js +67 -0
- package/src/modules/location-huds/locations/event-locations/spring-egg-hunt/index.js +128 -0
- package/src/modules/location-huds/locations/event-locations/spring-egg-hunt/styles.css +196 -0
- package/src/modules/location-huds/locations/floating-islands/index.js +552 -0
- package/src/modules/location-huds/locations/floating-islands/styles.css +792 -0
- package/src/modules/location-huds/locations/forbidden-grove/index.js +75 -0
- package/src/modules/location-huds/locations/forbidden-grove/styles.css +16 -0
- package/src/modules/location-huds/locations/foreword-farm/index.js +84 -0
- package/src/modules/location-huds/locations/foreword-farm/styles.css +376 -0
- package/src/modules/location-huds/locations/fort-rox/index.js +249 -0
- package/src/modules/location-huds/locations/fort-rox/styles.css +257 -0
- package/src/modules/location-huds/locations/fungal-cavern/index.js +10 -0
- package/src/modules/location-huds/locations/fungal-cavern/styles.css +77 -0
- package/src/modules/location-huds/locations/great-gnarled-tree/index.js +8 -0
- package/src/modules/location-huds/locations/harbour/index.js +10 -0
- package/src/modules/location-huds/locations/harbour/styles.css +32 -0
- package/src/modules/location-huds/locations/iceberg/index.js +469 -0
- package/src/modules/location-huds/locations/iceberg/styles/bob-iceberg.css +57 -0
- package/src/modules/location-huds/locations/iceberg/styles/styles.css +329 -0
- package/src/modules/location-huds/locations/jungle-of-dread/index.js +17 -0
- package/src/modules/location-huds/locations/kings-arms/index.js +8 -0
- package/src/modules/location-huds/locations/kings-gauntlet/index.js +17 -0
- package/src/modules/location-huds/locations/laboratory/index.js +10 -0
- package/src/modules/location-huds/locations/laboratory/styles.css +41 -0
- package/src/modules/location-huds/locations/labyrinth/index.js +315 -0
- package/src/modules/location-huds/locations/labyrinth/styles.css +547 -0
- package/src/modules/location-huds/locations/lagoon/index.js +8 -0
- package/src/modules/location-huds/locations/meditation-room/index.js +12 -0
- package/src/modules/location-huds/locations/mountain/index.js +10 -0
- package/src/modules/location-huds/locations/mountain/styles.css +259 -0
- package/src/modules/location-huds/locations/mousoleum/index.js +17 -0
- package/src/modules/location-huds/locations/mousoleum/styles.css +21 -0
- package/src/modules/location-huds/locations/moussu-picchu/index.js +10 -0
- package/src/modules/location-huds/locations/moussu-picchu/styles.css +243 -0
- package/src/modules/location-huds/locations/nerg-plains/index.js +8 -0
- package/src/modules/location-huds/locations/pinnacle-chamber/index.js +11 -0
- package/src/modules/location-huds/locations/pollution-outbreak/index.js +32 -0
- package/src/modules/location-huds/locations/pollution-outbreak/styles.css +516 -0
- package/src/modules/location-huds/locations/prologue-pond/index.js +64 -0
- package/src/modules/location-huds/locations/prologue-pond/styles.css +138 -0
- package/src/modules/location-huds/locations/region-living-garden/index.js +36 -0
- package/src/modules/location-huds/locations/region-living-garden/styles.css +316 -0
- package/src/modules/location-huds/locations/region-queso/index.js +10 -0
- package/src/modules/location-huds/locations/region-queso/styles.css +366 -0
- package/src/modules/location-huds/locations/rift-bristle-woods/index.js +29 -0
- package/src/modules/location-huds/locations/rift-bristle-woods/styles.css +268 -0
- package/src/modules/location-huds/locations/rift-burroughs/index.js +157 -0
- package/src/modules/location-huds/locations/rift-burroughs/styles.css +272 -0
- package/src/modules/location-huds/locations/rift-furoma/index.js +79 -0
- package/src/modules/location-huds/locations/rift-furoma/styles.css +233 -0
- package/src/modules/location-huds/locations/rift-gnawnia/index.js +10 -0
- package/src/modules/location-huds/locations/rift-gnawnia/styles.css +83 -0
- package/src/modules/location-huds/locations/rift-valour/flipped-avatar.css +15 -0
- package/src/modules/location-huds/locations/rift-valour/index.js +271 -0
- package/src/modules/location-huds/locations/rift-valour/simulator.js +559 -0
- package/src/modules/location-huds/locations/rift-valour/styles.css +644 -0
- package/src/modules/location-huds/locations/rift-whisker-woods/index.js +86 -0
- package/src/modules/location-huds/locations/rift-whisker-woods/styles.css +214 -0
- package/src/modules/location-huds/locations/school-of-sorcery/clean-chalkboard.css +11 -0
- package/src/modules/location-huds/locations/school-of-sorcery/index.js +109 -0
- package/src/modules/location-huds/locations/school-of-sorcery/styles.css +460 -0
- package/src/modules/location-huds/locations/seasonal-garden/index.js +71 -0
- package/src/modules/location-huds/locations/seasonal-garden/styles.css +132 -0
- package/src/modules/location-huds/locations/slushy-shoreline/index.js +8 -0
- package/src/modules/location-huds/locations/ss-huntington-ii/index.js +8 -0
- package/src/modules/location-huds/locations/sunken-city/index.js +177 -0
- package/src/modules/location-huds/locations/sunken-city/styles.css +196 -0
- package/src/modules/location-huds/locations/table-of-contents/index.js +389 -0
- package/src/modules/location-huds/locations/table-of-contents/simulator-styles.css +240 -0
- package/src/modules/location-huds/locations/table-of-contents/simulator.js +276 -0
- package/src/modules/location-huds/locations/table-of-contents/styles.css +403 -0
- package/src/modules/location-huds/locations/tournament-hall/index.js +8 -0
- package/src/modules/location-huds/locations/town-of-digby/index.js +8 -0
- package/src/modules/location-huds/locations/town-of-gnawnia/index.js +10 -0
- package/src/modules/location-huds/locations/town-of-gnawnia/styles.css +48 -0
- package/src/modules/location-huds/locations/train-station/index.js +10 -0
- package/src/modules/location-huds/locations/train-station/styles.css +31 -0
- package/src/modules/location-huds/locations/windmill/index.js +53 -0
- package/src/modules/location-huds/locations/windmill/styles.css +73 -0
- package/src/modules/location-huds/locations/zugzwang-tower/index.js +10 -0
- package/src/modules/location-huds/locations/zugzwang-tower/styles.css +54 -0
- package/src/modules/location-huds/settings.js +124 -0
- package/src/modules/location-huds/shared/cheese-selectors/index.js +143 -0
- package/src/modules/location-huds/shared/crafting-buttons/index.js +133 -0
- package/src/modules/location-huds/shared/crafting-buttons/styles.css +51 -0
- package/src/modules/location-huds/shared/folklore-forest/index.js +261 -0
- package/src/modules/location-huds/shared/folklore-forest/keep-inventory-open.js +77 -0
- package/src/modules/location-huds/shared/folklore-forest/styles.css +394 -0
- package/src/modules/location-huds/styles.css +61 -0
- package/src/modules/location-huds/toggle-icon.js +74 -0
- package/src/modules/metric/index.js +114 -0
- package/src/modules/native-dark-mode/index.js +79 -0
- package/src/modules/native-dark-mode/settings/index.js +15 -0
- package/src/modules/native-dark-mode/styles/_root.css +42 -0
- package/src/modules/native-dark-mode/styles/adventure.css +95 -0
- package/src/modules/native-dark-mode/styles/camp-tabs.css +113 -0
- package/src/modules/native-dark-mode/styles/camp-trap.css +420 -0
- package/src/modules/native-dark-mode/styles/conflict-popup.css +39 -0
- package/src/modules/native-dark-mode/styles/events.css +7 -0
- package/src/modules/native-dark-mode/styles/favorite-setups.css +12 -0
- package/src/modules/native-dark-mode/styles/friends.css +210 -0
- package/src/modules/native-dark-mode/styles/general.css +231 -0
- package/src/modules/native-dark-mode/styles/gifts.css +243 -0
- package/src/modules/native-dark-mode/styles/header-dropdown.css +62 -0
- package/src/modules/native-dark-mode/styles/header.css +100 -0
- package/src/modules/native-dark-mode/styles/hover-items.css +30 -0
- package/src/modules/native-dark-mode/styles/inbox.css +85 -0
- package/src/modules/native-dark-mode/styles/inventory.css +271 -0
- package/src/modules/native-dark-mode/styles/item-view.css +42 -0
- package/src/modules/native-dark-mode/styles/journal-main.css +115 -0
- package/src/modules/native-dark-mode/styles/journal-misc-entries.css +118 -0
- package/src/modules/native-dark-mode/styles/journal-preview.css +37 -0
- package/src/modules/native-dark-mode/styles/kings-calibrator.css +53 -0
- package/src/modules/native-dark-mode/styles/loading.css +58 -0
- package/src/modules/native-dark-mode/styles/location-catch-stats.css +31 -0
- package/src/modules/native-dark-mode/styles/maps.css +597 -0
- package/src/modules/native-dark-mode/styles/markethunt.css +41 -0
- package/src/modules/native-dark-mode/styles/marketplace.css +278 -0
- package/src/modules/native-dark-mode/styles/mice-images.css +10 -0
- package/src/modules/native-dark-mode/styles/mice.css +262 -0
- package/src/modules/native-dark-mode/styles/mouse-view.css +44 -0
- package/src/modules/native-dark-mode/styles/news.css +40 -0
- package/src/modules/native-dark-mode/styles/overlays.css +227 -0
- package/src/modules/native-dark-mode/styles/page.css +13 -0
- package/src/modules/native-dark-mode/styles/premium.css +7 -0
- package/src/modules/native-dark-mode/styles/profile.css +243 -0
- package/src/modules/native-dark-mode/styles/progress-log.css +25 -0
- package/src/modules/native-dark-mode/styles/quests.css +29 -0
- package/src/modules/native-dark-mode/styles/scoreboards.css +66 -0
- package/src/modules/native-dark-mode/styles/select2.css +65 -0
- package/src/modules/native-dark-mode/styles/send-supplies.css +88 -0
- package/src/modules/native-dark-mode/styles/settings.css +172 -0
- package/src/modules/native-dark-mode/styles/shops.css +114 -0
- package/src/modules/native-dark-mode/styles/sidebar.css +56 -0
- package/src/modules/native-dark-mode/styles/tabs.css +17 -0
- package/src/modules/native-dark-mode/styles/team.css +58 -0
- package/src/modules/native-dark-mode/styles/travel.css +102 -0
- package/src/modules/native-dark-mode/styles/userscripts.css +38 -0
- package/src/modules/onboarding/index.js +44 -0
- package/src/modules/onboarding/styles.css +13 -0
- package/src/modules/paste-hunter-id/index.js +82 -0
- package/src/modules/prestige-base-stats/index.js +242 -0
- package/src/modules/printing-press-paper-counter/index.js +24 -0
- package/src/modules/quick-filters-and-sort/index.js +280 -0
- package/src/modules/quick-filters-and-sort/styles.css +146 -0
- package/src/modules/quick-send-supplies/index.js +358 -0
- package/src/modules/quick-send-supplies/settings/index.js +40 -0
- package/src/modules/quick-send-supplies/styles.css +185 -0
- package/src/modules/replace-favicon/index.js +51 -0
- package/src/modules/required/global-utils.js +9 -0
- package/src/modules/required/index.js +251 -0
- package/src/modules/scoreboard-search-on-profiles/index.js +161 -0
- package/src/modules/scoreboard-search-on-profiles/styles.css +25 -0
- package/src/modules/settings/icons.css +233 -0
- package/src/modules/settings/index.js +653 -0
- package/src/modules/settings/settings/index.js +16 -0
- package/src/modules/settings/styles.css +635 -0
- package/src/modules/shield-goes-to-camp/index.js +31 -0
- package/src/modules/show-adventure-book/index.js +31 -0
- package/src/modules/show-adventure-book/styles.css +6 -0
- package/src/modules/show-auras/index.js +252 -0
- package/src/modules/show-auras/settings/index.js +19 -0
- package/src/modules/show-auras/styles/grid.css +48 -0
- package/src/modules/show-auras/styles/icons.css +22 -0
- package/src/modules/show-auras/styles/list.css +49 -0
- package/src/modules/show-auras/styles/styles.css +23 -0
- package/src/modules/ssdb-toothlet-counter/index.js +24 -0
- package/src/modules/taller-windows/index.js +22 -0
- package/src/modules/taller-windows/styles.css +137 -0
- package/src/modules/tem-crowns/index.js +127 -0
- package/src/modules/tem-crowns/styles.css +106 -0
- package/src/modules/trap-selector-special-effects/index.js +75 -0
- package/src/modules/ultimate-checkmark/index.js +391 -0
- package/src/modules/ultimate-checkmark/settings/index.js +40 -0
- package/src/modules/ultimate-checkmark/styles.css +12 -0
- package/src/modules/unique-loot-count/index.js +59 -0
- package/src/modules/unique-loot-count/styles.css +3 -0
- package/src/modules/update-notifications/index.js +95 -0
- package/src/modules/update-notifications/styles.css +181 -0
- package/src/modules/user-highlighting/index.js +130 -0
- package/src/modules/user-highlighting/profile.css +374 -0
- package/src/modules/user-highlighting/styles.css +34 -0
- package/src/modules/wisdom-in-stat-bar/index.js +170 -0
- package/src/modules/wisdom-in-stat-bar/settings/index.js +12 -0
- package/src/modules/wisdom-in-stat-bar/styles.css +3 -0
- package/src/updates/index.js +168 -0
- package/src/updates/versions/.gitkeep +0 -0
- package/src/updates/versions/0.93.0.js +39 -0
- package/src/updates/versions/0.93.3.js +8 -0
- package/src/updates/versions/0.94.0.js +8 -0
- package/src/utils/blueprint.js +74 -0
- package/src/utils/data.js +559 -0
- package/src/utils/db.js +206 -0
- package/src/utils/debug.js +72 -0
- package/src/utils/draggable.js +141 -0
- package/src/utils/elements.js +650 -0
- package/src/utils/event-registry.js +102 -0
- package/src/utils/events.js +698 -0
- package/src/utils/flags.js +39 -0
- package/src/utils/global.js +37 -0
- package/src/utils/horn.js +187 -0
- package/src/utils/humanizer.js +62 -0
- package/src/utils/index.js +28 -0
- package/src/utils/journal.js +222 -0
- package/src/utils/json.js +32 -0
- package/src/utils/links.js +343 -0
- package/src/utils/location-current.js +23 -0
- package/src/utils/location.js +70 -0
- package/src/utils/maps.js +699 -0
- package/src/utils/messages.js +255 -0
- package/src/utils/onboarding.js +102 -0
- package/src/utils/page-current.js +26 -0
- package/src/utils/page.js +155 -0
- package/src/utils/settings-markup.js +907 -0
- package/src/utils/settings.js +260 -0
- package/src/utils/shared/fiery-warpath.js +88 -0
- package/src/utils/shared/memory-game.js +231 -0
- package/src/utils/shared/trap-quantity.js +232 -0
- package/src/utils/styles/errors.css +50 -0
- package/src/utils/styles/memory-game.css +227 -0
- package/src/utils/styles/page-error.css +145 -0
- package/src/utils/styles/page-maintenance.css +150 -0
- package/src/utils/styles.js +209 -0
- package/src/utils/templates.js +170 -0
- package/src/utils/user.js +375 -0
- package/src/utils/utils.js +534 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# [Location Dashboard](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-location-dashboard)
|
|
2
|
+
|
|
3
|
+
Adds a "Dashboard" menu to the top menu bar that will show you the important details of each location.
|
|
4
|
+
|
|
5
|
+
## Supported Locations
|
|
6
|
+
|
|
7
|
+
- Bountiful Beanstalk
|
|
8
|
+
- Current room type
|
|
9
|
+
- Embellishments
|
|
10
|
+
- Noise
|
|
11
|
+
- Hunts remaining
|
|
12
|
+
- Bristle Woods Rift
|
|
13
|
+
- Current room
|
|
14
|
+
- Loot progress
|
|
15
|
+
- Total Time Sand
|
|
16
|
+
- Burroughs Rift
|
|
17
|
+
- Mist level
|
|
18
|
+
- Fiery Warpath
|
|
19
|
+
- Current wave
|
|
20
|
+
- Current streak
|
|
21
|
+
- Mice remaining
|
|
22
|
+
- Floating Islands
|
|
23
|
+
- Current island
|
|
24
|
+
- Current island tiles
|
|
25
|
+
- Hunts remaining
|
|
26
|
+
- Foreword Farm
|
|
27
|
+
- Plants growing
|
|
28
|
+
- Fort Rox
|
|
29
|
+
- Phase of night
|
|
30
|
+
- Wall HP
|
|
31
|
+
- Furoma Rift
|
|
32
|
+
- Whether you are inside the pagoda
|
|
33
|
+
- Battery level
|
|
34
|
+
- Enerchi amount
|
|
35
|
+
- Iceberg
|
|
36
|
+
- Phase
|
|
37
|
+
- Number of feet
|
|
38
|
+
- Number of hunts taken
|
|
39
|
+
- Labyrinth
|
|
40
|
+
- Hallway
|
|
41
|
+
- Number of clues
|
|
42
|
+
- Living Garden
|
|
43
|
+
- Twisted or normal state
|
|
44
|
+
- Current pouring progress
|
|
45
|
+
- Lost City
|
|
46
|
+
- Curses
|
|
47
|
+
- Mousoleum
|
|
48
|
+
- Whether you have a wall or not
|
|
49
|
+
- Wall HP
|
|
50
|
+
- Moussu Picchu
|
|
51
|
+
- Storm level
|
|
52
|
+
- Rain level and percentage
|
|
53
|
+
- Wind level and percentage
|
|
54
|
+
- Queso Geyser
|
|
55
|
+
- Eruption type
|
|
56
|
+
- Hunts remaining
|
|
57
|
+
- Sand Dunes
|
|
58
|
+
- Whether or not you have a Stampede
|
|
59
|
+
- School of Sorcery
|
|
60
|
+
- Current course power type
|
|
61
|
+
- Hunts remaining
|
|
62
|
+
- Seasonal Garden
|
|
63
|
+
- Amplifier percentage
|
|
64
|
+
- Sunken City
|
|
65
|
+
- Zone
|
|
66
|
+
- Depth
|
|
67
|
+
- Oxygen remaining
|
|
68
|
+
- Table of Contents
|
|
69
|
+
- Current book type
|
|
70
|
+
- Current words written
|
|
71
|
+
- Hunts remaining
|
|
72
|
+
- Toxic Spill
|
|
73
|
+
- Crude Pollutinum capacity
|
|
74
|
+
- Max Pollutinum capacity
|
|
75
|
+
- Refined Pollutinum
|
|
76
|
+
- Valour Rift
|
|
77
|
+
- Floor number and name
|
|
78
|
+
- Hunts Remaining
|
|
79
|
+
- Speed stat level
|
|
80
|
+
- Sync stat level
|
|
81
|
+
- Siphon stat level
|
|
82
|
+
- Whisker Woods Rift
|
|
83
|
+
- Rage levels
|
|
84
|
+
- Zokor
|
|
85
|
+
- Current district
|
|
86
|
+
- Stealth remaining
|
|
87
|
+
- Zugzwang's Tower
|
|
88
|
+
- Mystic progress
|
|
89
|
+
- Technic progress
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# [Lucky Golden Shield Duration & Reminder](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-lgs-reminder)
|
|
2
|
+
|
|
3
|
+
Easily see how much time is left on your Lucky Golden Shield, right in your HUD.
|
|
4
|
+
|
|
5
|
+
## Options
|
|
6
|
+
|
|
7
|
+
- **Use new layout style**: Choose a different visual style for the timer display.
|
|
8
|
+
- **Display time in days only**: See the remaining time in days instead of weeks or months for easier tracking.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# [Paste Hunter ID](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-paste-hunter-id)
|
|
2
|
+
|
|
3
|
+
Copy a Hunter ID to your clipboard and then press 'Ctrl/Cmd+v' anywhere to go directly to that hunter's profile.
|
|
4
|
+
|
|
5
|
+
Will navigate to the profile if the value in your clipboard is a number or if it's a url directly to a hunter's profile.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# [Printing Press Paper Counter](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-printing-press-paper-counter)
|
|
2
|
+
|
|
3
|
+
Shows the number of Prolific Printing Papers on the Folklore Printing Press Base and Naughty List Printing Press Base in the trap selector and UI.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# [Quick Filters and Sort](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-quick-filters-and-sort)
|
|
2
|
+
|
|
3
|
+
Quickly filter and sort your trap, base, charm, and cheese selectors for faster setup changes.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Adds one-click filters to the Trap and Base selectors to show only specific power types.
|
|
8
|
+
- Adds one-click sorting to the Trap, Base, Charm, and Cheese selectors by Power, Power Bonus, Luck, Attraction Bonus, name, or quantity owned (for cheese and charms).
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# [Quick Send Supplies](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-quick-send-supplies)
|
|
2
|
+
|
|
3
|
+
Send supplies to friends faster with a quick-access menu and favorite items.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Hover over any Send Supplies button (including those in Hover Profiles) to quickly pick an item, enter a quantity, and send it instantly
|
|
8
|
+
- Set up to four favorite items to always appear in the quick send menu for even faster access
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# [Shield Goes to Camp](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-shield-goes-to-camp)
|
|
2
|
+
|
|
3
|
+
On any page that isn't the Camp page, clicking the shield will take you to the Camp page, otherwise it will take your to your Hunter Profile.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# [Show Adventure Book](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-show-adventure-book)
|
|
2
|
+
|
|
3
|
+
Add an Adventure Book button to the Kingdom dropdown menu.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Adds an `Adventure Book` menu item under the Kingdom menu to open the Adventure Book popup.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# [Show Auras](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-show-auras)
|
|
2
|
+
|
|
3
|
+
See all your active auras and their expiry times right below your trap stats.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Displays all active auras with their remaining duration
|
|
8
|
+
- Shows aura icons and names for easy identification
|
|
9
|
+
|
|
10
|
+
## Options
|
|
11
|
+
|
|
12
|
+
- **Show Auras as a List**: Displays auras in a vertical list format.
|
|
13
|
+
- **Show auras as icons**: Only displays the aura icons without text.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# [SSDB Toothlet Counter](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-ssdb-teeth-counter)
|
|
2
|
+
|
|
3
|
+
Shows the number of Ful'mina's Charged Toothlets on the Denture Base and Signature Series Denture Base in the trap selector and UI.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# [Trap Selector Special Effects](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-trap-selector-special-effects)
|
|
2
|
+
|
|
3
|
+
Easily spot items in the trap selector that have special effects.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Adds a visual indicator to items in the trap selector that have unique or special effects.
|
|
8
|
+
- Helps you quickly identify and choose items with bonuses or special properties.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# [Ultimate Checkmark](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-ultimate-checkmark-show)
|
|
2
|
+
|
|
3
|
+
Adds more things to be collected on the items view of your Hunter profile.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Adds new categories to the items view of your Hunter profile, so you can see your progress on more collectibles.
|
|
8
|
+
- Categories are Airships, Currency, Equipment, Plankrun Pages, and Treasure Chests. You can disable any of these categories if you don't want to see them.
|
|
9
|
+
- Makes it easier to see what you've collected and what you still need.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# [Unique Loot Count](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-unique-loot-count)
|
|
2
|
+
|
|
3
|
+
See how many unique loot items you've collected in your progress logs.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Displays a count of unique loot items in a progress log.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# [Wisdom in Stat Bar](https://www.mousehuntgame.com/preferences.php?tab=mousehunt-improved-settings#mousehunt-improved-settings-feature-wisdom-in-stat-bar)
|
|
2
|
+
|
|
3
|
+
See your [wisdom](https://mhwiki.hitgrab.com/wiki/index.php/Wisdom) value directly in the stat bar for quick reference.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Adds your current wisdom to the stat bar so you can always see it at a glance.
|
|
8
|
+
- Makes it easier to track your progress toward new titles and bonuses.
|
|
9
|
+
|
|
10
|
+
## Options
|
|
11
|
+
|
|
12
|
+
- **Update automatically**: If enabled, your wisdom value updates automatically; otherwise, it updates when you click the stat bar.
|
package/jsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es2024",
|
|
4
|
+
"module": "es6",
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"lib": ["DOM", "ESNext"],
|
|
7
|
+
"paths": {
|
|
8
|
+
"@/*": ["./src/modules/*"],
|
|
9
|
+
"@utils/*": ["./src/utils/"],
|
|
10
|
+
"@utils/shared/*": ["./src/utils/shared/*"],
|
|
11
|
+
"@utils": ["./src/utils/index.js"],
|
|
12
|
+
"@data/*": ["./src/data/*"]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"include": ["src/**/*"],
|
|
16
|
+
"exclude": ["node_modules", "dist"]
|
|
17
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mousehunt-improved",
|
|
3
|
+
"version": "0.97.1",
|
|
4
|
+
"description": "Improve your MouseHunt experience.",
|
|
5
|
+
"author": "Brad Parbs <brad@bradparbs.com> (https://bradparbs.com/)",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://github.com/MHCommunity/mousehunt-improved",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/MHCommunity/mousehunt-improved.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/MHCommunity/mousehunt-improved/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"mousehunt",
|
|
17
|
+
"userscript",
|
|
18
|
+
"extension",
|
|
19
|
+
"chrome",
|
|
20
|
+
"firefox"
|
|
21
|
+
],
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=16"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build:archive": "bun run scripts/build.mjs archive",
|
|
27
|
+
"build:css": "bun run scripts/build.mjs css",
|
|
28
|
+
"build:extension:chrome": "bun run scripts/build.mjs chrome",
|
|
29
|
+
"build:extension:firefox": "bun run scripts/build.mjs firefox",
|
|
30
|
+
"build:extension": "bun run scripts/build.mjs extension",
|
|
31
|
+
"build:quick": "bun run scripts/build.mjs all --skip-external-files",
|
|
32
|
+
"build:userscript": "bun run scripts/build.mjs userscript",
|
|
33
|
+
"build:zips": "bun run scripts/build.mjs zips",
|
|
34
|
+
"build": "bun run scripts/build.mjs all",
|
|
35
|
+
"clean": "del-cli dist",
|
|
36
|
+
"dev:chrome": "bun run scripts/build-extension.mjs --platform=chrome --watch",
|
|
37
|
+
"dev:firefox": "bun run scripts/build-extension.mjs --platform=firefox --watch",
|
|
38
|
+
"dev": "bun run scripts/build-extension.mjs --platform=chrome --watch",
|
|
39
|
+
"fix-map-groups": "bun run scripts/fix-map-groups.mjs",
|
|
40
|
+
"get-changelog": "bun run scripts/get-changelog.mjs",
|
|
41
|
+
"get-version": "bun run scripts/get-version.mjs",
|
|
42
|
+
"lint:css:fix": "stylelint 'src/**/*.css' --fix --cache --config .stylelintrc.json",
|
|
43
|
+
"lint:css": "stylelint 'src/**/*.css' --cache --config .stylelintrc.json",
|
|
44
|
+
"lint:fix": "concurrently \"bun:lint:*:fix\"",
|
|
45
|
+
"lint:js:fix": "eslint 'src/**/*.js' --fix --cache ",
|
|
46
|
+
"lint:js": "eslint 'src/**/*.js' --cache ",
|
|
47
|
+
"lint:json:fix": "eslint 'src/**/*.json' --fix",
|
|
48
|
+
"lint:json": "eslint 'src/**/*.json'",
|
|
49
|
+
"lint:md:fix": "eslint --config .eslintrc.markdown.json 'docs/**/*.md' --fix",
|
|
50
|
+
"lint:md": "eslint --config .eslintrc.markdown.json 'docs/**/*.md'",
|
|
51
|
+
"lint:scripts:fix": "eslint scripts/**/*.mjs --fix",
|
|
52
|
+
"lint:scripts": "eslint scripts/**/*.mjs",
|
|
53
|
+
"lint": "concurrently \"bun:lint:*(!fix|md)\"",
|
|
54
|
+
"release:publish": "./scripts/release --publish",
|
|
55
|
+
"release": "./scripts/release"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@babel/runtime": "^7.29.7",
|
|
59
|
+
"@sentry/browser": "^10.57.0",
|
|
60
|
+
"caniuse-lite": "^1.0.30001799"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@sentry/cli": "^3.5.0",
|
|
64
|
+
"@sprout2000/esbuild-copy-plugin": "^1.1.19",
|
|
65
|
+
"@wordpress/eslint-plugin": "^24.5.0",
|
|
66
|
+
"archiver": "^7.0.1",
|
|
67
|
+
"chalk": "^5.6.2",
|
|
68
|
+
"chrome-webstore-upload-cli": "^3.5.0",
|
|
69
|
+
"concurrently": "^9.2.1",
|
|
70
|
+
"del-cli": "^7.0.0",
|
|
71
|
+
"esbuild": "^0.27.7",
|
|
72
|
+
"eslint": "8.57.0",
|
|
73
|
+
"eslint-config-prettier": "^9.1.2",
|
|
74
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
75
|
+
"eslint-plugin-import": "^2.32.0",
|
|
76
|
+
"eslint-plugin-import-newlines": "^1.4.1",
|
|
77
|
+
"eslint-plugin-jsdoc": "^48.11.0",
|
|
78
|
+
"eslint-plugin-json": "^3.1.0",
|
|
79
|
+
"eslint-plugin-markdownlint": "^0.5.0",
|
|
80
|
+
"eslint-plugin-package-json": "^0.12.2",
|
|
81
|
+
"eslint-plugin-promise": "^6.6.0",
|
|
82
|
+
"eslint-plugin-require-jsdoc": "^1.0.4",
|
|
83
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
84
|
+
"fast-glob": "^3.3.3",
|
|
85
|
+
"json-minify": "^1.0.0",
|
|
86
|
+
"jsonc-eslint-parser": "^2.4.2",
|
|
87
|
+
"node-fetch": "^3.3.2",
|
|
88
|
+
"ora": "^9.4.0",
|
|
89
|
+
"prettier": "^3.8.4",
|
|
90
|
+
"pretty-ms": "^9.3.0",
|
|
91
|
+
"stylelint": "15.11.0",
|
|
92
|
+
"stylelint-config-recess-order": "^4.6.0",
|
|
93
|
+
"stylelint-config-recommended": "13.0.0",
|
|
94
|
+
"stylelint-config-standard": "34.0.0",
|
|
95
|
+
"stylelint-order": "6.0.3",
|
|
96
|
+
"stylelint-prettier": "4.1.0",
|
|
97
|
+
"stylelint-stylistic": "^0.4.5",
|
|
98
|
+
"web-ext": "^9.4.0",
|
|
99
|
+
"yargs": "17.7.2"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as esbuild from 'esbuild';
|
|
2
|
+
import copyPlugin from '@sprout2000/esbuild-copy-plugin'; // eslint-disable-line import/default
|
|
3
|
+
import fs from 'node:fs';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
CSSMinifyTextPlugin,
|
|
8
|
+
ImportGlobPlugin,
|
|
9
|
+
JSONMinifyPlugin,
|
|
10
|
+
minifyAllJsonFiles,
|
|
11
|
+
parseArgs
|
|
12
|
+
} from './shared.mjs';
|
|
13
|
+
|
|
14
|
+
const argv = await parseArgs(process.argv);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Main build function.
|
|
18
|
+
*
|
|
19
|
+
* @param {string} platform The platform to build for.
|
|
20
|
+
* @param {boolean} watch Whether to watch for changes.
|
|
21
|
+
*
|
|
22
|
+
* @return {Promise<void>} Esbuild build result.
|
|
23
|
+
*/
|
|
24
|
+
const buildExtension = async (platform, watch = false) => {
|
|
25
|
+
fs.mkdirSync(path.join(process.cwd(), `dist/${platform}`), { recursive: true });
|
|
26
|
+
|
|
27
|
+
// Copy manifest.json and inject the version number.
|
|
28
|
+
const manifest = JSON.parse(fs.readFileSync(
|
|
29
|
+
path.join(process.cwd(), 'src/extension/manifest.json'), 'utf8'
|
|
30
|
+
));
|
|
31
|
+
|
|
32
|
+
fs.writeFileSync(
|
|
33
|
+
path.join(process.cwd(), `dist/${platform}/manifest.json`),
|
|
34
|
+
JSON.stringify({
|
|
35
|
+
...manifest,
|
|
36
|
+
version: process.env.npm_package_version,
|
|
37
|
+
}, null, 2)
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
minifyAllJsonFiles();
|
|
41
|
+
|
|
42
|
+
const opts = {
|
|
43
|
+
entryPoints: ['src/index.js'],
|
|
44
|
+
platform: 'browser',
|
|
45
|
+
format: 'iife',
|
|
46
|
+
globalName: 'mhui',
|
|
47
|
+
bundle: true,
|
|
48
|
+
minify: true,
|
|
49
|
+
metafile: true,
|
|
50
|
+
sourcemap: true,
|
|
51
|
+
target: [
|
|
52
|
+
'es6',
|
|
53
|
+
'chrome58',
|
|
54
|
+
'firefox57'
|
|
55
|
+
],
|
|
56
|
+
alias: {
|
|
57
|
+
'@data': path.resolve(process.cwd(), 'dist/data'),
|
|
58
|
+
},
|
|
59
|
+
dropLabels: ['excludeFromExtension'],
|
|
60
|
+
outfile: `dist/${platform}/main.js`,
|
|
61
|
+
plugins: [
|
|
62
|
+
ImportGlobPlugin,
|
|
63
|
+
CSSMinifyTextPlugin,
|
|
64
|
+
JSONMinifyPlugin,
|
|
65
|
+
copyPlugin.copyPlugin({ // eslint-disable-line import/no-named-as-default-member
|
|
66
|
+
src: 'src/extension',
|
|
67
|
+
dest: `dist/${platform}`,
|
|
68
|
+
/**
|
|
69
|
+
* Don't copy the screenshots dir or any dotfiles.
|
|
70
|
+
* We don't copy the manifest because we're copying a modified version of it above.
|
|
71
|
+
*
|
|
72
|
+
* @param {string} file The file to filter.
|
|
73
|
+
*
|
|
74
|
+
* @return {boolean} Whether to filter the file.
|
|
75
|
+
*/
|
|
76
|
+
filter: (file) => {
|
|
77
|
+
return (
|
|
78
|
+
! file.startsWith('src/extension/screenshots') &&
|
|
79
|
+
! file.startsWith('src/extension/.') &&
|
|
80
|
+
! file.startsWith('src/extension/manifest') &&
|
|
81
|
+
! file.startsWith('src/extension/content.js')
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
}),
|
|
85
|
+
],
|
|
86
|
+
banner: {
|
|
87
|
+
js: [
|
|
88
|
+
`const mhImprovedVersion = '${process.env.npm_package_version}';`,
|
|
89
|
+
`const mhImprovedPlatform = '${platform}';`,
|
|
90
|
+
].join('\n'),
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
if (watch) {
|
|
95
|
+
console.log(' Watching for changes...'); // eslint-disable-line no-console
|
|
96
|
+
opts.logLevel = 'info';
|
|
97
|
+
const ctx = await esbuild.context(opts);
|
|
98
|
+
return await ctx.watch();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
await esbuild.build({
|
|
102
|
+
entryPoints: ['src/extension/content.js'],
|
|
103
|
+
platform: 'browser',
|
|
104
|
+
bundle: true,
|
|
105
|
+
minify: false,
|
|
106
|
+
sourcemap: true,
|
|
107
|
+
target: [
|
|
108
|
+
'es6',
|
|
109
|
+
'chrome58',
|
|
110
|
+
'firefox57'
|
|
111
|
+
],
|
|
112
|
+
outfile: `dist/${platform}/content.js`,
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
const result = await esbuild.build(opts);
|
|
116
|
+
fs.writeFileSync(`dist/metafile-${platform}.json`, JSON.stringify(result.metafile, null, 2));
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
await buildExtension(argv.platform, argv.watch, argv.release);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as esbuild from 'esbuild';
|
|
2
|
+
import fs from 'node:fs';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
|
|
5
|
+
import { CSSMinifyTextPlugin, ImportGlobPlugin, JSONMinifyPlugin, minifyAllJsonFiles } from './shared.mjs';
|
|
6
|
+
|
|
7
|
+
await minifyAllJsonFiles();
|
|
8
|
+
|
|
9
|
+
await esbuild.build({
|
|
10
|
+
entryPoints: ['src/index.js'],
|
|
11
|
+
platform: 'browser',
|
|
12
|
+
format: 'iife',
|
|
13
|
+
globalName: 'mhui',
|
|
14
|
+
bundle: true,
|
|
15
|
+
minify: false,
|
|
16
|
+
minifySyntax: true,
|
|
17
|
+
sourcemap: false,
|
|
18
|
+
sourcesContent: false,
|
|
19
|
+
target: [
|
|
20
|
+
'es6',
|
|
21
|
+
'chrome58',
|
|
22
|
+
'firefox57'
|
|
23
|
+
],
|
|
24
|
+
plugins: [
|
|
25
|
+
ImportGlobPlugin,
|
|
26
|
+
CSSMinifyTextPlugin,
|
|
27
|
+
JSONMinifyPlugin
|
|
28
|
+
],
|
|
29
|
+
outfile: 'dist/mousehunt-improved.user.js',
|
|
30
|
+
alias: {
|
|
31
|
+
'@data': path.resolve(process.cwd(), 'dist/data'),
|
|
32
|
+
},
|
|
33
|
+
dropLabels: ['excludeFromUserscript'],
|
|
34
|
+
banner: {
|
|
35
|
+
js: [
|
|
36
|
+
'// ==UserScript==',
|
|
37
|
+
'// @name 🐭️ MouseHunt Improved',
|
|
38
|
+
'// @description Improve your MouseHunt experience. Please only use this when the extension is not available.',
|
|
39
|
+
`// @version ${process.env.npm_package_version}`,
|
|
40
|
+
'// @license MIT',
|
|
41
|
+
'// @author bradp',
|
|
42
|
+
'// @namespace bradp',
|
|
43
|
+
'// @match https://www.mousehuntgame.com/*',
|
|
44
|
+
'// @icon https://i.mouse.rip/mh-improved/icon-64.png',
|
|
45
|
+
'// @run-at document-end',
|
|
46
|
+
'// @grant none',
|
|
47
|
+
'// ==/UserScript==',
|
|
48
|
+
`const mhImprovedVersion = '${process.env.npm_package_version}';`,
|
|
49
|
+
'const mhImprovedPlatform = \'userscript\';',
|
|
50
|
+
].join('\n'),
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const file = fs.readFileSync(path.resolve(process.cwd(), 'dist/mousehunt-improved.user.js'), 'utf8');
|
|
55
|
+
|
|
56
|
+
// Remove any comment lines that start with `// node_modules` or `// src` (they may start with a space or tab).
|
|
57
|
+
let cleaned = file
|
|
58
|
+
.replaceAll(/\s*\/\/\s*(node_modules|src).*/g, '')
|
|
59
|
+
.replaceAll(/^\s+/gm, '');
|
|
60
|
+
|
|
61
|
+
// remove any lines that start with '// ' except for the banner
|
|
62
|
+
cleaned = cleaned
|
|
63
|
+
.split('\n')
|
|
64
|
+
.filter((line, index) => {
|
|
65
|
+
if (index < 12) {
|
|
66
|
+
return true;
|
|
67
|
+
} // keep the banner
|
|
68
|
+
return ! line.trim().startsWith('//');
|
|
69
|
+
})
|
|
70
|
+
.join('\n');
|
|
71
|
+
|
|
72
|
+
// write the cleaned file back to disk
|
|
73
|
+
fs.writeFileSync(path.resolve(process.cwd(), 'dist/mousehunt-improved.user.js'), cleaned);
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { $ } from 'bun'; // eslint-disable-line import/no-unresolved, unicorn/prefer-node-protocol
|
|
2
|
+
import archiver from 'archiver';
|
|
3
|
+
import chalk from 'chalk';
|
|
4
|
+
import fs from 'node:fs';
|
|
5
|
+
import path from 'node:path';
|
|
6
|
+
|
|
7
|
+
import packageJson from '../package.json' with { type: 'json' };
|
|
8
|
+
|
|
9
|
+
const check = chalk.green('✔');
|
|
10
|
+
const dot = chalk.gray('●');
|
|
11
|
+
|
|
12
|
+
const buildArchive = async () => {
|
|
13
|
+
console.log(`${dot} Building archive...`); // eslint-disable-line no-console
|
|
14
|
+
await $`mkdir -p dist`;
|
|
15
|
+
await $`git archive --format zip --output dist/archive.zip HEAD`;
|
|
16
|
+
console.log(`${check} Archive built`); // eslint-disable-line no-console
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const fetchExternalFiles = async (skipExternalFiles = false) => {
|
|
20
|
+
if (! skipExternalFiles) {
|
|
21
|
+
console.log(`${dot} Fetching external CSS...`); // eslint-disable-line no-console
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
await $`bun run scripts/fetch-external-files.mjs ${skipExternalFiles ? '--skip-external-files' : ''}`;
|
|
25
|
+
|
|
26
|
+
if (! skipExternalFiles) {
|
|
27
|
+
console.log(`${check} External CSS fetched`); // eslint-disable-line no-console
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const buildExtension = async (platform) => {
|
|
32
|
+
await fetchExternalFiles(true);
|
|
33
|
+
console.log(`${dot} Building extension for ${platform} ...`); // eslint-disable-line no-console
|
|
34
|
+
await $`bun run scripts/build-extension.mjs --platform=${platform}`;
|
|
35
|
+
console.log(`${check} Extension for ${platform} built`); // eslint-disable-line no-console
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
const buildUserscript = async () => {
|
|
39
|
+
console.log(`${dot} Building userscript...`); // eslint-disable-line no-console
|
|
40
|
+
await $`bun run scripts/build-userscript.mjs --platform=userscript`;
|
|
41
|
+
console.log(`${check} Userscript built`); // eslint-disable-line no-console
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const buildZip = async (platform) => {
|
|
45
|
+
const output = fs.createWriteStream(path.join(process.cwd(), `dist/mousehunt-improved-${platform}.zip`));
|
|
46
|
+
const archive = archiver('zip', {
|
|
47
|
+
zlib: { level: 9 }
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
archive.on('error', function (err) {
|
|
51
|
+
throw err;
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
archive.pipe(output);
|
|
55
|
+
|
|
56
|
+
archive.directory(path.join(process.cwd(), `dist/${platform}/`), false);
|
|
57
|
+
|
|
58
|
+
await archive.finalize();
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const buildZips = async () => {
|
|
62
|
+
console.log(`${dot} Zipping extensions...`); // eslint-disable-line no-console
|
|
63
|
+
|
|
64
|
+
await buildZip('chrome');
|
|
65
|
+
await buildZip('firefox');
|
|
66
|
+
|
|
67
|
+
console.log(`${check} Extensions zipped`); // eslint-disable-line no-console
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const type = process.argv[2];
|
|
71
|
+
|
|
72
|
+
console.log(chalk.bold(`Building MouseHunt Improved v${packageJson.version} (${type || 'all'})`)); // eslint-disable-line no-console
|
|
73
|
+
|
|
74
|
+
if (type === 'archive') {
|
|
75
|
+
await buildArchive();
|
|
76
|
+
process.exit(0); // eslint-disable-line unicorn/no-process-exit
|
|
77
|
+
} else if (type === 'css') {
|
|
78
|
+
await fetchExternalFiles();
|
|
79
|
+
} if (type === 'extension') {
|
|
80
|
+
await Promise.all([
|
|
81
|
+
buildExtension('chrome'),
|
|
82
|
+
buildExtension('firefox'),
|
|
83
|
+
]);
|
|
84
|
+
} else if (type === 'chrome') {
|
|
85
|
+
await buildExtension('chrome');
|
|
86
|
+
} else if (type === 'firefox') {
|
|
87
|
+
await buildExtension('firefox');
|
|
88
|
+
} else if (type === 'userscript') {
|
|
89
|
+
await buildUserscript();
|
|
90
|
+
} else if (type === 'zips') {
|
|
91
|
+
await buildZips();
|
|
92
|
+
process.exit(0); // eslint-disable-line unicorn/no-process-exit
|
|
93
|
+
} else {
|
|
94
|
+
await fetchExternalFiles(process.argv.includes('--skip-external-files'));
|
|
95
|
+
|
|
96
|
+
await Promise.all([
|
|
97
|
+
buildArchive(),
|
|
98
|
+
buildExtension('chrome'),
|
|
99
|
+
buildExtension('firefox'),
|
|
100
|
+
buildUserscript(),
|
|
101
|
+
]);
|
|
102
|
+
|
|
103
|
+
await buildZips();
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
console.log(chalk.bold.green(`Built MouseHunt Improved v${packageJson.version}`)); // eslint-disable-line no-console
|