time to get some sleep, graph is in stylishGraph.js and the crime monitor is in test3.js
This commit is contained in:
15
Mizzajl/home/RemoveBackground.js
Normal file
15
Mizzajl/home/RemoveBackground.js
Normal 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.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user