您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
((made with <3 by lune))
当前为
// ==UserScript== // @name Lunebounce Theme // @namespace https://github.com/diary001/lunebounce // @supportURL https://discord.gg/mbe // @license MIT // @version 1.0.2 // @description ((made with <3 by lune)) // @author lune / linktr.ee/moon // @match *://*/* // @icon https://framerusercontent.com/images/iuVZmsE2sifPExZXNrETQrDkU.png // @grant none // ==/UserScript== (function () { "use strict"; function checkPresence() { // do ur document.getElementById etc // return if it exists return ( document.getElementById( "moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem" )?.shadowRoot != null ); } function injectCSS() { const root = document.documentElement; root.style.setProperty("--lune-primary", "#44515a"); root.style.setProperty("--lune-secondary", "#242c31"); root.style.setProperty("--lune-tertiary", "#a0a6c525"); root.style.setProperty("--lune-accent", "#aef0ff"); root.style.setProperty("--lune-accent-alpha", "rgba(173, 240, 255, 0.2)"); root.style.setProperty( "--lune-accent-alpha-alt", "rgba(173, 240, 255, 0.35)" ); root.style.setProperty( "--lune-accent-alpha-alt2", "rgba(173, 240, 255, 0.5)" ); root.style.setProperty("--lune-accent-dark", "#82e8ff"); root.style.setProperty("--lune-accent-light", "#c8f5ff"); root.style.setProperty( "--lune-accent-filter", "brightness(0) saturate(100%) invert(86%) sepia(9%) saturate(2201%) hue-rotate(171deg) brightness(107%) contrast(101%)" ); // var link = document.createElement('link'); // link.setAttribute('rel', 'stylesheet'); // link.setAttribute('type', 'text/css'); // link.setAttribute('href', 'https://fonts.googleapis.com/css2?family=Varela+Round'); // document.head.appendChild(link); const webApp = document.querySelector("body"); const shadowRoot = document.querySelector( "div#moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem" )?.shadowRoot; const moonbouncePortal = document .querySelector( "div#moonbounce-ext-container-mbheeaapbjpckahhciogfdodofjjldem" )?.shadowRoot.querySelector("#MOONBOUNCE\\.PORTAL"); if (!moonbouncePortal) { // If moonbouncePortal is not found, try again after a short delay setTimeout(injectCSS, 500); return; } const styleElement1 = Object.assign(document.createElement("STYLE"), { textContent: `._base_n7zwr_1._light_n7zwr_14 { background: var(--lune-secondary); }`, }); shadowRoot.append(styleElement1); const styleElement2 = Object.assign(document.createElement("STYLE"), { textContent: `._base_n7zwr_1 { border: 2px solid var(--lune-primary); }`, }); shadowRoot.append(styleElement2); const styleElement3 = Object.assign(document.createElement("STYLE"), { textContent: `path { fill: var(--lune-accent); }`, }); shadowRoot.append(styleElement3); const styleElement4 = Object.assign(document.createElement("STYLE"), { textContent: `._base_irauo_1 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement4); const styleElement5 = Object.assign(document.createElement("STYLE"), { textContent: `._base_5l9jc_1 { background-color: var(--lune-accent-alpha); }`, }); moonbouncePortal.append(styleElement5); const styleElement7 = Object.assign(document.createElement("STYLE"), { textContent: `._base_15xaj_1._small_15xaj_22 { color: var(--lune-accent); }`, }); moonbouncePortal.append(styleElement7); const styleElement8 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1htaw_1._secondary_1htaw_22._open_1htaw_27, ._base_1htaw_1._secondary_1htaw_22._closed_1htaw_30 { background-color: var(--lune-primary); }`, }); shadowRoot.append(styleElement8); const styleElement9 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1htaw_1._secondary_1htaw_22 { border: 2px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement9); const styleElement10 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1htaw_1._secondary_1htaw_22:hover._open_1htaw_27 { background-color: var(--lune-accent-alpha-alt); }`, }); shadowRoot.append(styleElement10); const styleElement11 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1htaw_1._secondary_1htaw_22:hover { background: var(--lune-primary); border: 2px solid var(--lune-tertiary) }`, }); shadowRoot.append(styleElement11); const styleElement12 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1b9zj_1 { background-color: var(--lune-primary); border: 2px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement12); const styleElement13 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1enru_1 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement13); const styleElement14 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1jfm3_1 { background-color: var(--lune-secondary); border: 2px solid var(--lune-primary); }`, }); shadowRoot.append(styleElement14); const styleElement15 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_mdpvo_19 { background-color: var(--lune-secondary); }`, }); shadowRoot.append(styleElement15); const styleElement16 = Object.assign(document.createElement("STYLE"), { textContent: `._base_bkmm0_1 { background-color: var(--lune-secondary); }`, }); shadowRoot.append(styleElement16); const styleElement17 = Object.assign(document.createElement("STYLE"), { textContent: `._container_k54cr_1._chat_k54cr_48 { background: var(--lune-secondary); }`, }); shadowRoot.append(styleElement17); const styleElement18 = Object.assign(document.createElement("STYLE"), { textContent: `._container_k54cr_1 { border: 2px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement18); const styleElement19 = Object.assign(document.createElement("STYLE"), { textContent: `::placeholder { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement19); const styleElement20 = Object.assign(document.createElement("STYLE"), { textContent: `._h1_gfeel_1 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement20); const styleElement21 = Object.assign(document.createElement("STYLE"), { textContent: `._p_7k6zl_1._small_7k6zl_6 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement21); const styleElement22 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._tertiary_eftbh_36 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement22); const styleElement23 = Object.assign(document.createElement("STYLE"), { textContent: `._neutral-500_128i6_721 { color: var(--lune-tertiary) !important; }`, }); shadowRoot.append(styleElement23); const styleElement24 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._tertiary_eftbh_36:hover { background: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement24); const styleElement25 = Object.assign(document.createElement("STYLE"), { textContent: `._line_mdpvo_99 { background: var(--lune-primary); }`, }); shadowRoot.append(styleElement25); const styleElement26 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._quaternary_eftbh_53 { color: var(--lune-accent); border: 1px solid var(--lune-primary) }`, }); shadowRoot.append(styleElement26); const styleElement27 = Object.assign(document.createElement("STYLE"), { textContent: `._text-sm_128i6_60 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement27); const styleElement28 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1pfp4_1 { background: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement28); const styleElement29 = Object.assign(document.createElement("STYLE"), { textContent: `._button_1pfp4_31:hover, ._base_1pfp4_1:hover { background: var(--lune-accent-alpha); }`, }); shadowRoot.append(styleElement29); const styleElement30 = Object.assign(document.createElement("STYLE"), { textContent: `._display_name_1pfp4_14 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement30); const styleElement31 = Object.assign(document.createElement("STYLE"), { textContent: `._base_4468k_1._online_4468k_11 { background: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement31); const styleElement32 = Object.assign(document.createElement("STYLE"), { textContent: `._base_4468k_1._offline_4468k_15 { background: var(--lune-accent-dark); }`, }); shadowRoot.append(styleElement32); const styleElement33 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_mdpvo_19::-webkit-scrollbar { background-color: var(--lune-secondary); }`, }); shadowRoot.append(styleElement33); const styleElement34 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_mdpvo_19::-webkit-scrollbar-thumb { background: linear-gradient(180deg,var(--lune-accent) 9.35%,var(--lune-tertiary) 91.32%); }`, }); shadowRoot.append(styleElement34); const styleElement35 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_mdpvo_19::-webkit-scrollbar-track { background-color: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement35); const styleElement36 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1 { background: var(--lune-accent-alpha-alt2); border: 2px solid var(--lune-accent-alpha); color: var(--lune-accent); }`, }); shadowRoot.append(styleElement36); const styleElement37 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1:hover { background: var(--lune-accent-alpha); border: 2px solid var(--lune-accent-alpha-alt2); }`, }); shadowRoot.append(styleElement37); const styleElement38 = Object.assign(document.createElement("STYLE"), { textContent: `._button_1pfp4_31 { background: var(--lune-tertiary); border: 1px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement38); const styleElement39 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._quaternary_eftbh_53:hover { background: transparent; color: var(--lune-accent); border: 1px solid var(--lune-tertiary); fill: var(--lune-accent); }`, }); shadowRoot.append(styleElement39); const styleElement40 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._quaternary_eftbh_53:focus { background: transparent; color: var(--lune-accent); border: 1px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement40); const styleElement41 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._quaternary_eftbh_53._quaternary_eftbh_53:hover path { fill: var(--lune-accent); }`, }); shadowRoot.append(styleElement41); const styleElement42 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._quaternary_eftbh_53._quaternary_eftbh_53:focus path { fill: var(--lune-accent); }`, }); shadowRoot.append(styleElement42); const styleElement43 = Object.assign(document.createElement("STYLE"), { textContent: `._container_k54cr_1:hover { border-color: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement43); const styleElement44 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1oq08_1 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement44); const styleElement45 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_chat_mdpvo_44 { background-color: transparent; }`, }); shadowRoot.append(styleElement45); const styleElement46 = Object.assign(document.createElement("STYLE"), { textContent: `._display_name_fmbab_13 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement46); const styleElement47 = Object.assign(document.createElement("STYLE"), { textContent: `._message_fmbab_29 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement47); const styleElement48 = Object.assign(document.createElement("STYLE"), { textContent: `._base_10uj4_1 { background: var(--lune-secondary); border: 2px solid var(--lune-primary); }`, }); shadowRoot.append(styleElement48); const styleElement49 = Object.assign(document.createElement("STYLE"), { textContent: `._base_fzk0m_1._warning_fzk0m_14 { background: var(--lune-accent-alpha-alt2); border: 10px solid var(--lune-accent-alpha); }`, }); shadowRoot.append(styleElement49); const styleElement50 = Object.assign(document.createElement("STYLE"), { textContent: `._h1_wlk5u_1 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement50); const styleElement51 = Object.assign(document.createElement("STYLE"), { textContent: `_p_1hyge_1 _small_1hyge_18 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement51); const styleElement52 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._secondary_eftbh_27 { background: var(--lune-accent-alpha-alt2); border: 2px solid var(--lune-accent-alpha); color: var(--lune-accent); }`, }); shadowRoot.append(styleElement52); const styleElement53 = Object.assign(document.createElement("STYLE"), { textContent: `._base_10uj4_1 { background: var(--lune-secondary); border: 2px solid var(--lune-primary); }`, }); shadowRoot.append(styleElement53); const styleElement54 = Object.assign(document.createElement("STYLE"), { textContent: `._base_fzk0m_1._info_fzk0m_27 { background: var(--lune-accent-alpha-alt2); border: 10px solid var(--lune-accent-alpha); }`, }); shadowRoot.append(styleElement54); const styleElement55 = Object.assign(document.createElement("STYLE"), { textContent: `._h1_wlk5u_1 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement55); const styleElement56 = Object.assign(document.createElement("STYLE"), { textContent: `._p_1hyge_1._small_1hyge_18 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement56); const styleElement57 = Object.assign(document.createElement("STYLE"), { textContent: `._button_eftbh_1._secondary_eftbh_27:hover { background: var(--lune-accent-alpha); border: 2px solid var(--lune-accent-alpha-alt2); }`, }); shadowRoot.append(styleElement57); const styleElement58 = Object.assign(document.createElement("STYLE"), { textContent: `._base_h9f2n_1 { background-color: var(--lune-secondary); border: 2px solid var(--lune-tertiary); }`, }); shadowRoot.append(styleElement58); const styleElement59 = Object.assign(document.createElement("STYLE"), { textContent: `._base_vq53y_1 { background-color: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement59); const styleElement60 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1p6ux_1 ._username_1p6ux_54, ._base_1p6ux_1 ._website_1p6ux_55 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement60); const styleElement61 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1p6ux_1 ._action_1p6ux_70 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement61); const styleElement62 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1p6ux_1 ._title_1p6ux_4 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement62); const styleElement63 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1p6ux_1 ._subtitle_1p6ux_18 { color: var(--lune-accent-light); }`, }); shadowRoot.append(styleElement63); const styleElement64 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1p6ux_1 ._link_1p6ux_33 { color: var(--lune-accent-dark); }`, }); shadowRoot.append(styleElement64); const styleElement65 = Object.assign(document.createElement("STYLE"), { textContent: `._base_1blj3_1._secondary_1blj3_51 { background: var(--lune-accent-alpha); border-color: var(--lune-accent-alpha-alt); color: var(--lune-accent); }`, }); shadowRoot.append(styleElement65); const styleElement66 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar { background-color: var(--lune-secondary); }`, }); shadowRoot.append(styleElement66); const styleElement67 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar-thumb { background: linear-gradient(180deg,var(--lune-accent) 9.35%,var(--lune-tertiary) 91.32%); }`, }); shadowRoot.append(styleElement67); const styleElement68 = Object.assign(document.createElement("STYLE"), { textContent: `._middle_chat_mdpvo_44::-webkit-scrollbar-track { background-color: var(--lune-tertiary); }`, }); shadowRoot.append(styleElement68); const styleElement69 = Object.assign(document.createElement("STYLE"), { textContent: `._notif_1htaw_79 { background-color: var(--lune-accent); }`, }); shadowRoot.append(styleElement69); const styleElement70 = Object.assign(document.createElement("STYLE"), { textContent: `@keyframes _pulse_1htaw_1 { 0% { box-shadow: 0 0 var(--lune-accent-alpha); } 70% { box-shadow: 0 0 0 10px var(--lune-accent-alpha-alt); } 100% { box-shadow: 0 0 var(--lune-accent-alpha-alt2); } }`, }); shadowRoot.append(styleElement70); const styleElement71 = Object.assign(document.createElement("STYLE"), { textContent: `._success_container_mdpvo_131 { background: var(--lune-accent-alpha-alt); }`, }); shadowRoot.append(styleElement71); const styleElement72 = Object.assign(document.createElement("STYLE"), { textContent: `._neutral-800_128i6_730 { color: var(--lune-accent); }`, }); shadowRoot.append(styleElement72); // const styleElement71 = Object.assign(document.createElement("STYLE"), { // 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 { // font-family: "Varela Round", sans-serif; // font-weight: 400; // }`, // }); // shadowRoot.append(styleElement71); // setTimeout(runner, 500); const observer = new MutationObserver(() => { 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"); lune.forEach(node => { if (node.textContent.includes("lunebounce :3")) { node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')"; 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"; node.style.webkitTextFillColor = "transparent"; } }); const lune2 = shadowRoot.querySelectorAll(":not(iframe):not(script)"); lune2.forEach(node => { if (node.textContent.includes("lunebounce :3")) { // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')"; // 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"; // node.style.webkitTextFillColor = "transparent"; } }); const lune3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1"); lune3.forEach(node => { if (node.textContent.includes("lunebounce :3")) { //node.style.webkitBackgroundClip = "text"; node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')"; 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"; node.style.webkitTextFillColor = "transparent"; //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"; } }); 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"); oraithe.forEach(node => { if (node.textContent.includes("Óraithe")) { node.style.background = "-webkit-linear-gradient(left, #F37607, #07DAF3)"; node.style.webkitBackgroundClip = "text"; node.style.webkitTextFillColor = "transparent"; } }); const oraithe2 = shadowRoot.querySelectorAll(":not(iframe):not(script)"); oraithe2.forEach(node => { if (node.textContent.includes("Óraithe")) { // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')"; // 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"; // node.style.webkitTextFillColor = "transparent"; } }); const oriathe3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1"); oriathe3.forEach(node => { if (node.textContent.includes("Óraithe")) { node.style.background = "-webkit-linear-gradient(left, #F37607, #07DAF3)"; node.style.webkitBackgroundClip = "text"; node.style.webkitTextFillColor = "transparent"; } }); 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"); wyv.forEach(node => { if (node.textContent.includes("wyv")) { node.style.background = "-webkit-radial-gradient(center, #000, #000)"; node.style.textShadow = "0 0 15px #000, 0 0 18px #000, 0 0 21px #000"; node.style.webkitBackgroundClip = "text"; node.style.webkitTextFillColor = "transparent"; } }); const wyv2 = shadowRoot.querySelectorAll(":not(iframe):not(script)"); wyv2.forEach(node => { if (node.textContent.includes("wyv")) { // node.style.backgroundImage = "url('https://i.ibb.co/47v9bVs/U0hpDMb.gif')"; // 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"; // node.style.webkitTextFillColor = "transparent"; } }); const wyv3 = webApp.querySelectorAll("._neutral-700_128i6_727, ._base_irauo_1"); wyv3.forEach(node => { if (node.textContent.includes("wyv")) { node.style.background = "-webkit-radial-gradient(center, #000, #000)"; node.style.textShadow = "0 0 15px #000, 0 0 18px #000, 0 0 21px #000"; node.style.webkitBackgroundClip = "text"; node.style.webkitTextFillColor = "transparent"; } }); }); observer.observe(moonbouncePortal, { childList: true, subtree: true }); } async function runner() { const timeStart = performance.now(); console.log("%cAttempting to load shadow-root...", "background: #44515a; color: #aef0ff; font-size: x-large"); let exists = checkPresence(); if (!exists) return setTimeout(runner, 500); const timeEnd = performance.now(); console.log("%cShadow-root took " + (timeEnd - timeStart) + "ms to load.", "background: #44515a; color: #aef0ff; font-size: x-large"); // inject css console.log("%cInjecting CSS...", "background: #44515a; color: #aef0ff; font-size: x-large"); injectCSS(); console.log("%cCSS injected.", "background: #44515a; color: #aef0ff; font-size: x-large"); setTimeout(() => console.log("%c((made with <3 by lune))", "background: #44515a; color: #aef0ff; font-size: x-large; font-style: italic"), 1200); } runner(); })();