Gaia Avatar Inventory size increaser

It just makes the inventory element wider and taller

  1. // ==UserScript==
  2. // @name Gaia Avatar Inventory size increaser
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-02-23
  5. // @description It just makes the inventory element wider and taller
  6. // @author Taggy
  7. // @match https://www.gaiaonline.com/avatar/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=gaiaonline.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. function addGlobalStyle(css) {
  15. var head, style;
  16. head = document.getElementsByTagName('head')[0];
  17. if (!head) { return; }
  18. style = document.createElement('style');
  19. style.innerHTML = css;
  20. head.appendChild(style);
  21. }
  22. addGlobalStyle(`
  23. #gaia_content #bd {
  24. width: 100% !important;
  25. }
  26. #grid_ad_2 {
  27. visibility: collapse;
  28. }
  29. #gaia_content #center {
  30. width: 74%;
  31. margin: 0 5px 0 0;
  32. }
  33. #gaia_content #center .yui-content {
  34. max-height: 500px;
  35. }
  36. `)
  37. })();