MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / ResetUI

Function ResetUI

scripts/backup/code-f12-toolkit.js:574–624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

572 ResetUI();
573 },
574 ResetUI = () => {
575 Monokai.querySelectorAll(".tab").forEach((e) => {
576 e.style =
577 "display: none; position: absolute; left: 0px; right: 10px; top: 32px; bottom: 20px; margin: 10px;overflow: hidden;";
578 }),
579 Monokai.querySelectorAll(".tab.active").forEach((e) => {
580 e.style =
581 "position: absolute; absolute; left: 0px; right: 10px; top: 32px; bottom: 20px; margin: 10px;overflow: auto;";
582 }),
583 Monokai.querySelectorAll("input").forEach((e) => {
584 (e.style.height = "24px"),
585 (e.style.border = "none"),
586 (e.style.borderRadius = "12px"),
587 (e.style.paddingLeft = "10px"),
588 (e.style.paddingRight = "10px");
589 }),
590 Monokai.querySelectorAll(".btn").forEach((e) => {
591 (e.style.height = "24px"),
592 (e.style.textDecoration = "none"),
593 (e.style.color = "black"),
594 (e.style.border = "none"),
595 (e.style.borderRadius = "12px"),
596 (e.style.backgroundColor = "white"),
597 (e.style.paddingLeft = "10px"),
598 (e.style.paddingRight = "10px");
599 }),
600 Monokai.querySelectorAll(".tab-btn").forEach((e) => {
601 (e.style.height = "24px"),
602 (e.style.textDecoration = "none"),
603 (e.style.color = "white"),
604 (e.style.border = "1px solid white"),
605 (e.style.borderRadius = "12px"),
606 (e.style.backgroundColor = "black"),
607 (e.style.paddingLeft = "10px"),
608 (e.style.paddingRight = "10px"),
609 (e.style.marginLeft = "10px");
610 }),
611 Monokai.querySelectorAll(".btn-tweak").forEach((e) => {
612 (e.style.width = "100%"), (e.style.marginTop = "10px");
613 }),
614 Monokai.querySelectorAll(".tab-btn.active").forEach((e) => {
615 (e.style.height = "24px"),
616 (e.style.textDecoration = "none"),
617 (e.style.color = "black"),
618 (e.style.border = "1px solid white"),
619 (e.style.borderRadius = "12px"),
620 (e.style.backgroundColor = "white"),
621 (e.style.paddingLeft = "10px"),
622 (e.style.paddingRight = "10px");
623 });
624 };
625 ResetUI();
626 var get_friends = (e, t) => {
627 var o = new XMLHttpRequest();

Callers 2

LoggedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected