69
rated 0 times
[
72]
[
3]
/ answers: 1 / hits: 8834
/ 10 Years ago, fri, june 27, 2014, 12:00:00
Basically, what I am doing is generating a PDF file on the server and showing it in the browser via javascript like this:
file = new window.Blob([data], { type: 'application/pdf' });
var fileUrl = URL.createObjectURL(file);
var wnd = window.open(fileUrl, _blank, location=no, fullscreen=yes, scrollbars=auto, width= + screen.width + ,height= + screen.height);
All this works fine but every browser is showing an ugly subtitle (something like this): blob:2da57927-311e-4b3d-a261-d2679074802c
Is there any way to get rid of this subtitle or to replace it with something meaningful?
Edited:
Here is a screen capture of the improved code (after applying VisioN's suggestion):
More From » html