Skip to content
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

Downloads not counted in consumption #41

Open
alex-chambet opened this issue Sep 20, 2021 · 2 comments
Open

Downloads not counted in consumption #41

alex-chambet opened this issue Sep 20, 2021 · 2 comments

Comments

@alex-chambet
Copy link

I spend a good part of my job uploading et downloading big files (video editing) via WeTransfer or Drive. This is not taken into account for my statistics. As an example, the tracker tells me that last month I used 10105Mo of data and this is significantly lower compared to what I really used (~100Go for last month). Therefore my statistics and consumption are quite off...

Could you add a feature such that all downloads are taken into account ?

@AAABBBCCCAAAA
Copy link

AAABBBCCCAAAA commented Jan 12, 2022

We could do this simply by adding the listener:

browser.downloads.onChanged.addListener(function(downloadDelta){
       let bytes = downloadDelta.bytesReceived;
       let origin = extracthost(referrer ? referrer : url);
})

It is compatible firefox and chrome.

@AAABBBCCCAAAA
Copy link

AAABBBCCCAAAA commented Jan 13, 2022

This is done at fd68a2a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants