// ==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, .primary-navbar .active a, .navbar, .ui-dialog, ui-widget-content { background: #0f161c !important; color: white !important; } .ui-dialog-titlebar-close { background: red !important; border-radius: 100%; color: white; } .ui-widget-header { background: none; border: none; } .btn, .btn-default { color: #0f161c !important; } .well { background: black !important; } .alert-warning { background: #2b1500; } tr.hoverable:hover { background: #013e6d !important; } .pale, i.pale, .directory_listing_table { color: white !important; opacity: 1; } `; document.body.appendChild(style);