Devuplads clean bloat

clean bloat in devuploads

  1. // ==UserScript==
  2. // @name Devuplads clean bloat
  3. // @namespace https://gf.qytechs.cn/users/821661
  4. // @match https://devuploads.com/*
  5. // @match https://djxmaza.in/*
  6. // @match https://smartfeecalculator.com/*
  7. // @match https://gujjukhabar.in/*
  8. // @match https://rfiql.com/*
  9. // @grant GM.addStyle
  10. // @run-at document-start
  11. // @version 1.2.3
  12. // @author hdyzen
  13. // @description clean bloat in devuploads
  14. // @license GPL-3.0-only
  15. // ==/UserScript==
  16.  
  17. const domain = window.location.hostname;
  18.  
  19. if (domain === "devuploads.com") {
  20. devuploadsCSS();
  21. } else {
  22. reDevuploadsCSS();
  23. }
  24.  
  25. function addCSS(text) {
  26. document.documentElement.insertAdjacentHTML("beforeend", `<style>${text}</style>`);
  27. }
  28.  
  29. function reDevuploadsCSS() {
  30. addCSS(`
  31. #dlp, [style*="block"]:is(#dlndiv, #adBlocked, #Blocked) {
  32. position: fixed !important;
  33. height: 100vh !important;
  34. width: 100vw !important;
  35. inset: 0 !important;
  36. margin: 0 !important;
  37. padding: 0 !important;
  38. background-color: #131316 !important;
  39. z-index: 99999 !important;
  40. display: flex !important;
  41. flex-direction: column !important;
  42. justify-content: center !important;
  43. align-items: center !important;
  44. }
  45. `);
  46. }
  47.  
  48. function devuploadsCSS() {
  49. addCSS(`
  50. body:not(:has(#container)) {
  51. background-color: #131316 !important;
  52. }
  53. body {
  54. overflow: hidden;
  55. & .shadow-lg {
  56. box-shadow: none !important;
  57. }
  58. }
  59. #folders_paging {
  60. display: none !important;
  61. }
  62. #container {
  63. max-width: unset !important;
  64. position: fixed !important;
  65. inset: 0 !important;
  66. display: flex !important;
  67. flex-direction: column !important;
  68. justify-content: center !important;
  69. align-items: center !important;
  70. background-color: #131316 !important;
  71. margin: 0 !important;
  72. z-index: 214748364 !important;
  73. & .filesof {
  74. color: #8f91a3 !important;
  75. }
  76. & .bg-white {
  77. background-color: #1b1b1f !important;
  78. }
  79. & .form-control, & .paging {
  80. background-color: inherit !important;
  81. color: #cccee7;
  82. &::placeholder {
  83. color: #8f91a3;
  84. }
  85. }
  86. & .border-bottom {
  87. border-color: #1b1b1f !important;
  88. }
  89. & .title a {
  90. color: #cccee7 !important;
  91. }
  92. & i.fas {
  93. background: #bac3ff;
  94. background-clip: text;
  95. }
  96. & .fa-magnifying-glass {
  97. color: #bac3ff !important;
  98. }
  99. }
  100. `);
  101. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址