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

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
ashadmin
White ninja
White ninja
Posts: 5
Joined: 08 Jul 2020, 05:08
Distribution: Porteus Kiosk

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

Post#1 by ashadmin » 01 Dec 2020, 20:40

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:~# 
Last edited by ashadmin on 03 Dec 2020, 04:12, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Restrictions on Chrome Extensions - Issue installing 3rd party extentions

Post#2 by fanthom » 02 Dec 2020, 08:11

Hello ashadmin,

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

Thanks
Please add [Solved] to your thread title if the solution was found.

ashadmin
White ninja
White ninja
Posts: 5
Joined: 08 Jul 2020, 05:08
Distribution: Porteus Kiosk

Restrictions on Chrome Extensions - Issue installing 3rd party extentions

Post#3 by ashadmin » 03 Dec 2020, 03:35

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.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#4 by fanthom » 03 Dec 2020, 08:52

Hello ashadmin,

Please provide an URL where i could test this.

Thanks.
Please add [Solved] to your thread title if the solution was found.

ashadmin
White ninja
White ninja
Posts: 5
Joined: 08 Jul 2020, 05:08
Distribution: Porteus Kiosk

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

Post#5 by ashadmin » 03 Dec 2020, 17:20

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)

ashadmin
White ninja
White ninja
Posts: 5
Joined: 08 Jul 2020, 05:08
Distribution: Porteus Kiosk

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

Post#6 by ashadmin » 03 Dec 2020, 17:53

Hi Fanthom,

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

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#7 by fanthom » 03 Dec 2020, 18:57

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
Please add [Solved] to your thread title if the solution was found.

ashadmin
White ninja
White ninja
Posts: 5
Joined: 08 Jul 2020, 05:08
Distribution: Porteus Kiosk

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

Post#8 by ashadmin » 03 Dec 2020, 19:44

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.

Locked