StratumsShop++

Stratums.io Shop++

  1. // ==UserScript==
  2. // @name StratumsShop++
  3. // @version 0.1.2
  4. // @description Stratums.io Shop++
  5. // @author Tornamic
  6. // @match https://stratums.io/*
  7. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  8. // @grant none
  9. // @namespace https://greasyfork.org/users/944755
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var shopMenu = document.querySelector('#a085ff0ed692f59e3');
  15. var hatStoreSel = document.querySelector('#hatStoreSel');
  16. var accStoreSel = document.querySelector('#accStoreSel');
  17. var descItems = document.querySelector('#a1154c5b99c5dd57d');
  18. descItems.style.opacity = '0.0';
  19. descItems.style.position = 'none';
  20. shopMenu.style.height = '375px';
  21. hatStoreSel.style.backgroundColor = 'rgba(0, 0, 0, 0.07)';
  22. accStoreSel.style.backgroundColor = 'rgba(0, 0, 0, 0.07)';
  23. shopMenu.style.backgroundColor = 'rgba(0, 0, 0, 0.07)';
  24. hatStoreSel.textContent = 'by';
  25. accStoreSel.textContent = 'Tornamic';
  26. })();
  27.  
  28. window.addEventListener('keydown', (e) => {
  29. if (e.keyCode === 32 && e.target === document.body) {
  30. e.preventDefault();
  31. }
  32. });