Web Tab Icon

Hello I've hosted my game on the browser. How can I change that little icon which is on the web tab page?



1634966327052.png
Hello again!

You can change lines 8 and 9 of index.html:
HTML:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="user-scalable=no">
        <link rel="icon" href="icon/icon.png" type="image/png">
        <link rel="apple-touch-icon" href="icon/icon.png">
        <link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
        <title>Project 5</title>
    </head>
    <body style="background-color: black">
        <script type="text/javascript" src="js/libs/pixi.js"></script>
        <script type="text/javascript" src="js/libs/fpsmeter.js"></script>
        <script type="text/javascript" src="js/libs/lz-string.js"></script>      
        <script type="text/javascript" src="js/main.js"></script>
    </body>
</html>

Or simply replace the icon.png file in the icon folder:
Open ------>Game Folder\icon\icon.png

Optimal size for different browsers on different platforms: 128x128 pixels.
Mime-type: PNG
Surprisingly, there is not icon/icon.png file in my game folder. That's why I'm surprised of that..
Only if you deleted it, but at some point you uploaded this image to the host, as the site would not use an image that never existed.
If you removed it later the browser cache preserved it.

Is your hosting common with files sent via FTP?
Yes, bluehost through filezilla
So just create the folder and put an icon inside as already informed.

No need to "like" or thank you, good luck. 👍:LZSproud:

Original thread: https://forums.rpgmakerweb.com/threads/web-tab-icon.141473/