Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Developer Tools shows favicon 404 error in Brackets LivePreview

I've just started doing Anthony Alicea's "Javascript: Understanding the Weird Parts" course, and he's using the live preview feature of Brackets to demo his code. The first module is a barebones HTML page with a script tag linking to an empty JS file. When I open this page in Brackets and run the live preview, Dev Tools complains the favicon file is missing.

Favicon error in Chrome Developer Tools

I know it's a minor error, but it's annoying: I'd like a clean console when I'm working through the code examples for the course. I'm not sure if it's Brackets or Dev Tools that's doing this. Is there any way I can silence the error that doesn't involve adding a dummy favicon to every section's code folder?

like image 222
And Finally Avatar asked Jun 07 '15 11:06

And Finally


People also ask

What is favicon error?

If there is no favicon. ico file at the root level of a website, when a webpage is bookmarked a 404 (file not found) error may be generated (depending on the browser used). This error will not be visible to the user, but will be shown in the website server log (traffic report).


1 Answers

To solve this error just add this reference in :

<link rel="icon" href="data:;base64,iVBORwOKGO=" />
like image 104
Vicente Fernández Avatar answered Sep 24 '22 10:09

Vicente Fernández