JsPDF - Not allowed to navigate top frame to data URL
问题 After updating Google Chrome, the report jsPDF in a new Window does not work any more. The console shows the message: Not allowed to navigate top frame to data URL: data:application/pdf;base64,JVBERi0xLjMKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL1.... Can you help-me? Thanks. 回答1: This works well now that chrome has removed top frame navigation. Only downloading the pdf in chrome gives problem. Download works in well in firefox tho. var string = doc.output('datauristring'); var iframe