Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Explorare
Last active November 28, 2022 05:54
Show Gist options
  • Star 68 You must be signed in to star a gist
  • Fork 25 You must be signed in to fork a gist
  • Save Explorare/be3dd598289252698cd37bca04abd0fe to your computer and use it in GitHub Desktop.
Save Explorare/be3dd598289252698cd37bca04abd0fe to your computer and use it in GitHub Desktop.
Add local chrome extensions to whitelist in MacOS. https://hencolle.com/2016/10/16/baidu_exporter/
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.google.Chrome</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>ExtensionInstallWhitelist</key>
<array>
<string>value01</string>
<string>value02</string>
<string>value03</string>
</array>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>MCXToProfile.7e2bec75-299e-44ff-b405-628007abffff.alacarte.customsettings.bdac4880-d25f-4cdd-8472-05473f005e7e</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>bdac4880-d25f-4cdd-8472-05473f005e7e</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Included custom settings:
com.google.Chrome
</string>
<key>PayloadDisplayName</key>
<string>MCXToProfile: com.google.Chrome</string>
<key>PayloadIdentifier</key>
<string>com.google.Chrome</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>7e2bec75-299e-44ff-b405-628007abffff</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
@specter119
Copy link

does it also work for chorme-dev? i have tried several times but it doesn't work.

@chenxiccc
Copy link

chenxiccc commented Feb 16, 2017

你好:

参考这个帖子 https://hencolle.com/2016/10/16/baidu_exporter/ 。成功解决了chrome浏览器下自己安装的扩展的每次启动chrome时的通知。
yandex是一款很好用的浏览器,同样可以使用chrome扩展,不知是否有Mac系统上可用的mobileconfig文件,使得无需每次启动yandex浏览器时需要单独启用自己安装的扩展?

@TouchFriend
Copy link

It's invalid

@ripperhe
Copy link

ripperhe commented Jul 5, 2018

有效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment