Last active
December 26, 2015 20:39
-
-
Save megatolya/7210833 to your computer and use it in GitHub Desktop.
newtab-app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome.tabs.onUpdated.addListener(console.log.bind(console)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> | |
<link rel="shortcut icon" href="favicon.png"> | |
</code> | |
</pre> | |
<p>And this:</p> | |
<pre> | |
<code> | |
<meta content="favicon.png" itemprop="image"> | |
</code> | |
</pre> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment