CleanFork

Clean up greasyfork with some css edits

  1. // ==UserScript==
  2. // @name CleanFork
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Clean up greasyfork with some css edits
  6. // @author codingMASTER398
  7. // @match *://greasyfork.org/*
  8. // @icon https://www.google.com/s2/favicons?domain=greasyfork.org
  9. // @grant none
  10. // @run-at document-start
  11. // ==/UserScript==
  12.  
  13. css = `
  14. .list-option-group .list-current {
  15. border-left: none;
  16. box-shadow: none;
  17. margin: none;
  18. padding: .4em 1em .4em calc(1em - 3px);
  19. /* background: linear-gradient(#fff,#eee); */
  20. }
  21. body {
  22. font-family: monospace;
  23. }
  24. .list-option-group ul {
  25. list-style-type: none;
  26. padding: 1em 0;
  27. box-shadow: none;
  28. border: none;
  29. background-color: #fff;
  30. }
  31. #main-header {
  32. background-color: black;
  33. background-image: none;
  34. box-shadow: 0 0 15px 2px rgb(0 0 0 / 50%);
  35. padding: .25em 0;
  36. }
  37. li {
  38. box-shadow: none;
  39. border: none;
  40. }
  41. `
  42. var styleSheet = document.createElement("style")
  43. styleSheet.type = "text/css"
  44. styleSheet.innerText = css
  45. document.head.appendChild(styleSheet)