javascript - how to remove browser's title and add my title dynamically in middle of titlebar -
here m trying set title of website dynamically using javascript, how set in middle of title-bar , , how remove -mozilla firefox / google chrome text in end of title.. possible?
document.title = " " + data;
one more thing..
i added favicon website,
<link rel="image_src" id="favicon" href="http://aaaaaa.com/logo.png" />
its works perfactly , other page popout main page.. not working, mean not displaying logo/img..
also try below function not work popout window.....
(function() { var link = document.createelement('link'); link.type = 'image/x-icon'; link.rel = 'shortcut icon'; link.href = 'http://www.aaaaaa.com/logo.png'; document.getelementsbytagname('head')[0].appendchild(link); }());
what should wrong pop out window...!!!
Comments
Post a Comment