GithubHelp home page GithubHelp logo

Comments (6)

ejci avatar ejci commented on June 13, 2024

Is there anything in javascript console? Any error or something?
Does http://lab.ejci.net/favico.js/ works on your chrome?

from favico.js.

pichsenmeister avatar pichsenmeister commented on June 13, 2024

no errors or anything else in the js console. all examples on http://lab.ejci.net/favico.js/ work fine. it's really weird, so probably I'm missing something out.

from favico.js.

ejci avatar ejci commented on June 13, 2024

Your icon is on localhost... are you accessing your site also on localhost (not 127.0.0.1)? Because if icon is on different domain then favico.js cant work with the image...

from favico.js.

ejci avatar ejci commented on June 13, 2024

Did you find solution?
If no pls paste your example code that works on FF and not on Chrome.

from favico.js.

pichsenmeister avatar pichsenmeister commented on June 13, 2024

figured it out. I had another link element with

<link rel="apple-touch-icon" href="'http://localhost/img/apple-touch-icon.png" />

The favico.js badged the apple-touch-icon, which is not shown in the browser. Works fine if I remove this one. Thanks for your help!

from favico.js.

goodsprite avatar goodsprite commented on June 13, 2024

Solution for apple-touch-icon:
Place <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> after <link rel="apple-touch-icon"> icons.
But it's not working with other <link rel="icon" type="image/png">

from favico.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.