Chrome with Adblocking & Adult Content Filtering

'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
MotherLizard
Ronin
Ronin
Posts: 2
Joined: 14 Jan 2020, 23:36
Distribution: Porteus Kiosk Cloud

Chrome with Adblocking & Adult Content Filtering

Post#1 by MotherLizard » 15 Jan 2020, 00:10

Just finished setting up Porteus Kiosk Cloud for a computer lab for the homeless and thought I'd share my Chrome configuration file.

The configuration below installs the Adblocking extension UblockOrigin and the encryption security extension HTTPS Everywhere. DownloadRestictions:1 Blocks Dangerous downloads. (You can use 2 to be even more strict or 3 to block downloads entirely.) ForceGoogleSafeSearch is self explanatory. SafeSitesFilterBehavior sets Adult Content filtering. I also set DNS settings to use CleanBrowsing's Family free DNS service for another layer of adult content blocking. Another free alternative is OpenDSN Family Shield.

Code: Select all

"DownloadRestrictions": 1,
"ForceGoogleSafeSearch": true,
"SafeSitesFilterBehavior": 1,
"ForceYouTubeRestrict": 1,
// Install Ublock and HTTPS Everywhere extensions (cjpalhdlnbpafiamejdnhcphjbkeiagm), add it to existing extensions like Google Docs and Youtube:
"ExtensionInstallWhitelist": [ "cjpalhdlnbpafiamejdnhcphjbkeiagm", "gcbommkclmclpchllfjekcdonpmejbdp", "aapocclcgogkmnckokdopfmhonfmgoek", "aohghmighlieiainnegkcijnfilokake", "apdfllckaahabafndbhieahigkjlhalf", "blpcfgokakmgnkcojhhkbfbldkacnbeo", "felcaaldnbdncclmgdcncolpebgiejap", "pjkljhegncpnkpknbcohdijeoejaedia",],
"ExtensionInstallForcelist": [ "cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx", "gcbommkclmclpchllfjekcdonpmejbdp;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",],

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

Chrome with Adblocking & Adult Content Filtering

Post#2 by fanthom » 15 Jan 2020, 09:07

Hi MotherLizard,

I got few requests about this topic already so now i can point the users to your tutorial here :)
Made it sticky.


Thank you for sharing!
Please add [Solved] to your thread title if the solution was found.

tlab11
White ninja
White ninja
Posts: 12
Joined: 05 Feb 2020, 18:14
Distribution: kiosk

Chrome with Adblocking & Adult Content Filtering

Post#3 by tlab11 » 07 Feb 2020, 18:15

where do you make the changes? where in config file? running desktop Kiosk mode.

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

Chrome with Adblocking & Adult Content Filtering

Post#4 by fanthom » 07 Feb 2020, 21:23

tlab11,

You need to include all Chrome policies in a separate file and link to it in the 'browser_preferences=' parameter:
https://porteus-kiosk.org/parameters.ht ... references

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

Grisu1
White ninja
White ninja
Posts: 9
Joined: 28 Aug 2023, 10:07
Distribution: Porteus Kiosk 5.5.0

Chrome with Adblocking & Adult Content Filtering

Post#5 by Grisu1 » 29 Aug 2023, 18:55

I have now also understood and achieved my goal.
Content of my chrome-policy.txt for loading the "Ignore X-Frame headers" extension: "gleekbfjekiniecknbkamfmkohkpodhe"

Code: Select all

"ExtensionInstallAllowlist": [ "pflmllfnnabikmfkkaddkoolinlfninn", "gleekbfjekiniecknbkamfmkohkpodhe","aapocclcgogkmnckokdopfmhonfmgoek", "aohghmighlieiainnegkcijnfilokake", "apdfllckaahabafndbhieahigkjlhalf", "blpcfgokakmgnkcojhhkbfbldkacnbeo", "felcaaldnbdncclmgdcncolpebgiejap", "pjkljhegncpnkpknbcohdijeoejaedia",],
"ExtensionInstallForcelist": [ "pflmllfnnabikmfkkaddkoolinlfninn", "gleekbfjekiniecknbkamfmkohkpodhe;https://clients2.google.com/service/update2/crx",],
And loading the policies in the central configuration file:

Code: Select all

browser_preferences=https://myweb.com/kiosks/chrome-policies.txt
browser=chrome
disable_private_mode=yes
disable_navigation_bar=yes
disable_address_bar

Locked