Open pdf link inside html to new window

hello

so i have problem, i was load and external site to inappbrowser, and in the site that loaded have links to open PDF files via window.open, and it won’t download nor open the files, how to make it possible? and how to open links in that site (loaded in inappbrowser) that have target attribut “_blank” to open in default browser instead of inappbrowser

sorry for my bad english

get pdf base64 string and add it to img tag

<img src="data:application/pdf;base64,{{PdfBase64Str}}" >

i don’t understand, the pdf link is in the html that i load in inappbrowser via button pdf and it can’t download nor open the file