-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfavicon.js
28 lines (26 loc) · 2.57 KB
/
favicon.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var base64EncodedFavicon = "\
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA\
6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAFM0lEQVRYw73Xf4xcVRUH8M+bnV06W7Q/aIGqtFiwVtRqmkjBP+q21QQSbCikrRS7sVZX1G\
gQUBIkGA0RTDAgikAMoBS6QKsmAgEF0kUhgZIQxRooBGkN/UFpF0ulM9udnfWPc194XWZnVmM8ycvMu+++c8895/v93vMybey2O+6ESTgFB7AX1\
q/rHW9uF2ZiENXx5uZWmsDiJVyCR7ExBdJq8SuwBddjSrsNltpNwFSswon4FM5oMXc21uMD+DwWtHNenkAAh/AkTsPfsQ16epbAMchQGx0dlWXZ\
IF7E+7ADu/8XGRjGd3E2VmRZ9tw9G++CRdiE32Dx3Rt+pdEYGUQferEGL7dznk0ggKMs7bwL9+LcNPxI+n94YGDLf+RvIhkYL/DOwn3nf7OZthm\
o/nw2TMbpaWjrcCN7a/nmubAMv0iLX4QHN694xeTORnea34mn8SZUvvaP5gEk+kzGEtTxOKprqlcSIL0a30zzb8SV+6vl+tr758ANOBZf+lHPbg\
uOr5ZwFb6NjhTgZRjaWLk6z/iH0nrPoZaXoA+/FoBaU0jOLKxEJV2rMGtGpZ5vYDgF7cMza4QArUK3YMgKnFTY8KfxsMBMXx5Rho8KYFXwEWgEP\
N7CvoKDfTjcLJWNUdKzvYXh1wWNc/ukoOi7sRRdJYyiH3/GVkGtNGxQKNsD6briQLV8YFn/qZkQnVPwfsw9Z9Pc0mCt45Cg7G/xIC7Ha4UAHsP2\
FOQDOJJjIMMMNITeW7+uNwehlE5n3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MTI6NTUrMDI6MD\
D4jXeOAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE0LTEwLTE0VDEwOjEyOjU1KzAyOjAwidDPMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZ\
WFkeXHJZTwAAAAASUVORK5CYII=";
var linkToFavicon = document.createElement('link');
linkToFavicon.rel = 'shortcut icon';
linkToFavicon.href = 'data:image/png;base64,' + base64EncodedFavicon;
var headElement = document.getElementsByTagName('head')[0];
headElement.appendChild(linkToFavicon);