-
Notifications
You must be signed in to change notification settings - Fork 19
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
[BUG] Fetching favicon fails at runtime(404 Error) #2
Comments
Approach: handling fallbacks in |
Hi, I would like to take a look at this issue too, could you please assign it to me? |
@MRodriguez-M you can look for the solution. If you find any, let me know here first |
@yashchaudhari008 I would like to try this as I have worked on similar issues in past |
@yashchaudhari008 I have tried 1 solution that did not work. The reason is that even if we try to fetch the icon from API, it will be rejected by the servers due to CORS policy. |
We can also use CORS mask services like this -> https://cors.sh/ |
Can you check whether it is possible to get favicons from Chrome cached favicons |
Favicon storage varies by OS. Storage path are also different: Link |
Issue: Currently, while fetching the favicon if any error occurs there is no fallback favicon. Also fallback src doesn't work as this fails at runtime
Possible Solution: handle this in
onerror
attribute of<img />
tag. Also try to usechrome://favicon
for fetching favicon.The text was updated successfully, but these errors were encountered: