From 586e15f676c9d215564ad5288810b5c1e9c9391d Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 24 Mar 2022 21:08:46 +0300 Subject: Fixing AutoUpdate by adding a key to manifest #118 --- allowlist/README.md | 26 --------- allowlist/macos/Brave-macos-allowlist.mobileconfig | 59 -------------------- .../macos/Chrome-macos-allowlist.mobileconfig | 59 -------------------- allowlist/macos/Edge-macos-allowlist.mobileconfig | 63 ---------------------- allowlist/windows/Brave-windows-allowlist.reg | 3 -- allowlist/windows/Chrome-windows-allowlist.reg | 3 -- allowlist/windows/Edge-windows-allowlist.reg | 3 -- chromium.md | 2 +- src/manifest.json | 3 +- 9 files changed, 3 insertions(+), 218 deletions(-) delete mode 100644 allowlist/README.md delete mode 100644 allowlist/macos/Brave-macos-allowlist.mobileconfig delete mode 100644 allowlist/macos/Chrome-macos-allowlist.mobileconfig delete mode 100644 allowlist/macos/Edge-macos-allowlist.mobileconfig delete mode 100644 allowlist/windows/Brave-windows-allowlist.reg delete mode 100644 allowlist/windows/Chrome-windows-allowlist.reg delete mode 100644 allowlist/windows/Edge-windows-allowlist.reg diff --git a/allowlist/README.md b/allowlist/README.md deleted file mode 100644 index 98b58a4c..00000000 --- a/allowlist/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# 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). -Example Chrome-regfile: -``` -Windows Registry Editor Version 5.00 -[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist] -"1"="oladmjdebphlnjjcnomfhhbfdldiimaf" -``` - -### 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 :) diff --git a/allowlist/macos/Brave-macos-allowlist.mobileconfig b/allowlist/macos/Brave-macos-allowlist.mobileconfig deleted file mode 100644 index 36234e86..00000000 --- a/allowlist/macos/Brave-macos-allowlist.mobileconfig +++ /dev/null @@ -1,59 +0,0 @@ - - - - - PayloadContent - - - PayloadContent - - com.brave.Browser - - Forced - - - mcx_preference_settings - - ExtensionInstallAllowlist - - oladmjdebphlnjjcnomfhhbfdldiimaf - - - - - - - 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 - - \ No newline at end of file diff --git a/allowlist/macos/Chrome-macos-allowlist.mobileconfig b/allowlist/macos/Chrome-macos-allowlist.mobileconfig deleted file mode 100644 index 92d8e57c..00000000 --- a/allowlist/macos/Chrome-macos-allowlist.mobileconfig +++ /dev/null @@ -1,59 +0,0 @@ - - - - - PayloadContent - - - PayloadContent - - com.google.Chrome - - Forced - - - mcx_preference_settings - - ExtensionInstallAllowlist - - oladmjdebphlnjjcnomfhhbfdldiimaf - - - - - - - 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 - - \ No newline at end of file diff --git a/allowlist/macos/Edge-macos-allowlist.mobileconfig b/allowlist/macos/Edge-macos-allowlist.mobileconfig deleted file mode 100644 index 5ef41a16..00000000 --- a/allowlist/macos/Edge-macos-allowlist.mobileconfig +++ /dev/null @@ -1,63 +0,0 @@ - - - - - PayloadContent - - - PayloadContent - - com.microsoft.Edge - - Forced - - - mcx_preference_settings - - - -ExtensionInstallAllowlist - -oladmjdebphlnjjcnomfhhbfdldiimaf - - - - - - - - - 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/windows/Brave-windows-allowlist.reg b/allowlist/windows/Brave-windows-allowlist.reg deleted file mode 100644 index e53c25ec..00000000 --- a/allowlist/windows/Brave-windows-allowlist.reg +++ /dev/null @@ -1,3 +0,0 @@ -Windows Registry Editor Version 5.00 -[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist] -"1"="oladmjdebphlnjjcnomfhhbfdldiimaf" \ No newline at end of file diff --git a/allowlist/windows/Chrome-windows-allowlist.reg b/allowlist/windows/Chrome-windows-allowlist.reg deleted file mode 100644 index 51d3bdfa..00000000 --- a/allowlist/windows/Chrome-windows-allowlist.reg +++ /dev/null @@ -1,3 +0,0 @@ -Windows Registry Editor Version 5.00 -[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist] -"1"="oladmjdebphlnjjcnomfhhbfdldiimaf" \ No newline at end of file diff --git a/allowlist/windows/Edge-windows-allowlist.reg b/allowlist/windows/Edge-windows-allowlist.reg deleted file mode 100644 index 5c5585f2..00000000 --- a/allowlist/windows/Edge-windows-allowlist.reg +++ /dev/null @@ -1,3 +0,0 @@ -Windows Registry Editor Version 5.00 -[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallAllowlist] -"1"="oladmjdebphlnjjcnomfhhbfdldiimaf" \ No newline at end of file diff --git a/chromium.md b/chromium.md index f79a78f5..56504335 100644 --- a/chromium.md +++ b/chromium.md @@ -1,5 +1,5 @@ ### Install in Chromium, Brave and Chrome -- Download the [Source Code](https://github.com/libredirect/libredirect/archive/master.zip) +- Download the lastest release [Source Code](https://github.com/libredirect/libredirect/archive/master.zip) - Unzip it - Open `chrome://extensions` - Enable `dev mode` diff --git a/src/manifest.json b/src/manifest.json index 533870db..9d6d1fcc 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -61,5 +61,6 @@ "description": "Switch Instance" } }, - "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml" + "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml", + "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAroWDSoSRZ1scj+eJRrvnhJbrqXTKnhQuxs6+AJg16sqr0bsMdFV+MSY4i4xnK+K5WOYkBliWXgUyk/wzicoAjOnSJddrL/Md4FuWHI2NVIkrlsLOrYkygi5OLqGPajRH/w8Cdmg7KzEpXe/OnYV0/qS8li8huEdTzdeLdhfbiVl1j3DOr4OJALQ7mPeeNFHFo/oVQ+OkSezWLezA5jUGfhtzPYV6u1TXzX7lCi8E/BbDbwkvvXOMcjXCv08kjdLOY2djCA2a6zr0xAb3q8DlexAMZ8vMof7AQRFtBKhLc9n9VFoipMMdBOVQQj/eIcRILBrmkcZNnJxFKiHNJ+NcZQIDAQAB" } \ No newline at end of file -- cgit 1.4.1