PornoLab.net | Clean Layout [de-bloated]

a cleaner, more structured, ad-free layout

目前為 2023-04-27 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name PornoLab.net | Clean Layout [de-bloated]
  3. // @name:sv PornoLab.net | Ren Layout [avskalad]
  4. // @name:ru PornoLab.net | чистый макет | [раздетый]
  5. // @namespace pornolabs-compact
  6. // @version 1.0.6
  7. // @description a cleaner, more structured, ad-free layout
  8. // @description:sv en renare, mer strukturerad och reklamfri layout
  9. // @description:ru более чистый, более структурированный макет без рекламы
  10. // @author 7KT-SWE
  11. // @license MIT
  12. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4BAMAAABaqCYtAAAAIVBMVEXS0tI0VKTcIwEAAAAY4R0xMTGurq4MFCcrRog0CAC2HQFJc9qRAAABEklEQVQ4y92TsW6DMBCGkaqyWx3aOU/Q9OyazvgBkCwxs/AAEUtW1CF7H6FP2v8/kwo7ykqi/NLhH386n82Z6jYyK53ndtBWkNoKVovuAY5CuWFEVCeRYx1F1QMutouIehLxz5LkACVQ7bsgRrzIkw0qyeFntKH1V6Bj4nENWdMG6QCFiTNq0mvNUb0b8NBEU8cEez3btw1wmNBEnJP+Y/kIE+BsMKGJBYT1Bk+obQr4BtucoS/gqwQ5ELKoDFUGX1hSoXBnOeRmjdHKCJfD6R82zB4yyJQE9xPXLWHDgV3huiXcL7DmutdgFW0B0f1D6k7HLrjkfxI8iZ8x6B1CR3r1X7+Xt2/1C9453K30iHBz/QF7T5H1u4vU3QAAAABJRU5ErkJggg==
  13. // @homepageURL https://7kt.se/
  14. // @contributionURL https://www.paypal.com/donate/?hosted_button_id=2EJR4DLTR4Y7Q
  15. // @include https://pornolab.net/*
  16. // @grant GM_addStyle
  17. // @run-at document-end
  18. // @compatible Chrome >=55 + Tampermonkey + Violentmonkey
  19. // @compatible Firefox >=56 + Tampermonkey + Violentmonkey
  20. // @compatible Opera + Tampermonkey + Violentmonkey
  21. // @compatible Edge + Tampermonkey + Violentmonkey
  22. // ==/UserScript==
  23. (function () {
  24. let css = "";
  25. if (location.hostname === "pornolab.net" || location.hostname.endsWith("pornolab.net")) {
  26. css += `
  27. .site-logo {
  28. width: auto;
  29. height: 92px;
  30. }
  31. #main-nav {
  32. padding: 0px 10px;
  33. }
  34. .freeleech-icon {
  35. bottom: 139px;
  36. top: 46px;
  37. left: 233px;
  38. color: #1c66d7;
  39. font-size: 22px;
  40. }
  41. #pl-speedbar {
  42. display: none !important;
  43. }
  44. .bypass-alert {
  45. display: none;
  46. }
  47. .sb2-block {
  48. margin: 0px 0px 10px 5px;
  49. margin-top: 0px;
  50. padding: 0px 5px 0 0;
  51. }
  52. #cookieNotice {
  53. display: none;
  54. }
  55. #vsxshop-2 {
  56. display: none !important;
  57. }
  58. #bn-toy-1 {
  59. display: none !important;
  60. }
  61. .maintitle, .pagetitle {
  62. width: 80%;
  63. word-break: break-word;
  64. }
  65. .topmenu {
  66. position: absolute;
  67. justify-content: right;
  68. float: right;
  69. right: 0%;
  70. top: -4px;
  71. background: transparent;
  72. border-color: transparent;
  73. width: min-content;
  74. }
  75. #quick-search {
  76. position: relative;
  77. top: 35px;
  78. right: 0px;
  79. padding: 4px;
  80. z-index: 1;
  81. }
  82. h3 {
  83. letter-spacing: 0px;
  84. }
  85. .cat_title {
  86. letter-spacing: 0px;
  87. }
  88. #main_content_wrap > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3),
  89. #latest_news > table > tbody > tr:nth-of-type(1) > td:nth-of-type(3) {
  90. display: none;
  91. }
  92. #adriver-240x120 {
  93. display: none;
  94. }
  95. .topmenu td {
  96. position: relative;
  97. top: 0px;
  98. background: transparent;
  99. }
  100. #body_container {
  101. padding: 0 0 25px;
  102. }
  103. #page_footer {
  104. display: none;
  105. }
  106. .bottom_info {
  107. padding-bottom: 10px;
  108. }
  109. iframe {
  110. display: none !important
  111. }
  112. #fs-sel-cat {
  113. margin-top: -3px;
  114. }
  115. textarea:focus, input:focus {
  116. outline: none;
  117. }
  118. .splk {
  119. display: none;
  120. } `;
  121. }
  122. if (typeof GM_addStyle !== "undefined") {
  123. GM_addStyle(css);
  124. }
  125. else {
  126. let styleNode = document.createElement("style");
  127. styleNode.appendChild(document.createTextNode(css));
  128. (document.querySelector("head") || document.documentElement).appendChild(styleNode);
  129. }
  130. })();