Add allowlist for BPC extension (macOS)

master
Seff 2021-11-06 07:44:47 +00:00 committed by magnolia1234
parent 991e403850
commit af333918e6
5 changed files with 206 additions and 5 deletions

View File

@ -44,7 +44,6 @@ If you're familiar with Git(Hub)-clients you can also clone this repo and update
2. In your browser go to the extensions page. 2. In your browser go to the extensions page.
3. Enable Developer Mode. 3. Enable Developer Mode.
4. Drag your crx-file anywhere on the page to import it (when you have an active 'load unpacked' installation, first remove it (and backup your custom sites); for automatic update). 4. Drag your crx-file anywhere on the page to import it (when you have an active 'load unpacked' installation, first remove it (and backup your custom sites); for automatic update).
5. If dragging crx-file does not work, try 'load unpacked' installation (above).
* By default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites). * By default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).

View File

@ -0,0 +1,63 @@
<?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.brave.Browser</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>ExtensionInstallAllowlist</key>
<array>
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
</array>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadDisplayName</key>
<string>Brave ExtensionInstallAllowlist - add BPC ID to override browser's restriction</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>com.example.Brave.example.bpc</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>a5c53548-65aa-11e7-907b-a6006ad3dba0</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Bypass Paywalls Chrome Clean - Brave</string>
<key>PayloadDisplayName</key>
<string>Brave ExtensionInstallAllowlist for Bypass Paywalls Clean</string>
<key>PayloadIdentifier</key>
<string>com.example.Brave.example.bpc</string>
<key>PayloadOrganization</key>
<string>Bypass Paywalls Chrome Clean</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadScope</key>
<string>User</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>

View File

@ -0,0 +1,63 @@
<?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>ExtensionInstallAllowlist</key>
<array>
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
</array>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadDisplayName</key>
<string>Chrome ExtensionInstallAllowlist - add BPC ID to override browser's restriction</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>com.example.Chrome.example.bpc</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>a5c53548-65aa-11e7-907b-a6006ad3dba0</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Bypass Paywalls Chrome Clean</string>
<key>PayloadDisplayName</key>
<string>Chrome ExtensionInstallAllowlist for Bypass Paywalls Clean</string>
<key>PayloadIdentifier</key>
<string>com.example.Chrome.example.bpc</string>
<key>PayloadOrganization</key>
<string>Bypass Paywalls Chrome Clean</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadScope</key>
<string>User</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>

View File

@ -0,0 +1,63 @@
<?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.microsoft.Edge</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>ExtensionInstallAllowlist</key>
<array>
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
</array>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadDisplayName</key>
<string>MS Edge ExtensionInstallAllowlist - add BPC ID to override browser's restriction</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>com.example.Edge.example.bpc</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>a5c53548-65aa-11e7-907b-a6006ad3dba0</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Bypass Paywalls Chrome Clean - MS Edge</string>
<key>PayloadDisplayName</key>
<string>MS Edge ExtensionInstallAllowlist for Bypass Paywalls Clean</string>
<key>PayloadIdentifier</key>
<string>com.example.Edge.example.bpc</string>
<key>PayloadOrganization</key>
<string>Bypass Paywalls Chrome Clean</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadScope</key>
<string>User</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>

View File

@ -1,13 +1,26 @@
# Add extension (crx) to allowlist # Add extension (crx) to allowlist
* [Windows](#windows) * [Windows](#windows)
* [macOS](#macOS)
* [Linux](#linux)
### Windows ### Windows
*Run as administrator one of the reg-files in [allowlist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/allowlist) Run as administrator one of the reg-files in [allowlist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/allowlist)
If you already added extensions to the allowlist than you should change "1" to a new key (also change name of HLM-key for beta/developer versions of browsers). If you already added extensions to the allowlist than you should change "1" to a new key (also change name of HLM-key for beta/developer versions of browsers).
Example Chrome-regfile: Example Chrome-regfile:
```
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist] [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
"1"="lkbebcjgcmobigpeffafkodonchffocl" "1"="lkbebcjgcmobigpeffafkodonchffocl"
```
### macOS
Run one of the .mobileconfig files in [allowlist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/allowlist) (requires admin rights)
Finally restart the browser's process (in the Dock: right click on Chrome, 'Quit', reopen).
This assumes your device is not being managed by MDM software and you don't have any profile related to the 'ExtensionInstallAllowlist' policy already active.
### Linux
[Chromium-based browsers allow local installations of extensions](https://developer.chrome.com/docs/extensions/mv3/hosting/#hosting), so not necessary :)