Closed tyhallcsu closed 6 months ago
The magnet ICO doesnt load on my machine due to DNS not resolving the URL sometimes depending on which internet I am using.
May I suggest an edit?
This code:
const MAGNET_ICO = "https://rarbg.torrentbay.net/static/img/magnet.gif";
Replace it with base64 URI image encoding:
const MAGNET_ICO = "data:image/png;base64,R0lGODlhDAAMAPcAAAAAAGNjY97e3v8AAP8ICP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEAAAUALAAAAAAMAAwAAAhMAAEIHEhwoICDAgQiTAhgoUKEDw9GZDhgAAEAAQIAIMBRYMWLBQps7Aig4gCMGjleLGlSoMqVJj++xMhSZscABTSyJIkzZE6CPQsEBAA7";
Not only will it save multiple calls to the magnet.gif, but it also makes sure that the image loads if the URL cannot be reached.
Hold on --- I think you already fixed this, let me check something
Nevermind, already implemented THANKS!
The magnet ICO doesnt load on my machine due to DNS not resolving the URL sometimes depending on which internet I am using.
May I suggest an edit?
This code:
const MAGNET_ICO = "https://rarbg.torrentbay.net/static/img/magnet.gif";
Replace it with base64 URI image encoding:
const MAGNET_ICO = "data:image/png;base64,R0lGODlhDAAMAPcAAAAAAGNjY97e3v8AAP8ICP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEAAAUALAAAAAAMAAwAAAhMAAEIHEhwoICDAgQiTAhgoUKEDw9GZDhgAAEAAQIAIMBRYMWLBQps7Aig4gCMGjleLGlSoMqVJj++xMhSZscABTSyJIkzZE6CPQsEBAA7";
Not only will it save multiple calls to the magnet.gif, but it also makes sure that the image loads if the URL cannot be reached.