I'm trying to download a file using HTML a tag
var a = document.createElement("a");
a.href = "floor.laz";
a.click();
I get this error:
After the browser started the download. Is there anyway to know from the code when an error like this happens?