Answer the question
In order to leave comments, you need to log in
How to get file size from URL using js?
The URL of the image comes to the page (from another site to which there is no access on the server side), and it is necessary to understand on the client side using JS how much this image weighs (before loading it). When downloading, the browser knows how much the downloaded file weighs, but is it possible to find out using JS?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question