[Solved] Adding extensions to Chrome
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
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
[Solved] Adding extensions to Chrome
Post#1 by huntar » 31 Jul 2015, 01:02
We are trying to set up kiosks and information stations here at the college and we have a time and staff investment in the Rise Vision Chrome extension Rise Player. I would like to figure out how to add it to our Porteus iso so we can use Porteus to run these displays and information stations.
Thanks in advance
huntar
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Adding extensions to Chrome
Post#2 by fanthom » 31 Jul 2015, 06:43
If Chrome wont be restarted often then you could use Chrome policies to force installation of the extension during each browser start. You will be interested in:
"ExtensionInstallAllowlist"
"ExtensionInstallForcelist"
Please follow doc from here:
https://www.chromium.org/administrators/policy-list-3
and add this parameter to your kiosk config:
http://porteus-kiosk.org/parameters.htm ... references
This method works only for Chrome which has private (incognito) mode disabled.
fanthom
Re: Adding extensions to Chrome
Post#3 by huntar » 04 Aug 2015, 19:14
I realize this is a hardware issue, but has anyone ever needed to massage the kiosk .iso files to get them to boot on finicky hardware?
If this needs moved to a different topic or section of the forum, I understand, and please do so.
Thanks
Once this thing boots I will mark this one solved
huntar
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Adding extensions to Chrome
Post#4 by fanthom » 04 Aug 2015, 20:03
If you used UEFI ISO for remastering then please make sure you run:
Code: Select all
isohybrid -u Porteus-Kiosk.iso
Code: Select all
isohybrid Porteus-Kiosk.iso
fanthom
[Solved]Re: Adding extensions to Chrome
Post#5 by huntar » 17 Aug 2015, 14:53
I won't detail the process here, as it is well documented in the references posted in the replies.
Thanks to everyone who responded!
huntar
huntar
-
- White ninja
- Posts: 4
- Joined: 11 Feb 2016, 14:22
- Distribution: porteus kiosk
- Location: france
Re: Adding extensions to Chrome
Post#6 by MisterSam » 18 Feb 2016, 13:00
Hi guysfanthom wrote:Hello huntar,
If you want to run extensions with private mode enabled than you may need to edit default master preferences:
https://www.chromium.org/administrators ... references
Both settings are saved in 003-settings.xzm module:Code: Select all
/opt/google/chrome/master_preferences
After some time to try to activate an extension in incognito mode (Undisposition) it seem that is not possible to make extension work in private mode



According to this https://code.google.com/p/chromium/issu ... 20Modified
Am i wrong or this is right
any tips are welcome
s@m
MisterSam
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: [Solved]Adding extensions to Chrome
Post#7 by fanthom » 12 Feb 2017, 17:04



Correct - this problem can be resolved through a customized build:
http://porteus-kiosk.org/builds.html
Thanks
fanthom
[Solved]Adding extensions to Chrome
Post#8 by smbenson » 08 Feb 2018, 05:29
Code: Select all
// Add TestNav App
"ExtensionInstallAllowlist" : "mdmkkicfmmkgmpkmkdikhlbggogpicma",
"ExtensionInstallForcelist" : "mdmkkicfmmkgmpkmkdikhlbggogpicma;https://clients2.google.com/service/update2/crx"
What am I missing? Please don't answer buy a custom build. Allowing simple extensions shouldn't be that tough. Adding a base template for chrome-policies.txt with examples would also be helpful as the referenced documents have incorrect syntax for these settings.
smbenson
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
[Solved]Adding extensions to Chrome
Post#9 by fanthom » 08 Feb 2018, 08:06
1) Your are missing the fact that preferences from your file OVERWRITE default kiosk preferences. This is explained in our 'browser_preferences=' parameter description. If you want Test Nav app and default Google apps available in kiosk then you need to whitelist them all and not only the Test Nav.
2) Your syntax is not correct. If for some reason you cant follow Chromium doc then please login to kiosk through ssh and run this command to find correct syntax:
Code: Select all
cat /etc/opt/chrome/policies/managed/chrome.json
fanthom
[Solved]Adding extensions to Chrome
Post#10 by smbenson » 08 Feb 2018, 16:59
Here's what I have done so far. I copied the chrome.json file from /etc/opt/policies/managed/. I inserted the whole file into my chrome-policies.txt file on my webserver. I had to remove the {'s in said file to get it to read properly, but it reads it fine after that change. I edited the list on said file, removing "ExtensionInstallBlacklist" : "*" which should allow installation of all extensions if I ready your comment and documents correctly. With this change I still can't add extensions (blocked by administrator). Is there another setting driving installing extensions? I have looked through the policy list and don't see anything else.
With ExtensionInstallBlacklist removed, the default google apps/you tube are still included, even though there is no ExtensionInstallWhitelist or ExtensionInstallForcelist policy in said file. If I add "ExtensionInstallForcelist" : "mdmkkicfmmkgmpkmkdikhlbggogpicma;https://clients2.google.com/service/update2/crx"", it reads fine, but this extension is not added to the apps and all google apps are removed. Here is the syntax from policy list example for linux - ["gbchcmhmhahfdphkhkmpfmihenigjmpp;https://clients2.google.com/service/update2/crx"]
If my syntax is incorrect for the above policy, can you please provide me the correct syntax.
If I can figure out how to a couple of testing apps, this will be a perfect solution for our school lab. I already use kiosk on thin clients there, but they don't do testing on them.
smbenson
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
[Solved]Adding extensions to Chrome
Post#11 by fanthom » 08 Feb 2018, 17:37
Code: Select all
// Install TestNav extension (mdmkkicfmmkgmpkmkdikhlbggogpicma), add it to existing extensions like Google Docs and Youtube:
"ExtensionInstallAllowlist": [ "mdmkkicfmmkgmpkmkdikhlbggogpicma", "aapocclcgogkmnckokdopfmhonfmgoek", "aohghmighlieiainnegkcijnfilokake", "apdfllckaahabafndbhieahigkjlhalf", "blpcfgokakmgnkcojhhkbfbldkacnbeo", "felcaaldnbdncclmgdcncolpebgiejap", "pjkljhegncpnkpknbcohdijeoejaedia",],
"ExtensionInstallForcelist": [ "mdmkkicfmmkgmpkmkdikhlbggogpicma;https://clients2.google.com/service/update2/crx", "aapocclcgogkmnckokdopfmhonfmgoek;https://clients2.google.com/service/update2/crx", "aohghmighlieiainnegkcijnfilokake;https://clients2.google.com/service/update2/crx", "apdfllckaahabafndbhieahigkjlhalf;https://clients2.google.com/service/update2/crx", "blpcfgokakmgnkcojhhkbfbldkacnbeo;https://clients2.google.com/service/update2/crx", "felcaaldnbdncclmgdcncolpebgiejap;https://clients2.google.com/service/update2/crx", "pjkljhegncpnkpknbcohdijeoejaedia;https://clients2.google.com/service/update2/crx",],
fanthom
[Solved]Adding extensions to Chrome
Post#12 by smbenson » 08 Feb 2018, 18:51
Just to clarify how the browser preferences work. They are nested: /etc/opt/chrome/policies/managed/chrome.json > kiosk-config.txt (if it exists and changes chrome policies) > user chrome-policy.txt (if it exists). So any policies not referenced in user chrome-policy.txt would be handled by chrome.json or kiosk-config.txt (if they exists).
Again thanks for helping me on this issue. This will solve my lab issue for testing.
smbenson