time to get some sleep, graph is in stylishGraph.js and the crime monitor is in test3.js

This commit is contained in:
2024-10-19 04:06:22 +02:00
parent e4bf947531
commit 6189db539a
19 changed files with 465 additions and 590 deletions

View File

@@ -0,0 +1,15 @@
/** @param {NS} ns */
export async function main(ns) {
const doc = eval("document");
// Find the background div by its ID
let backgroundDiv = doc.getElementById("terminal-background");
if (backgroundDiv) {
// Remove the background element
backgroundDiv.remove();
ns.tprint("Background removed.");
} else {
ns.tprint("No background found to remove.");
}
}