transparent hat shop + slightly modification

The hat menu will be transperent. Not fully tranparent but you can see trough it better!

目前为 2022-04-10 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name transparent hat shop + slightly modification
  3. // @namespace https://greasyfork.org/en/users/752105-w4it
  4. // @version v2
  5. // @description The hat menu will be transperent. Not fully tranparent but you can see trough it better!
  6. // @author W4IT
  7. // @match *://*.sploop.io/*
  8. // @grant none
  9. // ==/UserScript==
  10. document.getElementById('hat-menu').style.background = "rgba(0,0,0,0)"
  11. document.getElementById("hat_menu_content").style.background = "rgba(0,0,0,0)"
  12. var styleItem1 = document.createElement("style");
  13. styleItem1.type = "text/css";
  14. styleItem1.appendChild(document.createTextNode(`
  15. .green-button {
  16. background-color: rgba(0,0,0,0);
  17. box-shadow:none;
  18. }
  19. .subcontent-bg {
  20. border-radius: 10px;
  21. margin: 20px 0 30px 0;
  22. border: none;
  23. box-shadow: none;
  24. }
  25. .menu .content .menu-item .menu-pricing .action {
  26. border: none;
  27. }
  28. .menu .content .menu-item {
  29. border-bottom: none;
  30. }
  31. #hat-menu {
  32. border: none;
  33. padding: 8px;
  34. opacity: 0.7;
  35. }
  36. `))
  37. document.head.appendChild(styleItem1);