Posted on 01-28-2021 10:58 AM
Simply trying to block Youtube on student MacBook Airs running the latest Catalina, using the Parental Controls config profile.
I get it it to stick perfectly in Safari. It comes up with a nice full page Screen Time Message.
However, in Chrome, which we use for Classroom etc, it is less effective. It comes up with a Screen Time Notification but underneath Chrome will still load Youtube and the Block seems one step behind.(obviously Safari is part of the OS and more friendly)
This seems really easy and straightforward, but I’m having a heck of a time. I know people suggest web-filtering solutions etc, but for the little amount we need to block and manage, we were hoping the tools we already pay for in Jamf would do the job for us.
Any suggestions are greatly appreciated.
Posted on 01-29-2021 02:37 AM
Posted on 01-29-2021 11:18 AM
Thanks. That looks great. Now if I understood how to package and deploy that. Is it just a script I build?
Posted on 01-29-2021 02:45 PM
Hi @saulv, you can deploy a configuration profile payload and use "Application and Custom Settings". Make a plist file with the setting you need to enforce: URLBlocklist https://support.google.com/chrome/a/answer/7532419?hl=en
The name of the plist file would be com.google.chrome and target the endpoints. The profile will enforce this preference for Chrome. Here is a quick example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URLBlocklist</key>
<string>https://www.youtube.com/</string>
</dict>
</plist>
Posted on 09-27-2021 08:38 AM
Hello @omarluna, when I make this Config profile send it to a device I see that there is an error with it when I check on it in chrome:policy. I am needing to block this some student iMac devices. I was able to get it block on safari but firefox and chrome are a different story.
Posted on 11-04-2021 09:08 AM
This is what worked for me. Just used two different URLs for testing purposes.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URLBlocklist</key>
<array>
<string>youtube.com/</string>
<string>delta.com/</string>
</array>
</dict>
</plist>
Posted on 02-20-2022 11:39 PM