in reply to Open generated PDF in new tab/new page in HTML::Mason

Actually, you can open new windows (or tabs if the browser is set to force them) without Javascript, using target="_blank":
<a href="new_window.pdf" target="_blank">my pdf file</a>