With the function window.open() one can spawn auxiliary windows and tabs.
How can I get a list of the spawned auxiliary windows and tabs of the “parent” page in JavaScript?
EDIT: I’m looking for a way to do this without keeping track of the windows I create as they are created.
There is no way to do this in javascript. You need to keep track of them yourself: