Change vanilla favicon URLs to https.
This commit is contained in:
1 parent
4a8c59a3e6
commit
ab7f35e6d9
1 file changed
+2
-2
+2
-2
@@ -1345,7 +1345,7 @@ CM.Disp.CreateFavicon = function() {
|
|||||||
CM.Disp.Favicon = document.createElement('link');
|
CM.Disp.Favicon = document.createElement('link');
|
||||||
CM.Disp.Favicon.id = 'CMFavicon';
|
CM.Disp.Favicon.id = 'CMFavicon';
|
||||||
CM.Disp.Favicon.rel = 'shortcut icon';
|
CM.Disp.Favicon.rel = 'shortcut icon';
|
||||||
CM.Disp.Favicon.href = 'http://orteil.dashnet.org/cookieclicker/favicon.ico';
|
CM.Disp.Favicon.href = 'https://orteil.dashnet.org/cookieclicker/favicon.ico';
|
||||||
document.getElementsByTagName('head')[0].appendChild(CM.Disp.Favicon);
|
document.getElementsByTagName('head')[0].appendChild(CM.Disp.Favicon);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1359,7 +1359,7 @@ CM.Disp.UpdateFavicon = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
CM.Disp.Favicon.href = 'http://orteil.dashnet.org/cookieclicker/favicon.ico';
|
CM.Disp.Favicon.href = 'https://orteil.dashnet.org/cookieclicker/favicon.ico';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user