Base64 PDF in new tab shows Blank Page before Refresh

前端 未结 1 1174
北海茫月
北海茫月 2020-12-10 12:33

The title says it all really... I have a base64 pdf string which I append to: data:application/pdf;base64,

The pdf is brought into a new tab using a lin

1条回答
  •  醉梦人生
    2020-12-10 13:32

    There is a current push to disallow new windows to have the ability to navigate to a data URL Intent to Deprecate and Remove: Top-frame navigations to data URLs. The "feature" is apparently already being implemented.

    There was some objection raised to the idea, but apparently not enough; at least not yet.

    0 讨论(0)
提交回复
热议问题