Allow webRequest API to work on "blob:" URLs
Categories
(WebExtensions :: Request Handling, enhancement)
Tracking
(Not tracked)
People
(Reporter: Manuel.Spam, Unassigned)
References
Details
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.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Hooking up blob:-handlers to WebRequest takes a considerable amount of work, if at all possible.
Just adding support for blob:-URLs to webRequest wouldn't cover your use case, e.g. data:-URLs cannot be matched either.
We're more inclined to support a content handling API to support the given use case (bug 1457500).
Description
•