This commit is contained in:
Nova Cat 2024-12-01 18:11:20 -08:00
parent 601e897e72
commit 50f795d014

View file

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name PythonAnyDark // @name PythonAnyDark
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 1 // @version 1.1
// @description Darkmode for PythonAnywhere dashboard // @description Darkmode for PythonAnywhere dashboard
// @author Swee // @author Swee
// @match *://www.pythonanywhere.com/* // @match *://www.pythonanywhere.com/*
@ -82,7 +82,7 @@ opacity: 1;
background: black; background: black;
} }
`; `;
document.body.appendChild(style); document.head.appendChild(style);
// Totally didn't take this code from Stack Overflow :3 // Totally didn't take this code from Stack Overflow :3
function waitForElm(selector) { function waitForElm(selector) {