Forums » Privacy Browser Android Forum »
pdf download on a website never start
Added by hugo gogo over 1 year ago
I'm not sure how to gives the most details about this issue, unfortunately the download happens on a website from government so i don't think you can even create an account if you are not a french citizen : https://caf.fr/
on the home page, there is a button to download a pdf. on another android browser like chrome it works, but on PB nothing happens. i tried to make it as permissive as possible to see if the problem comes from something in the settings :
- js, cookies, DOM, form data ENABLED
- incognito mode OFF
- all blocklist setttings OFF
- all url modification settings OFF
- no proxy
but still nothing happens
If i inspect the element i can see it's an html <button> tag, with an event listener attached to it, but then I tried to follow the actions after the click event with a breakpoint and that was too complicated for me. I suppose it is an ajax action because the breakpoint was an xhr breakpoint, but i don't know if this is relevant to understand what is going on
let me know what other information you need to understand the problem better :)
Replies (3)
RE: pdf download on a website never start - Added by Soren Stoutner over 1 year ago
Most likely the problem has to do with the download being a blob (the entire file is encoded in the HTML text) instead of a URL. See #565 for a bit of explanation.
RE: pdf download on a website never start - Added by hugo gogo over 1 year ago
ok, that would be consequent with the issue of your link, because it's another french website of the government ;)
I don't really know what a blob is, but indeed the generated url is preceded by blob:
in this other issue discussion, you say "At a minimum, this will become possible with the release of Privacy WebView in the 4.x series", so it might be resolved in the future then ? If that's so, I can continue to use chrome for this particular action once in a while for the moment
RE: pdf download on a website never start - Added by Soren Stoutner over 1 year ago
Yes, this is something that will be fixed in the 4.x series with Privacy WebView. It might also be possible to fix it before then, but so far I haven't found a way to do it yet.
#867 notes that Konqueror has found a rather complex solution that appears to work with Qt WebEngine. I am going to look at implementing something similar for Privacy Browser PC. It is possible that there may be some way to apply the same solution to Android's WebView.