lundi 17 juillet 2017

how to add icon and title to the browser tab using javascript

i have to show the content in the other browsing tab. the other browsing tab is coming as an untitled tab. I have used window.open to get one more browsing tab. I want to display the head icon and the title to the tab. how to display icon and title.

my code>>

var policy =  window.open("", "_blank", "toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400");
policy.document.write("<p>result</p>");

i have to add icon and title to this policy tab.




Aucun commentaire:

Enregistrer un commentaire