Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Chrome with multiple icons #85

Open
adam-lynch opened this issue Jul 20, 2015 · 11 comments
Open

Not working in Chrome with multiple icons #85

adam-lynch opened this issue Jul 20, 2015 · 11 comments

Comments

@adam-lynch
Copy link

Nothing is happening.

I think it might be updating the wrong icon. I see that there's an element option but specify the simple favicon doesn't work. If a different icon is actually in use by Chrome (surely not, right?), then I don't know which I should be specifying.

So next I tried creating a favico instance for every link[rel="icon"] I have and updating all of them in a loop. That didn't work either.
#59 also doesn't help.

Any idea @ejci?

@adam-lynch
Copy link
Author

The loop method might not work because of #86

@adam-lynch
Copy link
Author

The loop method now works once I install from master (see #87)

@adam-lynch
Copy link
Author

Is that even recommended though? (Creating all those instances)

@ejci
Copy link
Owner

ejci commented Jul 20, 2015

Not the best solution but it works. I need to figure out how to do it directly in library so there will be only one instance...

@adam-lynch
Copy link
Author

Yeah that would be good.

@engelgabriel
Copy link

It would help us with RocketChat/Rocket.Chat#348

@ejci
Copy link
Owner

ejci commented Jul 27, 2015

@engelgabriel I will find a solution asap

@engelgabriel
Copy link

WOW! Thanks @ejci

@ejci ejci mentioned this issue Aug 24, 2015
@ubershmekel
Copy link
Contributor

I was hit by this as well when I tried to modify a confluence favicon.

@engelgabriel
Copy link

Hi @ejci I hope you are well... any ideas on this one?

ubershmekel added a commit to ubershmekel/favico.js that referenced this issue Jan 16, 2016
This fixes the chrome issue
ejci#85
amatriain added a commit to amatriain/feedbunch that referenced this issue Jan 26, 2016
Currently favico.js has a bug which only updates the last element with rel="icon" if there are several in the page head. This maeans that the favicon must be last in the head, particularly it must appear after the 192x192 icon (used in the mobile manifest).

Related to this favico.js bug, might become unnecessary when it is fixed:

  ejci/favico.js#85
@ml054
Copy link

ml054 commented Jan 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants