Bug 1772700 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

This feature request actually is a forward of an issue that was reported for my Android PDF viewer Add-on: https://github.com/M-Reimer/android-pdf-js/issues/21

The example URL there is: https://drive.proton.me/urls/2AZV8KM548#7Tm8waVTnial

For some unknown reason they don't just deliver the file directly with an http(s) URL but they fetch it first (and pass some additional request header when doing this so it gets impossible to "deep link" this) and then trigger the download with a "blob:" URL.

My PDF viewer Add-on is not able to handle this PDF file as, so far, the API is not able to work on blob: URLs.
This feature request actually is a forward of an issue that was reported for my Android PDF viewer Add-on: https://github.com/M-Reimer/android-pdf-js/issues/21

The example URL there is: https://drive.proton.me/urls/2AZV8KM548#7Tm8waVTnial

For some unknown reason they don't just deliver the file directly with an http(s) URL but they fetch it first (and pass some additional request header when doing this so it gets impossible to "deep link" this) and then trigger the download with a "blob:" URL.

My PDF viewer Add-on is not able to handle this PDF file as, so far, the webRequest API is not able to work on blob: URLs.
This feature request actually is a forward of an issue that was reported for my Android PDF viewer Add-on: https://github.com/M-Reimer/android-pdf-js/issues/21

The example URL, mentioned there, is: https://drive.proton.me/urls/2AZV8KM548#7Tm8waVTnial

For some unknown reason they don't just deliver the file directly with a http(s) URL but they fetch it first (and pass some additional request header when doing this so it gets impossible to "deep link" this) and then trigger the download with a "blob:" URL.

My PDF viewer Add-on is not able to handle this PDF file as, so far, the webRequest API is not able to work on blob: URLs.

Back to Bug 1772700 Comment 0