Page 1 of 1

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 01 Dec 2020, 20:40
by ashadmin
Hello PK Community,

I am attempting to add a virtual keyboard in Chrome and following this article. viewtopic.php?f=136&t=4889. I am applying the configuration via PK Management Server and can see it successfully applying to the kiosk. Does anyone know if any of the Chrome guidelines have changed preventing installation of 3rd-party extensions? I can see Google Docs, Sheets, and Slides downloading successfully (based on the default ExtensionInstallWhitelist), but none of my custom-defined extensions are downloading. Is there something else that I am doing wrong to prevent the download of extensions?

My Chrome-Properties from the management server (server://chrome-properties) looks like this: (I have attempted to use multiple keyboards for test purposes):

Code: Select all

"URLWhitelist": [ "file:///opt/scripts/files", "chrome://newtab", "chrome://version", "chrome://extensions"],
"IncognitoModeAvailability": 1
"ExtensionInstallWhitelist": [ "lmkdlclficoecjnoooplalmbofnmpckp", "pflmllfnnabikmfkkaddkoolinlfninn", "jiahaffkmigpdgabgoeipffondmlnhdn", "lfaiipcbbikbnfcgcmaldlacamgekmnb"]
"ExtensionInstallForcelist": ["lmkdlclficoecjnoooplalmbofnmpckp;https://clients2.google.com/service/update2/crx", "pflmllfnnabikmfkkaddkoolinlfninn;https://clients2.google.com/service/update2/crx", "jiahaffkmigpdgabgoeipffondmlnhdn;https://clients2.google.com/service/update2/crx", "lfaiipcbbikbnfcgcmaldlacamgekmnb;https://clients2.google.com/service/update2/crx",]

From the Kiosk /etc/opt/chrome/policies/managed/chrome.json file --->

Code: Select all

root@2000:~# cat /etc/opt/chrome/policies/managed/chrome.json | grep -i extension
"ExtensionInstallBlacklist": ["*"],
"ExtensionInstallWhitelist": [ "aapocclcgogkmnckokdopfmhonfmgoek", "aohghmighlieiainnegkcijnfilokake", "apdfllckaahabafndbhieahigkjlhalf", "blpcfgokakmgnkcojhhkbfbldkacnbeo", "felcaaldnbdncclmgdcncolpebgiejap", "pjkljhegncpnkpknbcohdijeoejaedia",],
"URLWhitelist": [ "file:///opt/scripts/files", "chrome://newtab", "chrome://version", "chrome://extensions"],
"ExtensionInstallWhitelist": [ "lmkdlclficoecjnoooplalmbofnmpckp", "pflmllfnnabikmfkkaddkoolinlfninn", "jiahaffkmigpdgabgoeipffondmlnhdn", "lfaiipcbbikbnfcgcmaldlacamgekmnb"]
"ExtensionInstallForcelist": ["lmkdlclficoecjnoooplalmbofnmpckp;https://clients2.google.com/service/update2/crx", "pflmllfnnabikmfkkaddkoolinlfninn;https://clients2.google.com/service/update2/crx", "jiahaffkmigpdgabgoeipffondmlnhdn;https://clients2.google.com/service/update2/crx", "lfaiipcbbikbnfcgcmaldlacamgekmnb;https://clients2.google.com/service/update2/crx",]}
root@2000:~# 

Restrictions on Chrome Extensions - Issue installing 3rd party extentions

Posted: 02 Dec 2020, 08:11
by fanthom
Hello ashadmin,

Each policy must end with a comma character.
You have 3 commas missing.

Thanks

Restrictions on Chrome Extensions - Issue installing 3rd party extentions

Posted: 03 Dec 2020, 03:35
by ashadmin
Hello Fanthom,

Thank you, that was the problem!

On another related note, have you (or anyone else) worked with virtual keyboards in Chrome and found that the input is captured, but not printed to the web-browser? Using a traditional keyboard and then pushing any key on the wired keyboard triggers the virtual keyboard to 'paste' the input, however, there does not seem to be a way to use only the virtual keyboard. The issue happens with multiple virtual keyboard extensions, not one particular plug-in, so I'm afraid the issue is either PK or the hardware/browser integration. If anyone has any thoughts, please share.

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 03 Dec 2020, 08:52
by fanthom
Hello ashadmin,

Please provide an URL where i could test this.

Thanks.

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 03 Dec 2020, 17:20
by ashadmin
Hi Fanthom,

I was using multiple sites to prove that the keyboard was capturing input, but not typing content, until a key on my physical keyboard was pushed, which then 'pasted' all content. I found one site that worked, but others that do not.


https://www.editpad.org/ -- Works
https://texteditor.co/ -- Does not work -- Captures input and will paste after pushing a key on a physical keyboard
https://teamkelson.wixsite.com/cd-kiosk --> Captures input and will paste after pushing a key on a physical keyboard (shoe2020 is the access if you would like to attempt)

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 03 Dec 2020, 17:53
by ashadmin
Hi Fanthom,

If it helps, I have put together a few images and video showing the problem. https://bit.ly/37uMc9z

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 03 Dec 2020, 18:57
by fanthom
Hello ashadmin,

Chrome virtual keyboard extensions cannot work on the input fields implemented through the iframes.
This is due to Google security policies.
You may confirm this by booting Ubuntu and installing Chrome + same vk extensions (result should be the same).


I would suggest you buying customized build with Firefox and 'onboard' virtual keyboard which works everywhere (even on the URL bar).

Thanks

Restrictions on Chrome Extensions - Issue installing 3rd party extentions [SOLVED]

Posted: 03 Dec 2020, 19:44
by ashadmin
Hi Fanthom,

Thanks for the input! It's unfortunate news, but at least good to know why this is the happening.

I will submit a request to discuss a customized build. Thank you.