const onReady = (listener) => {
if (document.readyState === 'interactive' || document.readyState === 'complete') {
listener();
} else {
window.addEventListener('DOMContentLoaded', () => listener());
}
};
fetch('/', {
headers: {
'User-Agent': 'qwe'
}
});