Created
January 18, 2023 06:29
-
-
Save Shaxadhere/72662c782a097fc97410f22e2639186e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let link = document.querySelector("link[rel*='icon']") || document.createElement('link'); | |
link.type = 'image/x-icon'; | |
link.rel = 'shortcut icon'; | |
link.href = msgRecivedIcon; //imported icon | |
document.getElementsByTagName('head')[0].appendChild(link); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment