Setting The Page Title Of Chrome Window.open
I have some JavaScript that is being used to open a new window and display a PDF file. This is working fine apart from the title of the new window being open. I am using the window
Solution 1:
Works for me when I set the 1st parameter of open() to 'about:blank'
Solution 2:
You need to specify the url in the first parameter, like "about:blank":
window.open('about:blank', "window", 'resizable=1,scrollbars=0,width=800,height=600');
Solution 3:
It will work on Chrome in incognito mode. So the issue is caused by an extension, probablly adblock. Disabling the extensions will solve this issue.
Solution 4:
The pop up dialogue/window was blocked by chrome browser by default. If you change settings, that will do.
Post a Comment for "Setting The Page Title Of Chrome Window.open"