Showing results for 
Show  only  | Search instead for 
Did you mean: 
New member
Status: New idea

It didn't feel right to post "me too" on this ticket but it's describing exactly what I want and have been using back when chromium offered it. It's really useful and there is no reason not to offer it as opt-in.

Status changed to: New idea
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

Not applicable

With this  you can set all extened attributes you like  (or do other stuff with downloaded files)


New member

I should add that I'm personally more interested in user.xdg.referrer.url than user.xdg.origin.url. For example, so I can return from a downloaded photo to the tweet it was attached to.

New member

So I was digging in the firefox sources today and found that firefox does store the origin url, though not in extended file attributes but within gvfs-metadata. You can do this:

$ gio info --attributes=metadata:: download.png
uri: file:///home/rrika/Downloads/download.png
local path: /home/rrika/Downloads/download.png
unix mount: /dev/sda2 / ext4 rw,relatime
metadata::download-uri: https://<url_goes_here> 

Relevant code is in toolkit/components/downloads/DownloadPlatform.cpp.