May 30 2021 08:33 AM - edited May 30 2021 11:01 AM
I have this code here to log my excel table intothe console in my browser. But this don't work. If I create an input form it works, but without like this here not. The error: inquiry blocked. What's the problem and how can I fix this?
let link = 'https://1drv.ms/x/s!Am0AJ8jei95ji0a5ESUueGXWfU1e?e=QVv'
let blob
fetch(link)
.then( (result) => result.blob() )
.then( (blobResult) => blob = blobResult
window.onload = function(){
readXlsxFile(blob).then(function(data){
console.log(data)
})
}
Don't wonder if the link to the excel file don't work, I changed it