Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| steve-old-man-ingram-infographic [2024/04/06 07:40] – steve.wang | steve-old-man-ingram-infographic [2024/04/10 22:32] (current) – removed steve.wang | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Old Man Ingram ===== | + | |
| - | < | + | |
| - | < | + | |
| - | function removeAll(){ | + | |
| - | let bodyChildren = document.body.childNodes | + | |
| - | for (let i = 0; i < bodyChildren.length; | + | |
| - | if (bodyChildren[i].id !== ' | + | |
| - | bodyChildren[i].remove() | + | |
| - | } | + | |
| - | } | + | |
| - | } | + | |
| - | </ | + | |
| - | </ | + | |