anonaddy icon indicating copy to clipboard operation
anonaddy copied to clipboard

Display favicon based on alias description

Open crazy-max opened this issue 5 years ago • 4 comments

Like Blur, it would be nice to display favicon in front of an alias if description is a valid fqdn:

image

crazy-max avatar Oct 26 '20 19:10 crazy-max

Nice idea, what do you think would be the best way to implement this? I don't really want a large number requests to third party sites and it would also go agianst the current Content Security Policy.

willbrowningme avatar Dec 02 '20 10:12 willbrowningme

@willbrowningme I'm using myself some libraries for this like https://github.com/mat/besticon (Go language). For PHP this one look good to me https://github.com/ArthurHoaro/favicon (handle cache). But there are free favicon services out there like https://favicongrabber.com/ with a strong API you can use https://favicongrabber.com/service-api-reference.

crazy-max avatar Dec 02 '20 15:12 crazy-max

Thanks for those, I wouldn't want to pull in Go just to perform this task, the PHP one looks promising.

My main concern with this would be that it could potentially "leak" information about the different websites users are creating aliases for.

For example if I was to use the favicongrabber API then they would be able to see each request and determine all the different websites that users were creating aliases for and I don't think many users would be happy about that.

Even though they wouldn't know which user was requesting the favicon they would know that it came from the AnonAddy server and I don't feel comfortable with that.

The only real option would be to download them all directly from each site using that PHP package.

willbrowningme avatar Dec 03 '20 11:12 willbrowningme

@willbrowningme

My main concern with this would be that it could potentially "leak" information about the different websites users are creating aliases for.

Hum indeed. Maybe another domain could self-host a service to do that job?

The only real option would be to download them all directly from each site using that PHP package.

Yes I think this is the preferred solution.

crazy-max avatar Jan 15 '22 20:01 crazy-max