MAL-Character Renders in the Side + Custom Scrollbar

Easily Customizable Character Renders and Custom Scrollbar for MyAnimeList

以使用者樣式安裝?
作者推薦腳本

您可能也會喜歡 MAL Public Score in MangaList

安裝腳本
  1. /* ==UserStyle==
  2. @name MAL-Character Renders in the Side + Custom Scrollbar
  3. @version 3.0.4
  4. @description Easily Customizable Character Renders and Custom Scrollbar for MyAnimeList
  5. @namespace jery_js
  6. @author Jery
  7. @license MIT
  8. @preprocessor uso
  9.  
  10. // This CSS script is meant to be used using "stylus" extension. Other extensions haven't been tested yet.
  11. // My MAL Profile - https://myanimelist.net/profile/jery_js
  12.  
  13. @var select switch-characters "Switch Characters"{
  14. "Rem & Ram": `
  15. :root {
  16. --char1: url(https://i.imgur.com/3CKtjS4.png);
  17. --char2: url(https://i.imgur.com/gs8GGr3.png);
  18. --x1: -20.2%; --x2: 18%;
  19. --y1: 01%; --y2: 35%;
  20. }`,
  21.  
  22. "Naruto & Sasuke": `
  23. :root {
  24. --char1: url(https://i.imgur.com/BpWggaF.jpg);
  25. --char2: url(https://i.imgur.com/BpWggaF.jpg);
  26. --x1: -05%; --x2: 3.3%;
  27. --y1: 15%; --y2: 15%;
  28. }`,
  29.  
  30. "Naruto & Sasuke V2": `
  31. :root {
  32. --char1: url(https://i.ibb.co/sVBBgQp/image.png);
  33. --char2: url(https://i.ibb.co/sVBBgQp/image.png);
  34. --x1: -07%; --x2: 07%;
  35. --y1: 15%; --y2: 15%;
  36. }`,
  37.  
  38. "Kaneki (Ghoul & Human)": `
  39. :root {
  40. --char1: url(https://i.imgur.com/HKDvkC3.jpg);
  41. --char2: url(https://i.imgur.com/HKDvkC3.jpg);
  42. --x1: -20%; --x2: 20%;
  43. --y1: 15%; --y2: 15%;
  44. }`,
  45.  
  46. "Hatsune Miku": `
  47. :root {
  48. --char1: url(https://i.imgur.com/Yas2UBd.jpg);
  49. --char2: url(https://i.imgur.com/TNMnfLJ.jpg);
  50. --x1: -15%; --x2: 15%;
  51. --y1: 15%; --y2: 15%;
  52. }`,
  53.  
  54. "Ace & Luffy (change the '--x1' value to Switch Ace with Sabo)": `
  55. :root {
  56. --char1: url(https://mocah.org/uploads/posts/208549-sabo-one-piece-4552x3108.jpg);
  57. --char2: url(https://mocah.org/uploads/posts/208549-sabo-one-piece-4552x3108.jpg);
  58. --x1: -34%; --x2: 153%;
  59. --y1: 15%; --y2: 15%;
  60. }`,
  61.  
  62. "Loop ALl (5 secs each character)": `
  63. :root {
  64. --char1: url(https://imgur.com/YPN8qvO.gif);
  65. --char2: url(https://imgur.com/ES2V37D.gif);
  66. --x1: -7.5%; --x2: 3.5%;
  67. --y1: 5%; --y2: 15%;
  68. }
  69. }`,
  70.  
  71. "Custom Character": `
  72. :root {
  73. --char1: var(--cstm-1);
  74. --char2: var(--cstm-1);
  75. --x1: -10%; --x2: 10%;
  76. --y1: 15%; --y2: 15%;
  77. }`
  78. }
  79.  
  80. @var select scrollbar "Custom Scrollbar"{
  81. "on":`
  82. :root {
  83. --clr1: #004dff; --clr1-dim: #004dff9e; --clr2: #444;
  84. --rad: 6px; --bwv: 0px 2px; --bwh: 2px 0px;
  85. }`,
  86.  
  87. "off":`
  88. :root {
  89. --clr1: #cecece; --clr1-dim: #a7a7a7; --clr2: #f0f0f0;
  90. --rad: 0px; --bwv: 0px 0px; --bwh: 0px 0px;
  91. }`
  92.  
  93. }
  94.  
  95.  
  96. ==/UserStyle== */
  97. @-moz-document domain("myanimelist.net") {
  98. /* README : IN CASE U DIDN'T NOTICE, THERE SHOULD BE A SETTINGS ICON NEXT TO THIS SCRIPT ON UR "STYLLUS" POPUP. TRY CLICKING IT TO SEE SMTH INTERESTING. */
  99. /* CUSTOM CHARACTERS - add your own characters (Optional) */
  100. :root{
  101. --cstm-1: url(); /* paste the link to ur 1st character inside the brackets after "url" */
  102. --cstm-2: url(); /* paste the link to ur 2nd character inside the brackets after "url" */
  103. /* Supported formats - (.png/.jpg/.webp/.gif) */
  104. }
  105.  
  106. /* Side Renders */
  107. body:not(.ownlist):not(.ownlist_style_theme) {
  108. background-color: white;
  109. background-image: var(--char1), var(--char2) !important;
  110. background-position-x: var(--x1), calc(100% + var(--x2)) !important;
  111. background-position-y: var(--y1), var(--y2) !important;
  112. min-height: 100% !important;
  113. background-repeat: no-repeat !important;
  114. background-attachment: fixed !important;
  115. background-size: auto 105% !important;
  116. }
  117.  
  118. /* Border */
  119. body.page-common #contentWrapper {
  120. border: groove #2e51a2 3px !important;
  121. border-top-width: 0px !important;
  122. border-bottom-width: 0px !important;
  123. }
  124.  
  125.  
  126. /*CUSTOM SCROLLBAR*/
  127. /* Firefox */
  128. * {
  129. scrollbar-color: var(--clr1) var(--clr2);
  130. }
  131.  
  132. /* Chrome */
  133. body:not(.ownlist)::-webkit-scrollbar {
  134. background: var(--clr2);
  135. }
  136.  
  137. body:not(.ownlist)::-webkit-scrollbar-button:vertical {
  138. background: transparent center / 10px auto no-repeat;
  139. }
  140. body:not(.ownlist)::-webkit-scrollbar-button:vertical:start {
  141. background-image: url(https://i.imgur.com/Cu2u9Hu.png);
  142. }
  143. body:not(.ownlist)::-webkit-scrollbar-button:vertical:end {
  144. background-image: url(https://i.imgur.com/0YI7VxA.png);
  145. }
  146. body:not(.ownlist)::-webkit-scrollbar-button:horizontal {
  147. background: transparent center / auto 10px no-repeat;
  148. }
  149. body:not(.ownlist)::-webkit-scrollbar-button:horizontal:start {
  150. background-image: url(https://i.imgur.com/BArw1oI.png);
  151. }
  152. body:not(.ownlist)::-webkit-scrollbar-button:horizontal:end {
  153. background-image: url(https://i.imgur.com/vqOtoms.png);
  154. }
  155. body:not(.ownlist)::-webkit-scrollbar-corner {
  156. background: var(--clr2);
  157. }
  158.  
  159. body:not(.ownlist)::-webkit-scrollbar-thumb {
  160. background: var(--clr1) content-box !important;
  161. border: 0 solid transparent;
  162. border-radius: var(--rad);
  163. }
  164. body:not(.ownlist)::-webkit-scrollbar-thumb:vertical {
  165. border-width: var(--bwv);
  166. }
  167. body:not(.ownlist)::-webkit-scrollbar-thumb:horizontal {
  168. border-width: var(--bwh);
  169. }
  170. body:not(.ownlist)::-webkit-scrollbar-thumb:hover {
  171. background-color: var(--clr1-dim) !important;
  172. }
  173. body:not(.ownlist)::-webkit-scrollbar-track {
  174. width: 5px;
  175. }
  176. /*[[switch-characters]]*/
  177. /*[[scrollbar]]*/
  178. }

QingJ © 2025

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