$(window).on('scroll', handler);
$(window).off('scroll', handler);
fetch("https://klike.net/uploads/posts/2021-01/1611131113_2.jpg")
.then(response => {
const last_modified = response.headers.get('last-modified');
console.log('Заголовок last-modified равен:', last_modified);
return response.blob();
})
.then(blob => {
const file = new File([blob], blob.name);
console.log('Сам файл:', file);
});