headTag = document.getElementsByTagName("HEAD")[0];
var link = document.createElement('link');
link.href = '<FAVICON ICON URL>';
link.rel = 'shortcut icon';
link.type = 'image/x-icon';
headTag.appendChild(link);
var link = document.createElement('link');
link.href = '<FAVICON ICON URL>';
link.rel = 'shortcut icon';
link.type = 'image/x-icon';
headTag.appendChild(link);
No comments:
Post a Comment