open all pdf file in new tab javascript code example Example: open pdf in new tab javascript window.open("Here Download PDF url", '_blank');