mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
7 lines
228 B
TypeScript
7 lines
228 B
TypeScript
export function RemoveBackground() {
|
|
const backgrounds = document.getElementsByClassName("bg");
|
|
|
|
// Convert HTMLCollection to Array and remove each element
|
|
Array.from(backgrounds).forEach((element) => element.remove());
|
|
}
|