From af333918e66c6f79e713b676d766e271f6d9781f Mon Sep 17 00:00:00 2001 From: Seff Date: Sat, 6 Nov 2021 07:44:47 +0000 Subject: [PATCH] Add allowlist for BPC extension (macOS) --- README.md | 1 - allowlist/Brave-macos-allowlist.mobileconfig | 63 +++++++++++++++++++ allowlist/Chrome-macos-allowlist.mobileconfig | 63 +++++++++++++++++++ allowlist/Edge-macos-allowlist.mobileconfig | 63 +++++++++++++++++++ allowlist/README.md | 21 +++++-- 5 files changed, 206 insertions(+), 5 deletions(-) create mode 100644 allowlist/Brave-macos-allowlist.mobileconfig create mode 100644 allowlist/Chrome-macos-allowlist.mobileconfig create mode 100644 allowlist/Edge-macos-allowlist.mobileconfig diff --git a/README.md b/README.md index 7bc7228..23d3325 100755 --- a/README.md +++ b/README.md @@ -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. 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). -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). diff --git a/allowlist/Brave-macos-allowlist.mobileconfig b/allowlist/Brave-macos-allowlist.mobileconfig new file mode 100644 index 0000000..bd7b230 --- /dev/null +++ b/allowlist/Brave-macos-allowlist.mobileconfig @@ -0,0 +1,63 @@ + + + + + PayloadContent + + + PayloadContent + + com.brave.Browser + + Forced + + + mcx_preference_settings + + + +ExtensionInstallAllowlist + +lkbebcjgcmobigpeffafkodonchffocl + + + + + + + + + PayloadDisplayName + Brave ExtensionInstallAllowlist - add BPC ID to override browser's restriction + PayloadEnabled + + PayloadIdentifier + com.example.Brave.example.bpc + PayloadType + com.apple.ManagedClient.preferences + PayloadUUID + a5c53548-65aa-11e7-907b-a6006ad3dba0 + PayloadVersion + 1 + + + PayloadDescription + Bypass Paywalls Chrome Clean - Brave + PayloadDisplayName + Brave ExtensionInstallAllowlist for Bypass Paywalls Clean + PayloadIdentifier + com.example.Brave.example.bpc + PayloadOrganization + Bypass Paywalls Chrome Clean + PayloadRemovalDisallowed + + PayloadScope + User + PayloadType + Configuration + PayloadUUID + 33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd + PayloadVersion + 1 + + diff --git a/allowlist/Chrome-macos-allowlist.mobileconfig b/allowlist/Chrome-macos-allowlist.mobileconfig new file mode 100644 index 0000000..47b5a4c --- /dev/null +++ b/allowlist/Chrome-macos-allowlist.mobileconfig @@ -0,0 +1,63 @@ + + + + + PayloadContent + + + PayloadContent + + com.google.Chrome + + Forced + + + mcx_preference_settings + + + +ExtensionInstallAllowlist + +lkbebcjgcmobigpeffafkodonchffocl + + + + + + + + + PayloadDisplayName + Chrome ExtensionInstallAllowlist - add BPC ID to override browser's restriction + PayloadEnabled + + PayloadIdentifier + com.example.Chrome.example.bpc + PayloadType + com.apple.ManagedClient.preferences + PayloadUUID + a5c53548-65aa-11e7-907b-a6006ad3dba0 + PayloadVersion + 1 + + + PayloadDescription + Bypass Paywalls Chrome Clean + PayloadDisplayName + Chrome ExtensionInstallAllowlist for Bypass Paywalls Clean + PayloadIdentifier + com.example.Chrome.example.bpc + PayloadOrganization + Bypass Paywalls Chrome Clean + PayloadRemovalDisallowed + + PayloadScope + User + PayloadType + Configuration + PayloadUUID + 33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd + PayloadVersion + 1 + + diff --git a/allowlist/Edge-macos-allowlist.mobileconfig b/allowlist/Edge-macos-allowlist.mobileconfig new file mode 100644 index 0000000..4c0d7dc --- /dev/null +++ b/allowlist/Edge-macos-allowlist.mobileconfig @@ -0,0 +1,63 @@ + + + + + PayloadContent + + + PayloadContent + + com.microsoft.Edge + + Forced + + + mcx_preference_settings + + + +ExtensionInstallAllowlist + +lkbebcjgcmobigpeffafkodonchffocl + + + + + + + + + PayloadDisplayName + MS Edge ExtensionInstallAllowlist - add BPC ID to override browser's restriction + PayloadEnabled + + PayloadIdentifier + com.example.Edge.example.bpc + PayloadType + com.apple.ManagedClient.preferences + PayloadUUID + a5c53548-65aa-11e7-907b-a6006ad3dba0 + PayloadVersion + 1 + + + PayloadDescription + Bypass Paywalls Chrome Clean - MS Edge + PayloadDisplayName + MS Edge ExtensionInstallAllowlist for Bypass Paywalls Clean + PayloadIdentifier + com.example.Edge.example.bpc + PayloadOrganization + Bypass Paywalls Chrome Clean + PayloadRemovalDisallowed + + PayloadScope + User + PayloadType + Configuration + PayloadUUID + 33e27889678746574b5f4882e1d3985764907861895746574f95fa247c6003d0cd + PayloadVersion + 1 + + diff --git a/allowlist/README.md b/allowlist/README.md index df0073f..d88b5c8 100644 --- a/allowlist/README.md +++ b/allowlist/README.md @@ -1,13 +1,26 @@ # Add extension (crx) to allowlist * [Windows](#windows) +* [macOS](#macOS) +* [Linux](#linux) ### Windows -*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). - +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). Example Chrome-regfile: +``` Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist] -"1"="lkbebcjgcmobigpeffafkodonchffocl" \ No newline at end of file +"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 :)