14 lines
352 B
JavaScript
14 lines
352 B
JavaScript
/** @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.");
|
|
}
|