MetaMask v7.7.0

Defining Your App’s Icon #

When your site makes a login request to a MetaMask user, MetaMask may render a modal that display’s your site icon.

We retrieve this icon using the HTML selector head > link[rel="shortcut icon"], so to customize this icon for your site, just make sure to follow the favicon standard, and make sure to have a link tag within your site’s head with rel = "shortcut icon", like this.

The tag’s href attribute will be used for assigning the site icon.

<head>
  <link rel="shortcut icon" href="https://your-site.com/your-icon.png">
</head>
Last updated: 12/4/2019 Top