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