If they are just regular links, then no - windows can't close themselves.
The only exception are windows that were opened using the Window.open() api - Window: close() method - Web APIs | MDN
If they are just regular links, then no - windows can't close themselves.
The only exception are windows that were opened using the Window.open() api - Window: close() method - Web APIs | MDN