Files
The_Bitburner_Scripts/Mizzajl/home/RemoveBackground.js

16 lines
413 B
JavaScript

/** @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.");
}
}