BetterFXP

תוסף המתקן את הדארק מוד של FXP

  1. // ==UserScript==
  2. // @name BetterFXP
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.2.1
  5. // @description תוסף המתקן את הדארק מוד של FXP
  6. // @author Mutedly
  7. // @match https://www.fxp.co.il/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. function styleChanger(styleString) {
  13. const style = document.createElement('style');
  14. style.textContent = styleString;
  15. document.head.append(style);
  16. }
  17.  
  18.  
  19. styleChanger(`
  20.  
  21. //Open sans Import
  22. @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
  23.  
  24.  
  25.  
  26.  
  27. /* שינויים בעיצוב */
  28. body, div, span, a, div.newcom, h, h1, h2, h3, h4, h5, h6 {
  29. font-family: 'Open Sans', sans-serif !important;
  30. }
  31.  
  32. #message_list, blockquote, #above_postlist, .floatleft, .postbit-right {
  33. font-family: 'Open Sans', sans-serif !important;
  34. }
  35.  
  36. body, html {
  37. background: #111111 !important;
  38. }
  39.  
  40. .fxp2020_sticky_header, .darkmode .toplogin.toplogedin {
  41. background: #202020 !important;
  42. }
  43.  
  44. .breadcrumb {
  45. background: #2b2b2b !important;
  46. }
  47.  
  48. .navbithome {
  49. display: none;
  50. }
  51.  
  52.  
  53.  
  54. a.newcontent_textcontrol {
  55. font-size: 15px !important;
  56. }
  57.  
  58.  
  59. #forumStatsContainer {
  60. background: #19191b;
  61. border-style: none solid solid;
  62. border-color: #333;
  63. }
  64.  
  65.  
  66. .smallPlusButton {
  67. background: #29292d;
  68. }
  69.  
  70.  
  71. .modore {
  72. display: none;
  73. }
  74.  
  75.  
  76. .teammen {
  77. background: #19191b !important;
  78. border-style: none solid solid;
  79. border-radius: 0px !important;
  80. background-image: url(https://images4.fxp.co.il/mobile/svg2/team.svg) !important;
  81. background-repeat: no-repeat !important;
  82. background-size: 40px !important;
  83. background-position: right !important;
  84. width: 243px !important;
  85. margin-right: 0px !important;
  86. }
  87.  
  88.  
  89. #usermenu {
  90. font-size: 13px !important;
  91. }
  92.  
  93. #adfxp,
  94. div.ob-smartfeed-wrapper,
  95. div.ob-widget-section,
  96. div.ob-first,
  97. div.ob-widget-items-container,
  98. div.ob_what,
  99. div.ob_what_resp,
  100. div.top-ba {
  101. display: none;
  102. }
  103.  
  104.  
  105.  
  106. .user-picture-holder img {
  107. margin-top: 10px !important;
  108. margin-right: 6px !important;
  109. width: 50px !important;
  110. height: 50px !important;
  111. border: none;
  112. }
  113.  
  114.  
  115.  
  116.  
  117. .footer, .postbit, .postbitim, .postcontainer {
  118. box-shadow: 0px 6px 43px rgba(0, 0, 0, 0.37) !important;
  119. border-radius: 20px !important;
  120. }
  121.  
  122. .rating0, .sticky, .threadbit {
  123. border-radius: 8px !important;
  124. }
  125.  
  126. #footer_copyright {
  127. display: none;
  128. }
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. .threadimod input {
  137. margin-left: 10px!important;
  138. }
  139.  
  140.  
  141. .chat-textarea, .chat-textarea, .fast-mode-desktop, .chat-el {
  142. display: none;
  143. }
  144.  
  145. .count-info-holder {
  146. margin-left: 5px !important;
  147. margin-bottom: 10px !important;
  148. }
  149.  
  150. .postbitdeleted, .nodecontrols, .postbitignored .nodecontrols {
  151. background: #19191b !important;
  152. border-radius: 8px !important;
  153. padding-bottom: 5px !important;
  154. }
  155.  
  156. .user_panel_m {
  157. border-radius: 2px !important;
  158. }
  159.  
  160. css-1dbjc4n r-14lw9ot r-1ny4l3l r-iphfwy r-1qhn6m8 r-i023vh r-ttdzmv r-o7ynqc r-6416eg {
  161. background-color: red !important;
  162. }
  163.  
  164. `);