您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Dark Theme on Journal
当前为
// ==UserScript== // @name Better Journal // @version 1 // @description Dark Theme on Journal // @author @dsvl0 // @match https://journal.top-academy.ru/* // @icon https://www.google.com/s2/favicons?sz=64&domain=top-academy.ru // @grant none // @license MIT // @namespace https://gf.qytechs.cn/users/1212116 // ==/UserScript== let timeout=40; let loadedtimes=0; let News=0; let FeedBackTimes=0; let Administration=0; function LoadDefult(){//19c3e5 const p = document.querySelectorAll(".item-self p"); for (const element of p) { element.style.color = "white"; } const elements = document.querySelectorAll("p"); for (const element of elements) { element.style.color = "white"; } const pTags = document.querySelectorAll("p"); const aTags = document.querySelectorAll("a"); const spanTags = document.querySelectorAll("span"); const AllVals = [...pTags, ...aTags, ...spanTags, ...p]; const MakeAllButtonRound = [...document.querySelectorAll(".btn-malachite"), ...document.querySelectorAll(".signal-section .item .signal-form-container .body-form form .submit .button-block button"), ...document.querySelectorAll("button"), ...document.querySelectorAll(".homework-help, .homework-help"),]; for (const item of MakeAllButtonRound) { item.style.borderRadius = "4000px"; } const Hints = document.querySelectorAll(".counts-tooltip .tooltip-inner"); for (const wrapCount of Hints) { wrapCount.style.background = "#333333"; } const HintBorder = document.querySelectorAll(".counts-tooltip"); for (const item of HintBorder) { item.style.cssText = 'background:#333333 !important' } const Notify = document.querySelectorAll(".toast-container .toast"); for (const item of Notify) { item.style.backgroundColor = "#222222e6"; item.style.color="white"; item.style.width="auto"; } const MiniNotify = document.querySelectorAll(".toast-container .toast .ng-star-inserted"); for (const item of MiniNotify) { item.style.margin="inherit"; } const MiniNotify2 = document.querySelectorAll(".toast-container .toast .notification-success"); for (const item of MiniNotify2) { item.style.height="0px"; } const MiniNotify3 = document.querySelectorAll(".toast-container .toast .ng-star-inserted .message"); for (const item of MiniNotify3) { item.style.paddingLeft="47px"; item.style.paddingBottom="25px"; } const btns = document.querySelectorAll("a.button.malachite.referral-link"); for (const wrapCount of btns) { wrapCount.remove(); wrapCount.style.backgroundColor = "#333333"; } const wrapCounts = document.querySelectorAll(".wrap-counts"); for (const wrapCount of wrapCounts) { wrapCount.style.backgroundColor = "#333333"; } try{ const wrapCounts = document.querySelectorAll(".pos-f-t .right-block .dropdown-langs .dropdown-menu"); for (const item of wrapCounts) { item.style.backgroundColor = "#77777736"; } } catch(e){} document.querySelector(".wrapper").style.backgroundColor = "#333333"; document.querySelector(".navbar").style.backgroundColor = "#333333"; document.querySelector(".navbar").style.color = "#FFFFFF"; document.querySelector(".navbar").style.background = "#333333"; document.querySelector(".wrap-counts").style.backgroundColor = "#909090"; const CountsAndStats = document.querySelectorAll("nav.navbar.navbar-expand-lg.justify-content-between"); for (const CAS of CountsAndStats){ CAS.style.Color = "white"; } const countItems = document.querySelectorAll(".count-item"); for (const countItem of countItems) { countItem.style.color = "white"; } const navbars = document.querySelectorAll(".navbar"); for (const navs of navbars) { navs.style.backgroundColor = "#3b3b3b"; navs.style.Color = "white"; } try{document.querySelector("div#block-item-gaming").style.backgroundColor = "#3b3b3b";} catch(e){} try{document.querySelector(".right-block").style.backgroundColor = "#3b3b3b";} catch(e){} try{document.querySelector(".right-block").style.background = "#3b3b3b";} catch(e){} try{document.querySelector(".right-block").style.Color = "#FFFFFF";} catch(e){} try{document.querySelector(".homepage-wrapper .inner").style.backgroundColor = "#3b3b3b";} catch(e){} try{document.querySelector(".part.part-attendance").style.backgroundColor = "#3b3b3b";} catch(e){} try{document.querySelector(".header-title-block").style.Color = "#3b3b3b";} catch(e){} try{document.querySelector("nav.navbar.navbar-expand-lg.justify-content-between").style.backgroundColor = "#3b3b3b";} catch(e){} try{document.querySelector(".row.justify-content-center").style.borderRadius = "10px";} catch(e){} try{document.querySelector(".content").style.backgroundColor = "#3b3b3b";} catch(e){}//.homepage-wrapper .part-testing .part-container .testing-content .count-holder.items try{ document.querySelector(".homepage-wrapper .block-item-gaming").style.backgroundColor = "#3B3B3B"; } catch(e){} const AllNavBars= document.querySelectorAll(".navbar") for (const Nav of AllNavBars){ Nav.style.boxshadow = "1px 1px 15px rgb(66 66 66)"; Nav.style.margin="0 auto"; Nav.style.width="fit-content"; } var countsTooltip = document.querySelector("bs-tooltip-container.tooltip.in.tooltip-auto.bs-tooltip-auto.auto.counts-tooltip.show.bottom"); if (countsTooltip) { countsTooltip.style.background = "black !important"; } const countsTooltips = document.querySelectorAll("bs-tooltip-container.tooltip.in.tooltip-auto.bs-tooltip-auto.auto.counts-tooltip.show.bottom"); for (const countsTooltip of countsTooltips) { countsTooltip.style.background= '#333333 !important'; countsTooltip.style.WebkitBoxShadow= '0px 2px 4px rgba(0, 0, 0, 0.1)'; countsTooltip.style.boxShadow= '0px 2px 4px rgba(0, 0, 0, 0.1)'; countsTooltip.style.borderTop= '3px solid #1bd2c7'; countsTooltip.style.padding= '5px 20px'; countsTooltip.style.borderRadius= '30px'; countsTooltip.style.opacity= '1 !important'; } const spans = document.getElementsByTagName("span"); const H3Tag = document.getElementsByTagName("h3"); const H4Tag = document.getElementsByTagName("h4"); const spanElements=[...spans, ...H3Tag, ...H4Tag]; // Проходимся по каждому тегу <span> for (const span of spanElements) { // Получаем текст внутри тега const text = span.textContent.trim(); let NeedToPaint = true; let AmAUser = false; // Проверяем, является ли текст числом if (!isNaN(text)) { NeedToPaint = false; } else { // Проверяем, нет ли знака "%", если есть, то текст не число if (text.includes("%")) { NeedToPaint = false; } } if (text==="1. Ильин Савелий Данилович"){NeedToPaint=false;} // Если текст должен быть окрашен, то окрашиваем if (NeedToPaint) { span.style.color = "white"; } } const Me = document.getElementsByTagName(".homepage-wrapper ul li .main-name"); for (const span of Me) { //span.style.color="#2fb9e0"; } for (const element of AllVals) { const text = element.textContent; if (text.includes(' Миненко Алексей Павлович ') || text.includes('Миненко Алексей Павлович')) { //element.textContent="Миненко Алексей Павлович - Легендыч, Пропаныч, Миненыч"; //element.style.color="gold"; element.style.textShadow= '1px 0px 15px rgb(255,215,0)'; } } for (const pTag of AllVals) { const text = pTag.textContent; if (text==="Миненко Алексей Павлович" || text===" Миненко Алексей Павлович ") { } } return 1; } function MakeTheVote(){ try{ const Vote = document.querySelectorAll(".modal-content .rating-block"); const Modal = document.querySelectorAll(".modal-content"); const ModalTexts = document.querySelectorAll(".modal-content.flex-columns .h3"); const Texts = document.querySelectorAll(".modal-body.flex-columns"); const AllVals = [...Vote, ...Modal, ...ModalTexts, ...Texts]; for (const item of AllVals) { item.style.backgroundColor = "#222222"; item.style.Color = "white"; } const VoteButtons = document.querySelectorAll(".app-tags-input-item"); for (const item of VoteButtons) { item.style.backgroundColor = "#151515"; item.style.border = "1px solid #157526"; } const VoteButtonsActive = document.querySelectorAll(".app-tags-input-item.active"); for (const item of VoteButtonsActive) { item.style.backgroundColor = "#263926"; item.style.border = "1px solid #157526"; } for (const item of Modal) { item.style.Color = "white"; } } catch (e) {} } function Login(){ const div = document.querySelector("section#cover"); try{div.style.backgroundColor = "#33333c"; div.style.color="white";} catch(e){} const MakeItRound = document.querySelectorAll(".auth-decoration"); for (const item of MakeItRound) { item.style.borderStartEndRadius = "60px"; item.style.borderEndEndRadius="8px"; item.style.borderTop="15px solid #1ee67f"; item.style.borderStartStartRadius="8px"; item.style.borderRight="15px solid #1ee67f"; } } function Asker(){// const SetNormalPosition = document.querySelectorAll(".signal-main-wrapper__forms"); for (const item of SetNormalPosition) { item.style.width="100%"; } const FirstElements = document.querySelectorAll(".signal-section .item .signal-form-container"); for (const item of FirstElements) { item.style.background="#232323"; item.style.color="white"; item.style.borderRadius="30px"; } const DarkInputs = [...document.querySelectorAll(".signal-section .item .signal-form-container .body-form form .form-group textarea"), ...document.querySelectorAll(".form-control")]; for (const item of DarkInputs) { item.style.background="#232323"; item.style.borderRadius="15px"; item.style.color="white"; } const PaddingMenu = document.querySelectorAll(".signal-section .item .signal-form-container .body-form form .form-group select"); for (const item of PaddingMenu) { item.style.backgroundColor="#232323"; item.style.color="white"; } const BreakDisabledLock = document.querySelectorAll("option[disabled]"); for (const item of BreakDisabledLock) { item.removeAttribute('disabled'); item.value="0" } const MyAsks = document.querySelectorAll(".signal-list-section .item .signal-list-container"); for (const item of MyAsks) { item.style.backgroundColor="#232323"; item.style.borderRadius="15px"; item.style.color="white"; } const ListOfAsks = document.querySelectorAll(".signal-list-section .item .signal-list-container .body-list .row-container-list:nth-child(2n + 1)"); for (const item of ListOfAsks) { item.style.borderRadius="6px"; item.style.backgroundColor="#3e3e3e"; } const FixUnNormalBottomPosition = document.querySelectorAll(".signal-list-section .item .signal-list-container .body-list"); for (const item of FixUnNormalBottomPosition) { item.style.paddingBottom="20px"; } const FullScreenAwnsers = document.querySelectorAll(".signal-list-section"); for (const item of FullScreenAwnsers) { item.style.width="100%"; } } function MainPage(){ document.querySelector(".wrapper").style.backgroundColor = "#333333"; document.querySelector(".navbar").style.backgroundColor = "#333333"; document.querySelector(".navbar").style.color = "#FFFFFF"; document.querySelector(".navbar").style.background = "#333333"; document.querySelector(".wrap-counts").style.backgroundColor = "#909090"; try{document.querySelector(".homepage-wrapper .inner").style.boxshadow = "1 3px 3px #585858";} catch(e){} document.querySelector(".navbar").style.backgroundColor = "#333333"; document.querySelector(".navbar").style.color = "#FFFFFF"; document.querySelector(".navbar").style.background = "#333333"; document.querySelector(".navbar-expand-lg").style.background = "#333333"; document.querySelector(".wrap-counts").style.background = "#909090"; try{document.querySelector(".homepage-wrapper .block-item-gaming").style.background = "#3B3B3B";} catch(e){} try{document.querySelector(".homepage-wrapper .header-title-block").style.color = "#FFFFFF";} catch(e){} try{document.querySelector(".homepage-wrapper .header-title-block").style.backgroundColor = "#3B3B3B";} catch(e){} try{document.querySelector(".homepage-wrapper .inner").style.backgroundColor = "#3B3B3B";} catch(e){} try{document.querySelector(".homepage-wrapper .part-homeworks .homeworks-content .count-holder.items").style.background = "#3b3b3b";} catch(e){} const div = document.querySelector(".col-md-4.second-flex-block.block-item-gaming"); try{div.style.backgroundColor = "rgb(255 0 0 / 0%)";} catch(e){} const ExamsTab = document.querySelectorAll(".homepage-wrapper .part-testing .part-container .testing-content .count-holder.items"); for (const RP of ExamsTab){ RP.style.background = "#3b3b3b"; RP.style.Color = "white"; } const Wrapper = document.querySelectorAll(".wrapper"); for (const item of Wrapper){ item.style.padding = "0px"; item.style.paddingLeft = "10px"; item.style.paddingRight = "30px"; } const RatingRepaint = document.querySelectorAll(".modal-content"); for (const RP of RatingRepaint){ RP.style.background = "#3b3b3b"; RP.style.Color = "white"; } const RatingRepaint2 = document.querySelectorAll("rating.ng-untouched.ng-pristine.ng-valid"); for (const RP of RatingRepaint2){RP.style.background = "#2d2d2d";} const RatingRepaint3 = document.querySelectorAll("h4.evaluate-teach-title"); for (const RP of RatingRepaint3){RP.style.background = "#2d2d2d"; RP.style.color = "white"; } const RatingRepaint4 = document.querySelectorAll(".app-tags-input-item"); for (const RP of RatingRepaint4){RP.style.background = "#2d2d2d";} const RatingRepaint5 = document.querySelectorAll(".modal-content .rating-block"); for (const RP of RatingRepaint5){RP.style.background = "#2d2d2d";} const RatingRepaint6 = document.querySelectorAll(".rating-star svg polygon.filled"); for (const RP of RatingRepaint6){RP.style.fill = "limegreen";} const RatingRepaint7 = document.querySelectorAll(".crystal-bonus"); for (const RP of RatingRepaint7){RP.style.color = "white";} const RatingRepaint8 = document.querySelectorAll(".first-part"); for (const RP of RatingRepaint8){RP.style.color = "white";} const RatingRepaint9 = document.querySelectorAll(".third-part"); for (const RP of RatingRepaint9){RP.style.color = "white";} const RatingRepaint10 = document.querySelectorAll(".modal-body h3"); for (const RP of RatingRepaint10){RP.style.color = "white";} const inners = document.querySelectorAll(".homepage-wrapper .inner"); // Установите цвет фона for (const inner of inners) { inner.style.backgroundColor = "#3b3b3b"; inner.style.Color = "white"; inner.style.borderRadius = "20px"; } const title = document.querySelectorAll(".title"); for (let thistitle of title){ thistitle.style.color = "white"; } const countItems0 = document.querySelectorAll(".count-item"); for (const countItem of countItems0) { countItem.style.color = "white"; } // Получаем все элементы div с классом "header-title-block" // Получаем все элементы div с классом "header-title-block" const headerTitleBlocks = document.querySelectorAll(".header-title-block"); // Циклически перебираем элементы и изменяем цвет текста headerTitleBlocks.forEach((headerTitleBlock) => { // Получаем текст внутри элемента div const headerTitleText = headerTitleBlock.textContent; // Устанавливаем цвет текста headerTitleBlock.style.color = "white"; }); const TopPane = document.querySelectorAll("nav.navbar.navbar-expand-lg.justify-content-between"); TopPane.forEach((Pane) => { Pane.style.borderradius = "40px"; }); } function Shedule(){ const HwInside = document.querySelectorAll(".modal .modal-dialog .on-hover"); for (const item of HwInside) { item.style.backgroundColor = "#222222"; item.style.borderRadius="40px"; item.style.boxShadow="0px 0px 20px rgb(0 0 0 / 47%)"; } const scheduleSections = document.querySelectorAll('.schedule-section'); for (const scheduleSection of scheduleSections) { const items = scheduleSection.querySelectorAll('.item'); for (const item of items) { const contentSchedule = item.querySelector('.content-schedule'); const dayHolders = contentSchedule.querySelectorAll('.day-holder'); for (const dayHolder of dayHolders) { const notDays = dayHolder.querySelectorAll('.not-days'); for (const notDay of notDays) { notDay.style.backgroundColor = '#302D2D'; } } } } const ModCont = document.querySelectorAll(".modal-content"); for (const item of ModCont) { item.style.height = "0px"; item.style.padding = "0px 0"; } const days = document.querySelectorAll(".schedule-section .item .content-schedule .week .day"); days.forEach((day) => { day.style.backgroundColor = "#302D2D"; day.style.Color = "#ffffff"; }); const dhd = document.querySelectorAll(".schedule-section .item .content-schedule .day-holder .has-day"); dhd.forEach((day_hd) => { day_hd.style.backgroundColor = "#302D2D"; day_hd.style.Color = "white"; }); const cdsfix = document.querySelectorAll(".schedule-section .item .content-schedule .day-holder .day"); cdsfix.forEach((cdayf) => { cdayf.style.display="table-row"; cdayf.style.Color="white"; cdayf.style.borderRadius="15px"; }); const cds = document.querySelectorAll(".schedule-section .item .content-schedule .day-holder .day .active-day"); cds.forEach((cday) => { cday.style.Color="white"; cday.style.backgroundColor = "#2D782D"; cday.style.borderRadius="13px"; }); const items = document.querySelectorAll(".item"); for (const wrapCount of items) { wrapCount.style.backgroundColor = "#323232"; } const spans = document.querySelectorAll("span.mount"); // Устанавливаем цвет всех тегов на белый for (const span of spans) { span.style.color = "white"; } //SCHEDULE const shcs = document.querySelectorAll(".schedule-section .item .content-schedule"); for (const wrapCount of shcs) { wrapCount.style.borderRadius="25px"; wrapCount.style.backgroundColor = "#3b3b3b"; } //SCHEDULE const shcs2 = document.querySelectorAll(".day-holder"); for (const wrapCount of shcs2) { wrapCount.style.backgroundColor = "#3b3b3b"; } // Получаем все элементы с указанным селектором const shcs3 = document.querySelectorAll(".schedule-section .item .content-schedule .day-holder .is-today"); // Циклом перебираем все элементы for (const element of shcs3) { // Устанавливаем параметры border element.style.border = "4px solid #E77F10"; } } function Homework(){ // Найдите все элементы .homeworks-section .item-homework .item-container .item.status3 .item-image. const images = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status3 .item-image"); const images2=document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header"); const AllImgs = [...images, ...images2]; // Установите background-color всех элементов на #333333. for (const image of AllImgs) { image.style.borderradius="20px"; image.style.backgroundColor = "#101010";//3 } const AllTasks = document.querySelectorAll(".col-3.all-task"); // Установите background-color всех элементов на #333333. for (const image of AllTasks) { image.style.color="white"; } const TaskDescription = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header .name-spec .all-name-spec"); for (const image of TaskDescription) { image.style.background="#ffffff2e"; } const TaskComment = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header .info-comment"); for (const image of TaskComment) { image.style.color="white"; image.style.background="rgb(51 51 51 / 71%)"; } const PadMenu = document.querySelectorAll(".ng-select.ng-select-single .ng-select-container .ng-value-container"); // Установите background-color всех элементов на #333333. for (const image of PadMenu) { image.style.color="white"; } const Description = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header .info-content"); // Установите background-color всех элементов на #333333. for (const image of Description) { image.style.color="white"; image.style.background = "#111111"; } const DarkDEscription = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status2 .item-image"); const DarkDescrText = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status2 .item-image .header-info"); // Установите background-color всех элементов на #333333. for (const image of DarkDEscription) { image.style.background = "#101010";//1 } const Texts = document.querySelectorAll(".ng-select.ng-select-single .ng-select-container .ng-value-container, .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value"); // Установите background-color всех элементов на #333333. for (const image of Texts) { image.style.backgroundColor = "#323232"; } const FixIText = document.querySelectorAll(".ng-value-container"); // Установите background-color всех элементов на #333333. for (const FixI of FixIText) { FixI.style.color = "#FFFFFF"; } const PadMneuPrep = document.querySelectorAll(".homeworks-navigation .ng-select .ng-select-container"); const AWE = [...PadMneuPrep, ...document.querySelectorAll(".homeworks-section .homeworks-navigation")]; // Установите background-color всех элементов на #333333. for (const image of PadMneuPrep) { image.style.Color = "white"; } const PadMneu = document.querySelectorAll(".ng-dropdown-panel .scroll-host"); // Установите background-color всех элементов на #333333. for (const image of PadMneu) { image.style.backgroundColor = "#111111"; } const PadMneuFix = document.querySelectorAll(".ng-option-marked"); // Установите background-color всех элементов на #333333. for (const image of PadMneuFix) { image.style.backgroundColor = "#111111"; } const FixUpload = document.querySelectorAll(".text-homework-wrap .evaluation-feedback-wrap .evaluation-tags-item, .text-homework-answer-wrap .evaluation-feedback-wrap .evaluation-tags-item"); // Установите background-color всех элементов на #333333. for (const image of FixUpload) { image.style.borderRadius = "16px"; image.style.pading="2px 9px"; image.style.backgroundColor = "#232323"; } const HintUpload = document.querySelectorAll(".text-homework-wrap .center h6, .text-homework-answer-wrap .center h6"); for (const item of HintUpload) { item.style.color = "darkgray"; } const Inputs = [...document.querySelectorAll(".text-homework-wrap .text-homework-time-spent input:first-child, .text-homework-answer-wrap .text-homework-time-spent input:first-child"), ...document.querySelectorAll(".text-homework-wrap .text-homework-time-spent input, .text-homework-answer-wrap .text-homework-time-spent input")] for (const item of Inputs) { item.style.borderRadius = "8px"; item.style.width = "35px"; item.style.color = "wheat"; item.style.backgroundColor = "#333333"; } const FixUploadActive = document.querySelectorAll(".text-homework-wrap .evaluation-feedback-wrap .evaluation-tags-item.active, .text-homework-answer-wrap .evaluation-feedback-wrap .evaluation-tags-item.active"); // Установите background-color всех элементов на #333333. for (const image of FixUploadActive) { image.style.backgroundColor = "#616e74"; } const MakeMoreRoundly = document.querySelectorAll(".text-homework-wrap .text-homework-time-spent-wrap, .text-homework-answer-wrap .text-homework-time-spent-wrap"); for (const item of MakeMoreRoundly) { item.style.borderRadius = "12px"; } const MakeUploadRoundly = document.querySelectorAll(".modal-sm .modal-content"); for (const item of MakeUploadRoundly) { item.style.borderRadius = "30px"; } //.homeworks-section .item-homework .item-container .item // Находим все элементы, соответствующие селектору const it = document.querySelectorAll(".homeworks-section .item-homework .item-container .item"); for (const item of it) { item.style.backgroundColor = "#333333"; } const darkdescription = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header .info-content"); for (const item of darkdescription) { item.style.borderstartstartradius="20px"; item.style.borderstartendradius="20px"; item.style.backgroundColor = "#606060"; } const MakeItRound = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-header"); for (const item of MakeItRound) { item.style.borderradius="20px"; } const MakeItNormal = document.querySelectorAll(" .item-header"); for (const item of MakeItNormal) { item.style.backgroundColor = "#212020"; } const BackedHW = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status5 .item-image"); for (const image of BackedHW) { image.style.background = "#101010";//2 } const SucsessHW = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-image"); for (const image of SucsessHW) { image.style.background = "#101010";//2 } const ochomeworks = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status2 .item-footer"); ochomeworks.forEach((hwoc) => { hwoc.style.backgroundColor = "#483413"; }); const Backedworks = document.querySelectorAll(".homeworks-section .item-homework .item-container .item.status5 .item-footer"); Backedworks.forEach((hwoc) => { hwoc.style.backgroundColor = "#494949"; }); const MakeTopCorners = document.querySelectorAll(".item-header"); for (const item of MakeTopCorners) { item.style.cssText = "padding: 10px 15px; color: #a3aec8; background-color: #212020; position: relative; border-start-start-radius: 20px; border-start-end-radius: 20px; "; } const MakeEndCorners = document.querySelectorAll(".homeworks-section .item-homework .item-container .item .item-footer"); for (const item of MakeEndCorners) { item.style.cssText = "padding: 10px 15px; color: #a3aec8; background-color: #212020; position: relative; border-end-start-radius: 20px; border-end-end-radius: 20px; "; } try{ const TxtHint = document.querySelector(".filename-tooltip .tooltip-inner"); TxtHint.style.cssText = 'background-color:#222222 !important; color:white !important'} catch(e){} } function Marks(){ const attendanceAnchors = document.querySelectorAll(".progress-section .item .content-progress"); for (const aa of attendanceAnchors) { aa.style.borderRadius= "35px"; aa.style.backgroundColor = "#222222"; aa.style.Color='white'; } const PadMenu = document.querySelectorAll(".ng-select .ng-select-container"); const LeftPanel = document.querySelectorAll(".left-block-graph"); const RightPanel = document.querySelectorAll(".right-block-graph"); const AllVals = [...PadMenu, ...LeftPanel, ...RightPanel, ...document.querySelectorAll(".no-data"), ...document.querySelectorAll(".lessons"), ...document.querySelectorAll(".date")]; for (const item of AllVals) { item.style.color="White"; } const konrab=document.querySelectorAll('.progress-section .item .main-block .block-day .all-less .lessons .kr'); for (const element of konrab) { element.style.borderRadius="10px"; element.style.background = '#4a7250'; } const elements = document.querySelectorAll('.progress-section .item .content-progress .select .ng-select .ng-select-container .ng-value-container'); for (const element of elements) { element.style.backgroundColor = '#333333'; element.style.Color='white'; } const FixSomeContent=document.querySelectorAll('.progress-section .item .content-progress .description .circle'); for (const element of FixSomeContent) { element.style.Color='white'; } const ComeInTime = document.querySelectorAll('.progress-section .item .main-block .block-day .all-less .lessons'); for (const element of ComeInTime) { element.style.borderRadius="10px"; element.style.backgroundColor = '#535353'; } const Late = document.querySelectorAll('.progress-section .item .main-block .block-day .all-less .pass'); for (const element of Late ) { element.style.borderRadius="10px"; element.style.backgroundColor = '#48273a'; } } function Materials(){ const MaterialCard = [...document.querySelectorAll('.sections-lessons .lessons-block'), ...document.querySelectorAll('.section-libs .books-block'), ...document.querySelectorAll('.section-video .video-block'), ...document.querySelectorAll('.section-article .article-block'),...document.querySelectorAll('.sections-lessons .lessons-block .lesson-info .full-lesson-info'), ...document.querySelectorAll('.section-article .article-block .text-article .article-description:hover .all-description'), ...document.querySelectorAll('.sections-lessons .lessons-block .lesson-title .full-lesson-theme') ]; for (const element of MaterialCard) { element.style.color="white"; element.style.borderRadius = '20px'; element.style.background = '#222222'; element.style.boxShadow = '0px 2px 15px #000000'; } const MaterialCardFix_LastElements = [...document.querySelectorAll('.section-work .work-block .item-header'), ...document.querySelectorAll('.section-tests .test-block-index .header'), ...document.querySelectorAll('.section-work .work-block .item-footer'), ...document.querySelectorAll('.section-work .work-block .cover-block'), ...document.querySelectorAll('.section-tests .test-block-index .test-block-footer') ]; for (const element of MaterialCardFix_LastElements) { element.style.color="white"; //element.style.borderRadius = '20px'; element.style.background = '#222222'; element.style.boxShadow = '0px 2px 15px #000000'; } const MaterialCardRound = [...document.querySelectorAll(".sections-lessons .lessons-block .lessons-cover .has-image"), ...document.querySelectorAll('.sections-lessons .lessons-block')]; MaterialCardRound.forEach((element) => { element.style.borderRadius = "15px"; }); const LeftButtonPanel = document.querySelectorAll(".materials-section .libs-nav ul li"); for (const element of LeftButtonPanel) { element.style.background="#222222"; element.style.color="white"; element.style.borderRadius = "20px"; } const Divs = document.querySelectorAll(".materials-section .libs-nav ul li a"); for (const element of Divs) { element.style.color="#d3edd7"; }// const PadMenu = document.querySelectorAll(".title-group .form-group .ng-select .ng-dropdown-panel .scroll-host .ng-option"); for (const element of PadMenu) { element.style.background="#111111"; } const PadMenuRePaint = document.querySelectorAll(".title-group .form-group .ng-select .ng-select-container .ng-value-container"); for (const element of PadMenuRePaint) { element.style.color="white"; element.style.background="#171717"; } const PadMenuActive = document.querySelectorAll(".title-group .form-group .ng-select .ng-dropdown-panel .scroll-host .ng-option:hover"); for (const element of PadMenuActive) { element.style.background="#3B3B3B"; } } function MainFloat(){ const Hints2 = document.querySelectorAll(".navbar"); const secondElement = Hints2[1]; secondElement.style.borderRadius = "40px"; const PosFt = document.querySelectorAll(".pos-f-t"); for (const Ipos of PosFt){ Ipos.style.background = "#333333"; Ipos.style.paddingTop = "40px"; Ipos.style.paddingLeft = "45px"; Ipos.style.paddingRight = "45px"; } } function NewsPage(){ const Lists = document.querySelectorAll(".news-section .item .news-container"); for (const item of Lists){ item.style.background="#555"; item.style.color="white"; } const NewsPaper = document.querySelectorAll(".big-news-container"); for (const item of NewsPaper){ item.style.background="#222222"; } } function Awards(){ const Lists = document.querySelectorAll(".awards-section .item .content-awards"); for (const item of Lists){ item.style.backgroundColor="#555"; item.style.borderRadius="20px"; item.style.color="white"; } const FixUnRounded = document.querySelectorAll(".row"); for (const item of FixUnRounded){ item.style.marginLeft= '0px'; } const HowToGetIt = document.querySelectorAll(".description-of-awards"); for (const item of HowToGetIt){ item.style.background="#282828"; item.style.color="white"; item.style.height="100%"; item.style.borderRadius="30px"; } } function FeedBack(){ const TopPane = document.querySelectorAll(".feedback-col.grey-border"); TopPane.forEach((Pane) => { Pane.style.backgroundColor = "#505050"; Pane.style.borderradius="15px"; }); const AllTexts = document.querySelectorAll(".div"); TopPane.forEach((Pane) => { Pane.style.color = "white"; }); const DescriptionOfAwards = document.querySelectorAll(".feedback-section[_ngcontent-c6] .item[_ngcontent-c6] .feedback-col[_ngcontent-c6]"); for (const item of DescriptionOfAwards){item.style.borderRadius="40px";} } function Payment(){// const FirstElement = document.querySelectorAll(".payment-section .item .payment-item"); for (const item of FirstElement){ item.style.background = "#545454a1"; item.style.borderRadius = "25px"; } const FixThisUglyButton = document.querySelectorAll(".button-check"); for (const item of FixThisUglyButton) { item.style.width="100%"; } const SecondFixThisUglyButton = document.querySelectorAll(".payment-section .item .payment-item .button-check a"); for (const item of SecondFixThisUglyButton) { item.style.width="100%"; item.style.borderRadius="10px"; } const AllDivs = [...document.querySelectorAll(".title"), ...document.querySelectorAll(".table-row")]; for (const item of AllDivs) { item.style.color="wheat"; } const AllSpans = document.querySelectorAll("span"); for (const item of AllSpans) { item.style.color="white"; } } function Cabinet(){ const AllItems = [...document.querySelectorAll(".item.progress-block"),...document.querySelectorAll('.item.profile-achieve.no-refs'),...document.querySelectorAll('.span'), ...document.querySelectorAll('.conteiner-profile')]; for (const item of AllItems){ item.style.color="white"; item.style.background = "#222222"; item.style.borderRadius="30px"; } const ProfImage = document.querySelectorAll(".profile-img"); for (const item of ProfImage){ item.style.background = "#ffffff0f"; } const TextAreas = [...document.querySelectorAll("input.form-control.fio.ng-untouched.ng-pristine"),...document.querySelectorAll(".profile-block[_ngcontent-c6] .conteiner-profile[_ngcontent-c6] .form[_ngcontent-c6] form[_ngcontent-c6] .form-block[_ngcontent-c6] .form-group[_ngcontent-c6] .form-control[_ngcontent-c6]")]; for (const item of TextAreas){ item.style.color="white"; item.style.backgroundColor = "#1d1d1d"; } try{ const Hint = document.querySelectorAll(".photo-requirments-info-content"); for (const item of Hint){ item.style.color="white"; item.style.backgroundColor = "#353535d4"; item.style.borderRadius="15px"; } }catch(e){} try{ const ChangePassWordPanel = document.querySelectorAll(".item[_ngcontent-c6]"); for (const item of ChangePassWordPanel){ item.style.color="white"; item.style.backgroundColor = "#1d1d1d"; } const NewPasswords = [...document.querySelectorAll("input#oldPassword"), ...document.querySelectorAll("input#newPassword"), ...document.querySelectorAll("input#repeatNewPassword")]; for (const item of NewPasswords){ item.style.color="white"; item.style.backgroundColor = "#353535"; } } catch(e){} } function FAQ(){ const Cards = document.querySelectorAll(".faq-section .item .faq-item"); for (const item of Cards){ item.style.color="white"; item.style.backgroundColor = "#2B2B2B"; } const CardsFix = document.querySelectorAll(".faq-section .panel-group .panel-default .card-header"); for (const item of CardsFix){ item.style.color="white"; item.style.backgroundColor = "#2B2B2B"; } const MakeShadows = document.querySelectorAll(".faq-section .panel-group .panel .card"); for (const item of MakeShadows){ item.style.boxShadow="0px 0px 15px rgb(6 6 6 / 64%)"; } const Awnsers = document.querySelectorAll(".faq-section .panel-group .panel-default .panel-collapse .panel-body"); for (const item of Awnsers){ item.style.background="#2A2A2A"; } } function Market(){ const ProductItems = document.querySelectorAll(".shop-section .item .product-block"); for (const item of ProductItems){ item.style.background="#282828"; item.style.color="wheat"; item.style.borderRadius="20px"; } const ProductItemsHover = document.querySelectorAll(".shop-section .item .product-block .product-img .on-hover"); for (const item of ProductItemsHover){ item.style.backgroundColor="rgb(255 255 255 / 0%)"; item.style.border="3px solid rgb(196 196 196 / 17%)" item.style.borderStartStartRadius="20px"; item.style.borderStartEndRadius="20px"; } const Spans = document.querySelectorAll(".span"); for (const item of Spans){ item.style.color="wheat"; } const LockedButton = document.querySelectorAll("button"); for (const item of LockedButton) { item.removeAttribute('disabled'); } const ShopItems = document.querySelectorAll(".modal-basket .basket"); ShopItems.forEach((Pane) => { Pane.style.backgroundColor="#222222"; Pane.style.borderRadius="25px"; Pane.style.color="white"; }); const ModCont = document.querySelectorAll(".modal-content"); for (const item of ModCont) { item.style.height = "0px"; item.style.padding = "0px 0"; } const ItemsList = document.querySelectorAll(".modal-basket .basket .product"); ItemsList.forEach((Pane) => { Pane.style.borderRadius="20px"; Pane.style.backgroundColor="#333333"; Pane.style.color="white"; }); const Purshs = document.querySelectorAll(".my-purchases"); Purshs.forEach((Pane) => { Pane.style.borderRadius="20px"; Pane.style.backgroundColor="#333333"; Pane.style.color="white"; }); const PurshsList = document.querySelectorAll(".my-purchases .accordion .header-accordion"); PurshsList.forEach((Pane) => { Pane.style.borderRadius="20px"; Pane.style.backgroundColor="#222222"; Pane.style.color="white"; }); // const MakeButtonsBlack = document.querySelectorAll(".modal-basket .basket .product .counter .minus, .modal-basket .basket .product .counter .plus"); for (const item of MakeButtonsBlack) { item.style.backgroundColor="black"; } const MakeDescBlack = document.querySelectorAll(".modal-basket .basket .block-all .all-container"); for (const item of MakeDescBlack) { item.style.borderRadius="15px"; item.style.backgroundColor="#1e1e1e"; } const BlackInput = document.querySelectorAll(".modal-basket .basket .comment .comment-field textarea"); for (const item of BlackInput) { item.style.color="white"; item.style.backgroundColor="#1e1e1e"; } } function AdministrationPage(){ const Blocks = document.querySelectorAll(".contacts-section .item .contacts-block"); for (const item of Blocks){ item.style.color="white"; item.style.borderRadius="30px"; item.style.background="#222222"; } } function Main(){ try{MainFloat();} catch (e){} try{ const DarkLogin = document.querySelectorAll(".body"); for (const RP of DarkLogin){RP.style.background = "black";} } catch (e){} try{ let PageType = "Main"; try { const element = document.querySelector('.inner.rating-details'); // element.remove(); } catch(e){} const MakeAdRound = document.querySelectorAll(".homepage-wrapper .rating-blocks .ratings .inner.rating-details .part-details"); for (const Ipos of MakeAdRound){ Ipos.style.borderRadius = "12px"; } // Установить высоту ///inner const pTags = document.querySelectorAll("p"); const aTags = document.querySelectorAll("a"); const spanTags = document.querySelectorAll("span"); const AllVals = [...pTags, ...aTags, ...spanTags]; for (const pTag of AllVals) { const text = pTag.textContent; if (text.includes("Рейтинг")) { PageType="Main"; } if (text.includes("Календарь событий")) { PageType="SHEDULE"; } if (text.includes("Нужна помощь с домашним заданием?")) { PageType="Home"; } if (text.includes("Учебный план")) { PageType="Marks"; } if (text.includes("Рекомендованные преподавателями: ")) { PageType="Materials"; } if (text.includes("Объявления")) { News=News+1; if (News>4){ PageType="News"; } } if (text.includes("Забыли пароль?")) { PageType="Login"; } if (text.includes("Ваши награды")) { PageType="Awards"; } if (text.includes("Отзывы о студенте")) { FeedBackTimes=FeedBackTimes+1; if (FeedBackTimes>4){ PageType="FeedBack"; } } if (text.includes("Информация для оплаты")) { PageType="Payment"; } if (text.includes("заполнение")) { PageType="Cabinet"; } if (text.includes("Ответы на вопросы")) { PageType="FAQ"; } if (text.includes("Администрация")) { Administration=Administration+1 if (Administration>=5){ PageType="Adminis"; } } if (text.includes("Список обращений")) { PageType="Asker"; } if (text.includes(" Магазин ")) { PageType="Market"; } } console.log("PageType = "+PageType); FeedBackTimes=0; News=0; Administration=0; if (PageType!=="Login"){ MakeTheVote(); if (LoadDefult() == 1){ if (loadedtimes<11){ loadedtimes=loadedtimes+1; } else { timeout=300; } } } if (PageType==="Login"){ Login(); } if (PageType==="Main"){ MainPage(); } if (PageType==="SHEDULE"){ Shedule(); } if (PageType==="Home"){ Homework(); } if (PageType==="Marks"){ Marks(); } if (PageType==="Materials"){ Materials(); } if (PageType==="News"){ NewsPage(); } if (PageType==="Awards"){ Awards(); } if (PageType==="FeedBack"){ FeedBack(); } if (PageType==="Payment"){ Payment(); } if (PageType==="Cabinet"){ Cabinet(); } if (PageType==="FAQ"){ FAQ(); } if (PageType==="Adminis"){ AdministrationPage(); } if (PageType==="Asker"){ Asker(); } if (PageType==="Market"){ Market(); } setTimeout(Main, timeout); }catch(e){ if (timeout===300){console.log(e);} setTimeout(Main, 200); } }; (function() { Main(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址