Message from JavaScript discussions

September 2020

— Is it possible to somehow avoid this. i tried opening a link with javascript, but because there is custom html content involved i have to use data uri, and apparently chrome blocks opening data uri as links

Message permanent page


regarding chrome blocking data uris

— What i’m trying to achieve is print a custom html doc without blocking the page interaction, as i have idb transactions open and i dont want them to be aborted due to timeout

Message permanent page

— The user has to click the pop-up once

— Currently i’m doing this:

var newWin="",'','target=_blank');

where result is html as string and the following script at the end:


Message permanent page

— document.close is not a function btw afaik

— It is

— Oh, what does it do?

— It closes the input stream, so that the written changes are reflected in dom

— Also I had a similar problem with the data URI and I fixed via corsproxy

— Input stream opened by write

— Til