time to get some sleep, graph is in stylishGraph.js and the crime monitor is in test3.js
This commit is contained in:
13
Mizzajl/home/closeAllWindows.js
Normal file
13
Mizzajl/home/closeAllWindows.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @param {NS} ns */
|
||||
export async function main(ns) {
|
||||
const doc = eval("document");
|
||||
|
||||
// Get and remove all elements with the specific container IDs
|
||||
const containers = doc.querySelectorAll('[id*="money-graph-container"]');
|
||||
|
||||
containers.forEach(container => {
|
||||
container.remove();
|
||||
});
|
||||
|
||||
ns.tprint("Removed all windows.");
|
||||
}
|
||||
Reference in New Issue
Block a user