Eingeschränkter Support in der Zeit vom 22.Dez bis 05. Jan 2014
In der Zeit vom 21.12.15 bis 03.01.16 arbeitet unser Büro in Münster mit einer Minimalbesetzung. Bitte haben Sie Verständnis dafür, wenn Bestellungen und die Beantwortung von Supportanfragen in dieser Zeit länger dauern, als Sie es von uns gewohnt sind. In vielen Fällen hilft auch unser Support-Center weiter....
Wir wünschen Ihnen und Ihren Familien ein frohes Weihnachtsfest, sowie einen guten Rutsch ins neue Jahr.

 

Bug Report: Chrome engine / opening pdf files

Reproduktion

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

Beschreibung

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.

Antwort: (1)

Re: Chrome engine / opening pdf files 27.10.2020 14:09
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