frozenlink
Input text / html to generate a permanent link to share with friends
' + "" + document.getElementById("input").value + "";
let stream = new Blob([data],{type:'text/html'}).stream().pipeThrough(new CompressionStream("gzip"));
new Response(stream).arrayBuffer()
.then(rawdata => bytesToBase64DataUrl(rawdata))
.then(gzb64 => {
// console.log(gzb64);
let link = document.URL + "#" + gzb64.split("base64,")[1];
document.getElementById('output').href = link;
document.getElementById('output').innerText = link;
});
}