You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Allow fetching chrome://fileicon/<path> endpoint or expose it via API. #6397
It would be useful for some types of applications to have the ability to get "resolved" icon for file or just file extension, meaning that you get icon of an app associated with this extension or mime type.
when I try to do this in Electron, I get:
GET chrome://fileicon/%2Fhome%2Fuser%2FDocuments%2FOTChET.docx?scale=1x net::ERR_INVALID_URL
changed the title [-]Fix chrome://fileicon/<path> endpoint or expose it via API.[/-][+]Allow fetching chrome://fileicon/<path> endpoint or expose it via API.[/+]on Jul 8, 2016
Activity
[-]Fix chrome://fileicon/<path> endpoint or expose it via API.[/-][+]Allow fetching chrome://fileicon/<path> endpoint or expose it via API.[/+]YurySolovyov commentedon Jul 8, 2016
I should add that using this type of URL outside of
chrome://downloadsin chrome givesYurySolovyov commentedon Jul 8, 2016
Same goes about
chrome://favicon/<url>YurySolovyov commentedon Jul 8, 2016
I may be wrong, but it seems like implementation is somewhere here
techwritescode commentedon Sep 12, 2016
+1
YurySolovyov commentedon Oct 29, 2016
@zcbenz I'm trying to implement this here https://github.com/YurySolovyov/electron/tree/image-from-icon, but I have a lot of questions, it would be great to have some guidance via email or here.
Or I can submit a WIP PR and discuss there.
deepak1556 commentedon Oct 31, 2016
👍 .Just had a look at the branch, its good.
YurySolovyov commentedon Oct 31, 2016
@deepak1556 thanks, but did you actually tried building it?
I have some linking issues there, that's why I didn't submitted it yet
deepak1556 commentedon Oct 31, 2016
Nope havn't , will try now.