Adds favicons next to Google search results. Also works for Ecosia, StartPage and Searx.
< Commentaires sur FaviconizeGoogle
Yes I think that's simply the page requesting the site.com/favicon.ico
we added, but that particular site asks for authentication for that path.
In the latest version 1.6.0 I have told FaviconizeGoogle to fetch the image data using GM_xmlhttpRequest
. New code starts at line 126.
This should be more secure for users. No need to inject third-party icons into the Google page. (And this technique is already compulsory for Ecosia and Startpage, due to their CSP configuration.)
Disadvantages:
TamperMonkey users will need to confirm "Always Allow for All Domains" for this version of the script.
Are there any browsers/extensions where this approach does not work?
Does it work for all sites and favicon formats? (The current code expects data:application/octet-stream;
or data:image/*
)
Thanks.
Using DuckDuckGo's service is a nice idea, but I found that even in 2022, it doesn't provide good results for all websites.
For example if I search for "dune movie", the DDG service does not provide a good favicon for www.vudu.com
(I also tested vudu.com
)
Another example is "duckduckgo favicon service" and the result for help.duckduckgo.com
The existing services (ask the site directly, or ask google) seem to do a better job.
Anyway, in version 1.8.3 I have put DuckDuckGo's favicon service in the list of urlsToTry
so you can move it to the top (or delete the others) if you want.
Perhaps one day they will provide 100% coverage of all sites, then I would be happy to switch to DDG as the default.
Where is DuckDuckGo's favicon service? I found a URL here. (By the way, I don't really agree with all the complaints being made in that issue. After DDG was pressured to remove that behaviour, now when a user opens their bookmarks, 20 random sites get HTTP requests, instead of just hitting DDG's server. I'm not sure that's better! Although ... that is the default behaviour of my userscript lol.)
Seems your last version is broken, or i forget something about your default behaviour...
Revert to v.1.7.0, and it work....
I need to edit something for your last update ?
About the DuckDuckGo service:
I don't know if it should be useful for you, but...:
There’s a free, safe service by duckduckgo:
https://icons.duckduckgo.com/ip2/url.ico
for example: https://icons.duckduckgo.com/ip2/stackoverflow.com.ico
Find here:
How to get the favicon.ico from any Page [Hack The Planet]
Another thing about DuckDuckGo usage:
Switch to duckduckgo favicon service: #919 [Stylus GitHub]
PB HTTP Authentication - Use duckduckgo favicon service to provide favicon ?
Maybe should be a good idea for privacy.... Ps: I don't know why but sometime i have popup message asking login pass for some sites when i use Google with your script... TEST link:
https://www.google.com/search?ei=GWq-XqrVNeOTjLsPsd6T4AY&q=jsPopunder+ublock+origin+popcash&oq=jsPopunder+ublock+origin+popcash&gs_lcp=CgZwc3ktYWIQDDIHCCEQChCgAToECAAQR1DE2hJYxNoSYOzuEmgAcAF4AIABsAmIAfwRkgEDNy0ymAEAoAEBoAECqgEHZ3dzLXdpeg&sclient=psy-ab&ved=0ahUKEwjqxeXzz7XpAhXjCWMBHTHvBGwQ4dUDCAs
If i use this addon i have not this problem: Block HTTP Authentication