My js Code, My HTML File
Simple input field for file
const input= document.getElementById("file")
input.addEventListener("change",My)
function My(e){
const file= e.target.files[0]
const blob= new Blob([file])
const url= URL.createObjectURL(blob)
console.log(url)
}
when I create a Blob Link then it is successfull created blob link and also show the blob link content( only current tab or current browser window) but problem occur when I use this blob link to incognito mode then it give error, Blob Link are blocked and also occur this problem when refresh the current browser window.
How to tackle this problem?