Skip to content

Instantly share code, notes, and snippets.

@megatolya
Last active December 26, 2015 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save megatolya/7210833 to your computer and use it in GitHub Desktop.
Save megatolya/7210833 to your computer and use it in GitHub Desktop.
newtab-app
chrome.tabs.onUpdated.addListener(console.log.bind(console));
{
"name": "newtab-app",
"description": "app that reproduces issue 305219",
"version": "1.0",
"manifest_version": 2,
"minimum_chrome_version": "22",
"chrome_url_overrides": {
"newtab": "newtab.html"
},
"background": {
"scripts": [
"background.js"
],
"persistent": false
}
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="shortcut icon" href="favicon.png" type="image/png">
<!--<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">-->
<!--<meta content="favicon.png" itemprop="image">-->
<!--<meta content="favicon.ico" itemprop="image">-->
</head>
<body>
<h1>Issue <a href="http://code.google.com/p/chromium/issues/detail?id=305219">305219</a></h1>
<p>This <a href="favicon.png"><img src="favicon.png"></a> and this <a href="favicon.ico"><img src="favicon.ico"></a> favicons don't display in overrided newtab page.</p>
<p>Doesn't work:</p>
<pre>
<code>
&lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.png&quot;&gt;
</code>
</pre>
<p>And this:</p>
<pre>
<code>
&lt;meta content=&quot;favicon.png&quot; itemprop=&quot;image&quot;&gt;
</code>
</pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment