Hi,
Just a small quality of life script. Neopet's mobile friendly design bugs me. It just deters old school and desktop users, so I added an inventory button.
(you need an account to see links)
Code:
// ==UserScript==
// @name Add Inventory Button
// @namespace zer0@clraik
// @version 0.1
// @description A good QOL feature that adds the Inventory Button. This is much more intuitive than going through the sidebar.
// @author zer0
// @match https://www.neopets.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=neopets.com
// @grant none
// ==/UserScript==
function _0x176d(_0x49a66e,_0x3a83f6){var _0x2ee344=_0x2ee3();return _0x176d=function(_0x176d15,_0x39adea){_0x176d15=_0x176d15-0xb4;var _0x324187=_0x2ee344[_0x176d15];return _0x324187;},_0x176d(_0x49a66e,_0x3a83f6);}(function(_0x5e3009,_0x17fd8c){var _0x40c972=_0x176d,_0x4efc31=_0x5e3009();while(!![]){try{var _0x53cadc=-parseInt(_0x40c972(0xc2))/0x1+parseInt(_0x40c972(0xc0))/0x2+-parseInt(_0x40c972(0xb5))/0x3+parseInt(_0x40c972(0xbc))/0x4*(parseInt(_0x40c972(0xb6))/0x5)+-parseInt(_0x40c972(0xb9))/0x6+-parseInt(_0x40c972(0xbd))/0x7*(parseInt(_0x40c972(0xc3))/0x8)+-parseInt(_0x40c972(0xb8))/0x9*(-parseInt(_0x40c972(0xc1))/0xa);if(_0x53cadc===_0x17fd8c)break;else _0x4efc31['push'](_0x4efc31['shift']());}catch(_0x3f2f1d){_0x4efc31['push'](_0x4efc31['shift']());}}}(_0x2ee3,0x559f4));function addInventoryButton(){var _0x55510e=_0x176d,_0x30f25c=document[_0x55510e(0xbb)](_0x55510e(0xb7))[0x0],_0x152cfe=document[_0x55510e(0xb4)](_0x55510e(0xbf))[0x0];_0x152cfe[_0x55510e(0xbe)]=_0x55510e(0xba),_0x30f25c[_0x55510e(0xbe)]=_0x30f25c[_0x55510e(0xbe)]+'<a\x20href=\x22/inventory.phtml\x22><div\x20class=\x22navsub-inventory-meter__2020\x22><div\x20class=\x22my-inventory-icon\x22></div><span\x20id=\x22npanchor\x22\x20class=\x22np-text__2020\x22>Inventory</span></div></a>';}addInventoryButton();function _0x2ee3(){var _0xc0a02e=['1231736gdMKSz','9950420AyfJAu','371563UkXKzK','4384vbGfjZ','getElementsByTagName','1368270sgYioV','524315totlcd','navsub-right__2020','9oYMbzh','3419856YbsDiZ','.my-inventory-icon{background:url(https://images.neopets.com/themes/h5/basic/images/v3/inventory-icon.svg)\x20center\x20center\x20no-repeat;\x20height:31px!important;\x20width:29px!important;background-size:\x20100%\x20auto;\x0a\x09height:25px;width:23px;margin:\x20auto\x204px\x20auto\x200;float:left;vertical-align:middle;}.navsub-inventory-meter__2020{min-width:\x2050px;background:\x20#fff;border-radius:\x2010px;height:\x20auto;display:\x20inline-block;cursor:\x20pointer;padding:\x202px\x205px;width:\x20auto;}','getElementsByClassName','20DktFwJ','4942LOorGC','innerHTML','style'];_0x2ee3=function(){return _0xc0a02e;};return _0x2ee3();}