Page 1 of 1

Firefox - signed pdf download and open in browser

Posted: 10 Mar 2020, 16:40
by vamp
Hello there,

We are use Porteus kiosk some place that need print signed pdf. two button avaliable print and download. But the printing is not work, because first need to download after open it. (the reason is the signing)

it possible any "run_command" thing that if i click to download it open it automatically a another tab?

I found a similar theme with chrome: Porteus Kiosk - download file

it working but some problem:

- major problem. It is sensitive datas, not so good that download it and after the next people to use the Kiosk able to open or print the previous people pdf... (try session reset, 2 min, but sometime 4-5 people use the terminal one by one)

- In chrome, not possible to fully disable zooming. Old problem that some people "like" to re-set the zoom... The firefox is better, it possible to deny zoom fully.

Firefox - signed pdf download and open in browser

Posted: 11 Mar 2020, 10:44
by vamp
I try this, but not working... Miss something? Possible that change a wrong file or error in this command?

Code: Select all

run_command=sed -i 's/user_pref("browser.safebrowsing.downloads.enabled", false);/user_pref("browser.safebrowsing.downloads.enabled", true);/g' /home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js; sed -i 's/user_pref("browser.safebrowsing.downloads.remote.enabled", false);/user_pref("browser.safebrowsing.downloads.remote.enabled", true);/g' /home/guest/.mozilla/firefox/c3pp43bg.default/prefs.js
and possible to set the download folder in config?