Support Request: Chrome engine / opening pdf files

Reproduction

Try to open pdf file in SK Chrome engine, it gets opened via internal pdf viewer, not external app.

Description

Hello,
right now we use Chrome engine for one of our customers.
When he opens a pdf file from web (for example pdf http://www.africau.edu/images/default/sample.pdf ), the pdf file is automatically opened inside the browser (in the SK's Chrome), which we do not want. We need to use external app for that (Adobe Acrobat Reader DC), which is allowed in SK config.

So what we need is to trigger "download" of the file, instead of automatically opening it in the browser.
I know that in the SK's Chrome Customize menu I can select various file actions (and force pdf to open externally), but the problem is that these do not trigger, unless the "download" is triggered.

Would it be possible to instruct SK's "internal Chrome engine" to download (open externally) those files?
It is possible in Chrome itself via GPO/registry ( https://getadmx.com/?Category=Chrome&Policy=Google.Policies.Chrome::AlwaysOpenPdfExternally ), but setting this does not seem to work on the Sitekiosk engine, just the Standard chrome browser app. No difference also when setting default apps in W10 for pdf files.

Answer: (1)

Re: Chrome engine / opening pdf files 10/27/2020 2:09 PM
Hello,

This is not a bug but a dedicated behavior.
If the web server does not explicitly deliver the PDF as a download (e.g. like this https://stackoverflow.com/questions/364946/how-to-make-pdf-file-downloadable-in-html-link), the linked PDF file will be opened in the SiteKiosk browser.

But you can use this command line switch to disable the PDF plugin in Chrome Browser skin:

disable-pdf-extension

Here the information how to add command line switches:
https://devblog.provisio.com/post/2016/09/19/Starting-SiteKiosk-Windows-with-Chrome-Command-Line-Switches.aspx

Regards,
Michael Olbrich
My Account
Login
Language (Tickets):