Accessing the content of other tabs in a browser

Whilst you can easily open a new window using JavaScript, I’m sure that is as far as it goes. From a security point of view you wouldn’t want JavaScript in one tab being able to query / access the DOM in another tab. Any site would then be able to gain access to your bank account details, etc. if both sites were opened in separate tabs.

Leave a Comment