You can open tabs using `var w = window.open()`, and close them using `w.close()`<p>Only thing is users must disable popup blocking for HN, in the unlikely case that you want to open more than 2 links at once, or open links when the user doesn&#x27;t click something (like onload).