1
0
Fork 0

main.user.js aktualisiert
Some checks failed
QS / QS (push) Failing after 4s

This commit is contained in:
Snoweuph 2024-07-28 09:31:33 +00:00
parent 7dc9d5ac71
commit c83b3635a3

View file

@ -3,7 +3,7 @@
// @namespace https://git.euph.dev/Snoweuph
// @match https://army-forge.onepagerules.com/view*
// @grant none
// @version 1.0.2
// @version 1.0.3
// @author Snoweuph
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @require https://html2canvas.hertzen.com/dist/html2canvas.min.js
@ -52,7 +52,19 @@ function generateCards() {
}
function generateRules() {
const rules_root = document.getElementsByClassName("MuiContainer-root")[0].lastElementChild.firstElementChild.firstElementChild.firstElementChild.firstElementChild.lastElementChild
const rules_root = document.getElementsByClassName("MuiContainer-root")[0]
.lastElementChild
.firstElementChild
.firstElementChild
.firstElementChild
.firstElementChild
.lastElementChild
.firstElementChild
.firstElementChild
.firstElementChild
.firstElementChild
.firstElementChild
rules_root.style.display = "flex"
rules_root.style.flexDirection = "column"
rules_root.style.gap = "1rem"