You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When downloading this website, the base64 url generated for the iframe in the pop-up section is too large, causing the pop-up section to not be displayed.
generated page
Then convert the base64 url to a blob url and you can display it directly.
constbase64Url=""constiframe=document.querySelector('iframe');iframe.src=base64Url// blank// base64 url to blob urlvarbyteCharacters=atob(base64Url.split(',')[base64Url.split(',').length-1]);varbyteNumbers=newArray(byteCharacters.length);for(vari=0;i<byteCharacters.length;i++){byteNumbers[i]=byteCharacters.charCodeAt(i);}varbyteArray=newUint8Array(byteNumbers);console.log(base64Url.split(',')[0].split(":")[1]);varfile=newBlob([byteArray],{type: base64Url.split(',')[0].split(":")[1]});varfileURL=URL.createObjectURL(file);iframe.src=fileURL// display
base64 url,blank
blob url , display
The text was updated successfully, but these errors were encountered:
Thank you, I implemented an optimization where the top-level frames will use Blob URIs as source instead of data URIs when self-extracting the page. It should fix the issue you described (I was not able to test it with the URL of the website). The fix will be available in the next version of SingleFile. In order to be compliant with MV3 among other things, SingleFileZ has been merged into SingleFile and is not maintained anymore.
When downloading this website, the base64 url generated for the iframe in the pop-up section is too large, causing the pop-up section to not be displayed.
generated page
Then convert the base64 url to a blob url and you can display it directly.
base64 url,blank
blob url , display
The text was updated successfully, but these errors were encountered: