Add script.user.js
This commit is contained in:
parent
03f87938f0
commit
f962d6ddbb
1 changed files with 19 additions and 0 deletions
19
script.user.js
Normal file
19
script.user.js
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @name PythonAnyDark
|
||||||
|
// @namespace http://tampermonkey.net/
|
||||||
|
// @version 0.1
|
||||||
|
// @description Darkmode for PythonAnywhere dashboard
|
||||||
|
// @author Swee
|
||||||
|
// @match *://www.pythonanywhere.com/*
|
||||||
|
// @grant none
|
||||||
|
// @run-at document-body
|
||||||
|
// ==/UserScript==
|
||||||
|
|
||||||
|
const style = document.createElement("style");
|
||||||
|
style.innerHTML = `
|
||||||
|
body {
|
||||||
|
background: #0f161c !important;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
document.body.insertAdjacentElement(style);
|
Loading…
Reference in a new issue