Lunebounce Theme

((made with <3 by lune))

当前为 2024-03-16 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Lunebounce Theme
  3. // @namespace https://github.com/diary001/lunebounce
  4. // @supportURL https://discord.gg/mbe
  5. // @license MIT
  6. // @version 1.0.2
  7. // @description ((made with <3 by lune))
  8. // @author lune / linktr.ee/moon
  9. // @match *://*/*
  10. // @icon https://framerusercontent.com/images/iuVZmsE2sifPExZXNrETQrDkU.png
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14.  
  15. (function () {
  16. "use strict";
  17.  
  18. function checkPresence() {
  19. // do ur document.getElementById etc
  20. // return if it exists
  21. return (
  22. document.getElementById(
  23. "moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem"
  24. )?.shadowRoot != null
  25. );
  26. }
  27.  
  28. function injectCSS() {
  29. const root = document.documentElement;
  30.  
  31. root.style.setProperty("--lune-primary", "#44515a");
  32. root.style.setProperty("--lune-secondary", "#242c31");
  33. root.style.setProperty("--lune-tertiary", "#a0a6c525");
  34. root.style.setProperty("--lune-accent", "#aef0ff");
  35. root.style.setProperty("--lune-accent-alpha", "rgba(173, 240, 255, 0.2)");
  36. root.style.setProperty(
  37. "--lune-accent-alpha-alt",
  38. "rgba(173, 240, 255, 0.35)"
  39. );
  40. root.style.setProperty(
  41. "--lune-accent-alpha-alt2",
  42. "rgba(173, 240, 255, 0.5)"
  43. );
  44. root.style.setProperty("--lune-accent-dark", "#82e8ff");
  45. root.style.setProperty("--lune-accent-light", "#c8f5ff");
  46. root.style.setProperty(
  47. "--lune-accent-filter",
  48. "brightness(0) saturate(100%) invert(86%) sepia(9%) saturate(2201%) hue-rotate(171deg) brightness(107%) contrast(101%)"
  49. );
  50.  
  51. // var link = document.createElement('link');
  52. // link.setAttribute('rel', 'stylesheet');
  53. // link.setAttribute('type', 'text/css');
  54. // link.setAttribute('href', 'https://fonts.googleapis.com/css2?family=Varela+Round');
  55. // document.head.appendChild(link);
  56.  
  57. const webApp = document.querySelector("body");
  58.  
  59. const shadowRoot = document.querySelector(
  60. "div#moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem"
  61. )?.shadowRoot;
  62.  
  63. const moonbouncePortal = document
  64. .querySelector(
  65. "div#moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem"
  66. )?.shadowRoot.querySelector("#MOONBOUNCE\\.PORTAL");
  67.  
  68. if (!moonbouncePortal) {
  69. // If moonbouncePortal is not found, try again after a short delay
  70. setTimeout(injectCSS, 500);
  71. return;
  72. }
  73.  
  74. const styleElement1 = Object.assign(document.createElement("STYLE"), {
  75. textContent: `._base_n7zwr_1._light_n7zwr_14 {
  76. background: var(--lune-secondary);
  77. }`,
  78. });
  79. shadowRoot.append(styleElement1);
  80.  
  81. const styleElement2 = Object.assign(document.createElement("STYLE"), {
  82. textContent: `._base_n7zwr_1 {
  83. border: 2px solid var(--lune-primary);
  84. }`,
  85. });
  86. shadowRoot.append(styleElement2);
  87.  
  88. const styleElement3 = Object.assign(document.createElement("STYLE"), {
  89. textContent: `path {
  90. fill: var(--lune-accent);
  91. }`,
  92. });
  93. shadowRoot.append(styleElement3);
  94.  
  95. const styleElement4 = Object.assign(document.createElement("STYLE"), {
  96. textContent: `._base_irauo_1 {
  97. color: var(--lune-accent);
  98. }`,
  99. });
  100. shadowRoot.append(styleElement4);
  101.  
  102. const styleElement5 = Object.assign(document.createElement("STYLE"), {
  103. textContent: `._base_5l9jc_1 {
  104. background-color: var(--lune-accent-alpha);
  105. }`,
  106. });
  107. moonbouncePortal.append(styleElement5);
  108.  
  109. const styleElement7 = Object.assign(document.createElement("STYLE"), {
  110. textContent: `._base_15xaj_1._small_15xaj_22 {
  111. color: var(--lune-accent);
  112. }`,
  113. });
  114. moonbouncePortal.append(styleElement7);
  115.  
  116. const styleElement8 = Object.assign(document.createElement("STYLE"), {
  117. textContent: `._base_1htaw_1._secondary_1htaw_22._open_1htaw_27, ._base_1htaw_1._secondary_1htaw_22._closed_1htaw_30 {
  118. background-color: var(--lune-primary);
  119. }`,
  120. });
  121. shadowRoot.append(styleElement8);
  122.  
  123. const styleElement9 = Object.assign(document.createElement("STYLE"), {
  124. textContent: `._base_1htaw_1._secondary_1htaw_22 {
  125. border: 2px solid var(--lune-tertiary);
  126. }`,
  127. });
  128. shadowRoot.append(styleElement9);
  129.  
  130. const styleElement10 = Object.assign(document.createElement("STYLE"), {
  131. textContent: `._base_1htaw_1._secondary_1htaw_22:hover._open_1htaw_27 {
  132. background-color: var(--lune-accent-alpha-alt);
  133. }`,
  134. });
  135. shadowRoot.append(styleElement10);
  136.  
  137. const styleElement11 = Object.assign(document.createElement("STYLE"), {
  138. textContent: `._base_1htaw_1._secondary_1htaw_22:hover {
  139. background: var(--lune-primary);
  140. border: 2px solid var(--lune-tertiary)
  141. }`,
  142. });
  143. shadowRoot.append(styleElement11);
  144.  
  145. const styleElement12 = Object.assign(document.createElement("STYLE"), {
  146. textContent: `._base_1b9zj_1 {
  147. background-color: var(--lune-primary);
  148. border: 2px solid var(--lune-tertiary);
  149. }`,
  150. });
  151. shadowRoot.append(styleElement12);
  152.  
  153. const styleElement13 = Object.assign(document.createElement("STYLE"), {
  154. textContent: `._base_1enru_1 {
  155. color: var(--lune-accent);
  156. }`,
  157. });
  158. shadowRoot.append(styleElement13);
  159.  
  160. const styleElement14 = Object.assign(document.createElement("STYLE"), {
  161. textContent: `._base_1jfm3_1 {
  162. background-color: var(--lune-secondary);
  163. border: 2px solid var(--lune-primary);
  164. }`,
  165. });
  166. shadowRoot.append(styleElement14);
  167.  
  168. const styleElement15 = Object.assign(document.createElement("STYLE"), {
  169. textContent: `._middle_mdpvo_19 {
  170. background-color: var(--lune-secondary);
  171. }`,
  172. });
  173. shadowRoot.append(styleElement15);
  174.  
  175. const styleElement16 = Object.assign(document.createElement("STYLE"), {
  176. textContent: `._base_bkmm0_1 {
  177. background-color: var(--lune-secondary);
  178. }`,
  179. });
  180. shadowRoot.append(styleElement16);
  181.  
  182. const styleElement17 = Object.assign(document.createElement("STYLE"), {
  183. textContent: `._container_k54cr_1._chat_k54cr_48 {
  184. background: var(--lune-secondary);
  185. }`,
  186. });
  187. shadowRoot.append(styleElement17);
  188.  
  189. const styleElement18 = Object.assign(document.createElement("STYLE"), {
  190. textContent: `._container_k54cr_1 {
  191. border: 2px solid var(--lune-tertiary);
  192. }`,
  193. });
  194. shadowRoot.append(styleElement18);
  195.  
  196. const styleElement19 = Object.assign(document.createElement("STYLE"), {
  197. textContent: `::placeholder {
  198. color: var(--lune-accent);
  199. }`,
  200. });
  201. shadowRoot.append(styleElement19);
  202.  
  203. const styleElement20 = Object.assign(document.createElement("STYLE"), {
  204. textContent: `._h1_gfeel_1 {
  205. color: var(--lune-accent-light);
  206. }`,
  207. });
  208. shadowRoot.append(styleElement20);
  209.  
  210. const styleElement21 = Object.assign(document.createElement("STYLE"), {
  211. textContent: `._p_7k6zl_1._small_7k6zl_6 {
  212. color: var(--lune-accent);
  213. }`,
  214. });
  215. shadowRoot.append(styleElement21);
  216.  
  217. const styleElement22 = Object.assign(document.createElement("STYLE"), {
  218. textContent: `._button_eftbh_1._tertiary_eftbh_36 {
  219. color: var(--lune-accent);
  220. }`,
  221. });
  222. shadowRoot.append(styleElement22);
  223.  
  224. const styleElement23 = Object.assign(document.createElement("STYLE"), {
  225. textContent: `._neutral-500_128i6_721 {
  226. color: var(--lune-tertiary) !important;
  227. }`,
  228. });
  229. shadowRoot.append(styleElement23);
  230.  
  231. const styleElement24 = Object.assign(document.createElement("STYLE"), {
  232. textContent: `._button_eftbh_1._tertiary_eftbh_36:hover {
  233. background: var(--lune-tertiary);
  234. }`,
  235. });
  236. shadowRoot.append(styleElement24);
  237.  
  238. const styleElement25 = Object.assign(document.createElement("STYLE"), {
  239. textContent: `._line_mdpvo_99 {
  240. background: var(--lune-primary);
  241. }`,
  242. });
  243. shadowRoot.append(styleElement25);
  244.  
  245. const styleElement26 = Object.assign(document.createElement("STYLE"), {
  246. textContent: `._button_eftbh_1._quaternary_eftbh_53 {
  247. color: var(--lune-accent);
  248. border: 1px solid var(--lune-primary)
  249. }`,
  250. });
  251. shadowRoot.append(styleElement26);
  252.  
  253. const styleElement27 = Object.assign(document.createElement("STYLE"), {
  254. textContent: `._text-sm_128i6_60 {
  255. color: var(--lune-accent);
  256. }`,
  257. });
  258. shadowRoot.append(styleElement27);
  259.  
  260. const styleElement28 = Object.assign(document.createElement("STYLE"), {
  261. textContent: `._base_1pfp4_1 {
  262. background: var(--lune-tertiary);
  263. }`,
  264. });
  265. shadowRoot.append(styleElement28);
  266.  
  267. const styleElement29 = Object.assign(document.createElement("STYLE"), {
  268. textContent: `._button_1pfp4_31:hover, ._base_1pfp4_1:hover {
  269. background: var(--lune-accent-alpha);
  270. }`,
  271. });
  272. shadowRoot.append(styleElement29);
  273.  
  274. const styleElement30 = Object.assign(document.createElement("STYLE"), {
  275. textContent: `._display_name_1pfp4_14 {
  276. color: var(--lune-accent);
  277. }`,
  278. });
  279. shadowRoot.append(styleElement30);
  280.  
  281. const styleElement31 = Object.assign(document.createElement("STYLE"), {
  282. textContent: `._base_4468k_1._online_4468k_11 {
  283. background: var(--lune-accent-light);
  284. }`,
  285. });
  286. shadowRoot.append(styleElement31);
  287.  
  288. const styleElement32 = Object.assign(document.createElement("STYLE"), {
  289. textContent: `._base_4468k_1._offline_4468k_15 {
  290. background: var(--lune-accent-dark);
  291. }`,
  292. });
  293. shadowRoot.append(styleElement32);
  294.  
  295. const styleElement33 = Object.assign(document.createElement("STYLE"), {
  296. textContent: `._middle_mdpvo_19::-webkit-scrollbar {
  297. background-color: var(--lune-secondary);
  298. }`,
  299. });
  300. shadowRoot.append(styleElement33);
  301.  
  302. const styleElement34 = Object.assign(document.createElement("STYLE"), {
  303. textContent: `._middle_mdpvo_19::-webkit-scrollbar-thumb {
  304. background: linear-gradient(180deg,var(--lune-accent) 9.35%,var(--lune-tertiary) 91.32%);
  305. }`,
  306. });
  307. shadowRoot.append(styleElement34);
  308.  
  309. const styleElement35 = Object.assign(document.createElement("STYLE"), {
  310. textContent: `._middle_mdpvo_19::-webkit-scrollbar-track {
  311. background-color: var(--lune-tertiary);
  312. }`,
  313. });
  314. shadowRoot.append(styleElement35);
  315.  
  316. const styleElement36 = Object.assign(document.createElement("STYLE"), {
  317. textContent: `._button_eftbh_1 {
  318. background: var(--lune-accent-alpha-alt2);
  319. border: 2px solid var(--lune-accent-alpha);
  320. color: var(--lune-accent);
  321. }`,
  322. });
  323. shadowRoot.append(styleElement36);
  324.  
  325. const styleElement37 = Object.assign(document.createElement("STYLE"), {
  326. textContent: `._button_eftbh_1:hover {
  327. background: var(--lune-accent-alpha);
  328. border: 2px solid var(--lune-accent-alpha-alt2);
  329. }`,
  330. });
  331. shadowRoot.append(styleElement37);
  332.  
  333. const styleElement38 = Object.assign(document.createElement("STYLE"), {
  334. textContent: `._button_1pfp4_31 {
  335. background: var(--lune-tertiary);
  336. border: 1px solid var(--lune-tertiary);
  337. }`,
  338. });
  339. shadowRoot.append(styleElement38);
  340.  
  341. const styleElement39 = Object.assign(document.createElement("STYLE"), {
  342. textContent: `._button_eftbh_1._quaternary_eftbh_53:hover {
  343. background: transparent;
  344. color: var(--lune-accent);
  345. border: 1px solid var(--lune-tertiary);
  346. fill: var(--lune-accent);
  347. }`,
  348. });
  349. shadowRoot.append(styleElement39);
  350.  
  351. const styleElement40 = Object.assign(document.createElement("STYLE"), {
  352. textContent: `._button_eftbh_1._quaternary_eftbh_53:focus {
  353. background: transparent;
  354. color: var(--lune-accent);
  355. border: 1px solid var(--lune-tertiary);
  356. }`,
  357. });
  358. shadowRoot.append(styleElement40);
  359.  
  360. const styleElement41 = Object.assign(document.createElement("STYLE"), {
  361. textContent: `._button_eftbh_1._quaternary_eftbh_53._quaternary_eftbh_53:hover path {
  362. fill: var(--lune-accent);
  363. }`,
  364. });
  365. shadowRoot.append(styleElement41);
  366.  
  367. const styleElement42 = Object.assign(document.createElement("STYLE"), {
  368. textContent: `._button_eftbh_1._quaternary_eftbh_53._quaternary_eftbh_53:focus path {
  369. fill: var(--lune-accent);
  370. }`,
  371. });
  372. shadowRoot.append(styleElement42);
  373.  
  374. const styleElement43 = Object.assign(document.createElement("STYLE"), {
  375. textContent: `._container_k54cr_1:hover {
  376. border-color: var(--lune-tertiary);
  377. }`,
  378. });
  379. shadowRoot.append(styleElement43);
  380.  
  381. const styleElement44 = Object.assign(document.createElement("STYLE"), {
  382. textContent: `._base_1oq08_1 {
  383. color: var(--lune-accent);
  384. }`,
  385. });
  386. shadowRoot.append(styleElement44);
  387.  
  388. const styleElement45 = Object.assign(document.createElement("STYLE"), {
  389. textContent: `._middle_chat_mdpvo_44 {
  390. background-color: transparent;
  391. }`,
  392. });
  393. shadowRoot.append(styleElement45);
  394.  
  395. const styleElement46 = Object.assign(document.createElement("STYLE"), {
  396. textContent: `._display_name_fmbab_13 {
  397. color: var(--lune-accent);
  398. }`,
  399. });
  400. shadowRoot.append(styleElement46);
  401.  
  402. const styleElement47 = Object.assign(document.createElement("STYLE"), {
  403. textContent: `._message_fmbab_29 {
  404. color: var(--lune-accent-light);
  405. }`,
  406. });
  407. shadowRoot.append(styleElement47);
  408.  
  409. const styleElement48 = Object.assign(document.createElement("STYLE"), {
  410. textContent: `._base_10uj4_1 {
  411. background: var(--lune-secondary);
  412. border: 2px solid var(--lune-primary);
  413. }`,
  414. });
  415. shadowRoot.append(styleElement48);
  416.  
  417. const styleElement49 = Object.assign(document.createElement("STYLE"), {
  418. textContent: `._base_fzk0m_1._warning_fzk0m_14 {
  419. background: var(--lune-accent-alpha-alt2);
  420. border: 10px solid var(--lune-accent-alpha);
  421. }`,
  422. });
  423. shadowRoot.append(styleElement49);
  424.  
  425. const styleElement50 = Object.assign(document.createElement("STYLE"), {
  426. textContent: `._h1_wlk5u_1 {
  427. color: var(--lune-accent);
  428. }`,
  429. });
  430. shadowRoot.append(styleElement50);
  431.  
  432. const styleElement51 = Object.assign(document.createElement("STYLE"), {
  433. textContent: `_p_1hyge_1 _small_1hyge_18 {
  434. color: var(--lune-accent-light);
  435. }`,
  436. });
  437. shadowRoot.append(styleElement51);
  438.  
  439. const styleElement52 = Object.assign(document.createElement("STYLE"), {
  440. textContent: `._button_eftbh_1._secondary_eftbh_27 {
  441. background: var(--lune-accent-alpha-alt2);
  442. border: 2px solid var(--lune-accent-alpha);
  443. color: var(--lune-accent);
  444. }`,
  445. });
  446. shadowRoot.append(styleElement52);
  447.  
  448. const styleElement53 = Object.assign(document.createElement("STYLE"), {
  449. textContent: `._base_10uj4_1 {
  450. background: var(--lune-secondary);
  451. border: 2px solid var(--lune-primary);
  452. }`,
  453. });
  454. shadowRoot.append(styleElement53);
  455.  
  456. const styleElement54 = Object.assign(document.createElement("STYLE"), {
  457. textContent: `._base_fzk0m_1._info_fzk0m_27 {
  458. background: var(--lune-accent-alpha-alt2);
  459. border: 10px solid var(--lune-accent-alpha);
  460. }`,
  461. });
  462. shadowRoot.append(styleElement54);
  463.  
  464. const styleElement55 = Object.assign(document.createElement("STYLE"), {
  465. textContent: `._h1_wlk5u_1 {
  466. color: var(--lune-accent);
  467. }`,
  468. });
  469. shadowRoot.append(styleElement55);
  470.  
  471. const styleElement56 = Object.assign(document.createElement("STYLE"), {
  472. textContent: `._p_1hyge_1._small_1hyge_18 {
  473. color: var(--lune-accent-light);
  474. }`,
  475. });
  476. shadowRoot.append(styleElement56);
  477.  
  478. const styleElement57 = Object.assign(document.createElement("STYLE"), {
  479. textContent: `._button_eftbh_1._secondary_eftbh_27:hover {
  480. background: var(--lune-accent-alpha);
  481. border: 2px solid var(--lune-accent-alpha-alt2);
  482. }`,
  483. });
  484. shadowRoot.append(styleElement57);
  485.  
  486. const styleElement58 = Object.assign(document.createElement("STYLE"), {
  487. textContent: `._base_h9f2n_1 {
  488. background-color: var(--lune-secondary);
  489. border: 2px solid var(--lune-tertiary);
  490. }`,
  491. });
  492. shadowRoot.append(styleElement58);
  493.  
  494. const styleElement59 = Object.assign(document.createElement("STYLE"), {
  495. textContent: `._base_vq53y_1 {
  496. background-color: var(--lune-tertiary);
  497. }`,
  498. });
  499. shadowRoot.append(styleElement59);
  500.  
  501. const styleElement60 = Object.assign(document.createElement("STYLE"), {
  502. textContent: `._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55 {
  503. color: var(--lune-accent);
  504. }`,
  505. });
  506. shadowRoot.append(styleElement60);
  507.  
  508. const styleElement61 = Object.assign(document.createElement("STYLE"), {
  509. textContent: `._base_1p6ux_1 ._action_1p6ux_70 {
  510. color: var(--lune-accent-light);
  511. }`,
  512. });
  513. shadowRoot.append(styleElement61);
  514.  
  515. const styleElement62 = Object.assign(document.createElement("STYLE"), {
  516. textContent: `._base_1p6ux_1 ._title_1p6ux_4 {
  517. color: var(--lune-accent);
  518. }`,
  519. });
  520. shadowRoot.append(styleElement62);
  521.  
  522. const styleElement63 = Object.assign(document.createElement("STYLE"), {
  523. textContent: `._base_1p6ux_1 ._subtitle_1p6ux_18 {
  524. color: var(--lune-accent-light);
  525. }`,
  526. });
  527. shadowRoot.append(styleElement63);
  528.  
  529. const styleElement64 = Object.assign(document.createElement("STYLE"), {
  530. textContent: `._base_1p6ux_1 ._link_1p6ux_33 {
  531. color: var(--lune-accent-dark);
  532. }`,
  533. });
  534. shadowRoot.append(styleElement64);
  535.  
  536. const styleElement65 = Object.assign(document.createElement("STYLE"), {
  537. textContent: `._base_1blj3_1._secondary_1blj3_51 {
  538. background: var(--lune-accent-alpha);
  539. border-color: var(--lune-accent-alpha-alt);
  540. color: var(--lune-accent);
  541. }`,
  542. });
  543. shadowRoot.append(styleElement65);
  544.  
  545. const styleElement66 = Object.assign(document.createElement("STYLE"), {
  546. textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar {
  547. background-color: var(--lune-secondary);
  548. }`,
  549. });
  550. shadowRoot.append(styleElement66);
  551.  
  552. const styleElement67 = Object.assign(document.createElement("STYLE"), {
  553. textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar-thumb {
  554. background: linear-gradient(180deg,var(--lune-accent) 9.35%,var(--lune-tertiary) 91.32%);
  555. }`,
  556. });
  557. shadowRoot.append(styleElement67);
  558.  
  559. const styleElement68 = Object.assign(document.createElement("STYLE"), {
  560. textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar-track {
  561. background-color: var(--lune-tertiary);
  562. }`,
  563. });
  564. shadowRoot.append(styleElement68);
  565.  
  566. const styleElement69 = Object.assign(document.createElement("STYLE"), {
  567. textContent: `._notif_1htaw_79 {
  568. background-color: var(--lune-accent);
  569. }`,
  570. });
  571. shadowRoot.append(styleElement69);
  572.  
  573. const styleElement70 = Object.assign(document.createElement("STYLE"), {
  574. textContent: `@keyframes _pulse_1htaw_1 {
  575. 0% {
  576. box-shadow: 0 0 var(--lune-accent-alpha);
  577. }
  578. 70% {
  579. box-shadow: 0 0 0 10px var(--lune-accent-alpha-alt);
  580. }
  581. 100% {
  582. box-shadow: 0 0 var(--lune-accent-alpha-alt2);
  583. }
  584. }`,
  585. });
  586. shadowRoot.append(styleElement70);
  587.  
  588. const styleElement71 = Object.assign(document.createElement("STYLE"), {
  589. textContent: `._success_container_mdpvo_131 {
  590. background: var(--lune-accent-alpha-alt);
  591. }`,
  592. });
  593. shadowRoot.append(styleElement71);
  594.  
  595. const styleElement72 = Object.assign(document.createElement("STYLE"), {
  596. textContent: `._neutral-800_128i6_730 {
  597. color: var(--lune-accent);
  598. }`,
  599. });
  600. shadowRoot.append(styleElement72);
  601.  
  602. // const styleElement71 = Object.assign(document.createElement("STYLE"), {
  603. // textContent: `._base_15xaj_1._small_15xaj_22, _base_pomo5_1, ._anchor_iph8a_1._small_iph8a_30, ._anchor_iph8a_1._medium_iph8a_45, ._anchor_iph8a_1._large_iph8a_61, ._anchor_iph8a_1._xlarge_iph8a_77, ._anchor_iph8a_1._xxlarge_iph8a_93, ._base_1etwz_1, ._base_1jt5b_1, ._h1_gfeel_1, ._h1_gfeel_1._character-creation_gfeel_22, ._p_7k6zl_1._small_7k6zl_6, ._p_7k6zl_1._medium_7k6zl_19, ._p_7k6zl_1._large_7k6zl_35, ._base_1etyk_1, ._base_1p7by_1, ._base_1yp6k_1, ._base_10uj4_1, ._base_dmz94_1, ._base_1s2dn_1, ._base_me7ev_1, ._base_1ar6i_1, ._h1_wlk5u_1, ._h1_wlk5u_1._character-creation_wlk5u_23, ._p_1hyge_1, ._p_1hyge_1._small_1hyge_18, ._p_1hyge_1._medium_1hyge_31, ._p_1hyge_1._large_1hyge_47, ._base_w7k20_1, ._base_kc6yf_1, ._base_935db_1, ._base_r51nd_1, ._base_r51nd_1 p:nth-child(2), ._base_157fv_1, ._base_h9f2n_1, ._base_1p6ux_1 ._title_1p6ux_4, ._base_1p6ux_1 ._subtitle_1p6ux_18, ._base_1p6ux_1 ._link_1p6ux_33, ._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55, ._base_1p6ux_1 ._action_1p6ux_70, ._base_4l9yj_1, ._button_eftbh_1._small_eftbh_83, ._button_eftbh_1._medium_eftbh_96, ._button_eftbh_1._large_eftbh_112, ._button_eftbh_1._xlarge_eftbh_128, ._button_eftbh_1._xxlarge_eftbh_144, ._base_1oq08_1, ._container_k54cr_1, ._alertContainer_pefb0_1, ._label_i08de_42, ._container_1eu90_1, ._base_12a23_1, ._base_1g3u4_1, ._base_1t9h7_1, ._base_11tkr_1, ._base_awo8o_1, ._content_awo8o_28, ._container_1unpw_1 ._content_1unpw_17, ._container_1unpw_1 ._content_1unpw_17>div:first-of-type, ._container_1unpw_1 button, ._base_n2jki_1, ._base_1blj3_1, ._display_name_1uap3_6, ._message_1uap3_23, ._display_name_fmbab_13, ._message_fmbab_29, ._base_1rnpn_1, ._display_name_1pfp4_14, ._base_12jkr_1, ._base_irauo_1, ._text-xs_128i6_1, ._text-xs_128i6_1._medium_128i6_15, ._text-xs_128i6_1._semibold_128i6_30, ._text-xs_128i6_1._bold_128i6_45, ._text-sm_128i6_60, ._text-sm_128i6_60._medium_128i6_15, ._text-sm_128i6_60._semibold_128i6_30, ._text-sm_128i6_60._bold_128i6_45, ._text-md_128i6_111, ._text-md_128i6_111._medium_128i6_15, ._text-md_128i6_111._semibold_128i6_30, ._text-md_128i6_111._bold_128i6_45, ._text-lg_128i6_170, ._text-lg_128i6_170._medium_128i6_15, ._text-lg_128i6_170._semibold_128i6_30, ._text-lg_128i6_170._bold_128i6_45, ._text-xl_128i6_229, ._text-xl_128i6_229._medium_128i6_15, ._text-xl_128i6_229._semibold_128i6_30, ._text-xl_128i6_229._bold_128i6_45, ._display-xs_128i6_289, ._display-xs_128i6_289._medium_128i6_15, ._display-xs_128i6_289._semibold_128i6_30, ._display-xs_128i6_289._bold_128i6_45, ._display-sm_128i6_348, ._display-sm_128i6_348._medium_128i6_15, ._display-sm_128i6_348._semibold_128i6_30, ._display-sm_128i6_348._bold_128i6_45, ._display-md_128i6_407, ._display-md_128i6_407._medium_128i6_15, ._display-md_128i6_407._semibold_128i6_30, ._display-md_128i6_407._bold_128i6_45, ._display-lg_128i6_466, ._display-lg_128i6_466._medium_128i6_15, ._display-lg_128i6_466._semibold_128i6_30, ._display-lg_128i6_466._bold_128i6_45, ._display-xl_128i6_525, ._display-xl_128i6_525._medium_128i6_15, ._display-xl_128i6_525._semibold_128i6_30, ._display-xl_128i6_525._bold_128i6_45, ._display-2xl_128i6_584, ._display-2xl_128i6_584._medium_128i6_15, ._display-2xl_128i6_584._semibold_128i6_30, ._display-2xl_128i6_584._bold_128i6_45, ._base_1hnq6_1, ._base_1enru_1, ._base_1b9zj_1, ._base_15xaj_1._xs_15xaj_6 {
  604. // font-family: "Varela Round", sans-serif;
  605. // font-weight: 400;
  606. // }`,
  607. // });
  608. // shadowRoot.append(styleElement71);
  609.  
  610. // setTimeout(runner, 500);
  611.  
  612. const observer = new MutationObserver(() => {
  613. const lune = moonbouncePortal.querySelectorAll("._base_15xaj_1._small_15xaj_22, ._base_irauo_1, ._display_name_fmbab_13, ._display_name_1pfp4_14, ._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55");
  614. lune.forEach(node => {
  615. if (node.textContent.includes("lunebounce :3")) {
  616. node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')";
  617. node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  618. node.style.webkitTextFillColor = "transparent";
  619. }
  620. });
  621.  
  622. const lune2 = shadowRoot.querySelectorAll(":not(iframe):not(script)");
  623. lune2.forEach(node => {
  624. if (node.textContent.includes("lunebounce :3")) {
  625. // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')";
  626. // node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  627. // node.style.webkitTextFillColor = "transparent";
  628. }
  629. });
  630.  
  631. const lune3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1");
  632. lune3.forEach(node => {
  633. if (node.textContent.includes("lunebounce :3")) {
  634. //node.style.webkitBackgroundClip = "text";
  635. node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')";
  636. node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  637. node.style.webkitTextFillColor = "transparent";
  638. //node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  639. }
  640. });
  641.  
  642. const oraithe = moonbouncePortal.querySelectorAll("._base_15xaj_1._small_15xaj_22, ._base_irauo_1, ._display_name_fmbab_13, ._display_name_1pfp4_14, ._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55");
  643. oraithe.forEach(node => {
  644. if (node.textContent.includes("Óraithe")) {
  645. node.style.background = "-webkit-linear-gradient(left, #F37607, #07DAF3)";
  646. node.style.webkitBackgroundClip = "text";
  647. node.style.webkitTextFillColor = "transparent";
  648. }
  649. });
  650.  
  651. const oraithe2 = shadowRoot.querySelectorAll(":not(iframe):not(script)");
  652. oraithe2.forEach(node => {
  653. if (node.textContent.includes("Óraithe")) {
  654. // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')";
  655. // node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  656. // node.style.webkitTextFillColor = "transparent";
  657. }
  658. });
  659.  
  660. const oriathe3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1");
  661. oriathe3.forEach(node => {
  662. if (node.textContent.includes("Óraithe")) {
  663. node.style.background = "-webkit-linear-gradient(left, #F37607, #07DAF3)";
  664. node.style.webkitBackgroundClip = "text";
  665. node.style.webkitTextFillColor = "transparent";
  666. }
  667. });
  668.  
  669. const wyv = moonbouncePortal.querySelectorAll("._base_15xaj_1._small_15xaj_22, ._base_irauo_1, ._display_name_fmbab_13, ._display_name_1pfp4_14, ._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55");
  670. wyv.forEach(node => {
  671. if (node.textContent.includes("wyv")) {
  672. node.style.background = "-webkit-radial-gradient(center, #000, #000)";
  673. node.style.textShadow = "0 0 15px #000, 0 0 18px #000, 0 0 21px #000";
  674. node.style.webkitBackgroundClip = "text";
  675. node.style.webkitTextFillColor = "transparent";
  676. }
  677. });
  678.  
  679. const wyv2 = shadowRoot.querySelectorAll(":not(iframe):not(script)");
  680. wyv2.forEach(node => {
  681. if (node.textContent.includes("wyv")) {
  682. // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')";
  683. // node.style.textShadow = "0 0 1px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 8px #aef0ff, 0 0 10px #aef0ff, 0 0 12px #aef0ff";
  684. // node.style.webkitTextFillColor = "transparent";
  685. }
  686. });
  687.  
  688. const wyv3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1");
  689. wyv3.forEach(node => {
  690. if (node.textContent.includes("wyv")) {
  691. node.style.background = "-webkit-radial-gradient(center, #000, #000)";
  692. node.style.textShadow = "0 0 15px #000, 0 0 18px #000, 0 0 21px #000";
  693. node.style.webkitBackgroundClip = "text";
  694. node.style.webkitTextFillColor = "transparent";
  695. }
  696. });
  697.  
  698. });
  699.  
  700. observer.observe(moonbouncePortal, { childList: true, subtree: true });
  701.  
  702. }
  703.  
  704. async function runner() {
  705. const timeStart = performance.now();
  706. console.log("%cAttempting to load shadow-root...", "background: #44515a; color: #aef0ff; font-size: x-large");
  707. let exists = checkPresence();
  708. if (!exists) return setTimeout(runner, 500);
  709. const timeEnd = performance.now();
  710. console.log("%cShadow-root took " + (timeEnd - timeStart) + "ms to load.", "background: #44515a; color: #aef0ff; font-size: x-large");
  711.  
  712. // inject css
  713. console.log("%cInjecting CSS...", "background: #44515a; color: #aef0ff; font-size: x-large");
  714. injectCSS();
  715. console.log("%cCSS injected.", "background: #44515a; color: #aef0ff; font-size: x-large");
  716. setTimeout(() => console.log("%c((made with <3 by lune))", "background: #44515a; color: #aef0ff; font-size: x-large; font-style: italic"), 1200);
  717. }
  718.  
  719. runner();
  720. })();