标签: javascript google-chrome
PDF Viewer File Name/Title
New Tab URL
打开该标签的我的代码(Javascript)如下:
function openPdfInNewTab(pdfData) { var file = new Blob([pdfData], { type: 'application/pdf' }) var fileURL = URL.createObjectURL(file) window.open(fileURL, 'test') }