diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-03-24 06:39:46 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-03-24 06:39:46 +0300 |
commit | e84df04d3496328ce713e001df912488ba6b8320 (patch) | |
tree | bf3173b858146995ea69202aeb9f67f1064d8788 | |
parent | Merge branch 'master' of https://github.com/libredirect/libredirect (diff) | |
download | libredirect-e84df04d3496328ce713e001df912488ba6b8320.zip |
Adding allowlist files for signed extension #118
-rw-r--r-- | allowlist/README.md | 26 | ||||
-rw-r--r-- | allowlist/macos/Brave-macos-allowlist.mobileconfig | 59 | ||||
-rw-r--r-- | allowlist/macos/Chrome-macos-allowlist.mobileconfig | 59 | ||||
-rw-r--r-- | allowlist/macos/Edge-macos-allowlist.mobileconfig | 63 | ||||
-rw-r--r-- | allowlist/windows/Brave-windows-allowlist.reg | 3 | ||||
-rw-r--r-- | allowlist/windows/Chrome-windows-allowlist.reg | 3 | ||||
-rw-r--r-- | allowlist/windows/Edge-windows-allowlist.reg | 3 | ||||
-rw-r--r-- | src/manifest.json | 5 |
8 files changed, 218 insertions, 3 deletions
diff --git a/allowlist/README.md b/allowlist/README.md new file mode 100644 index 00000000..98b58a4c --- /dev/null +++ b/allowlist/README.md @@ -0,0 +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). +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 new file mode 100644 index 00000000..36234e86 --- /dev/null +++ b/allowlist/macos/Brave-macos-allowlist.mobileconfig @@ -0,0 +1,59 @@ +<?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>oladmjdebphlnjjcnomfhhbfdldiimaf</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> \ No newline at end of file diff --git a/allowlist/macos/Chrome-macos-allowlist.mobileconfig b/allowlist/macos/Chrome-macos-allowlist.mobileconfig new file mode 100644 index 00000000..92d8e57c --- /dev/null +++ b/allowlist/macos/Chrome-macos-allowlist.mobileconfig @@ -0,0 +1,59 @@ +<?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>oladmjdebphlnjjcnomfhhbfdldiimaf</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> \ No newline at end of file diff --git a/allowlist/macos/Edge-macos-allowlist.mobileconfig b/allowlist/macos/Edge-macos-allowlist.mobileconfig new file mode 100644 index 00000000..5ef41a16 --- /dev/null +++ b/allowlist/macos/Edge-macos-allowlist.mobileconfig @@ -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>oladmjdebphlnjjcnomfhhbfdldiimaf</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> diff --git a/allowlist/windows/Brave-windows-allowlist.reg b/allowlist/windows/Brave-windows-allowlist.reg new file mode 100644 index 00000000..e53c25ec --- /dev/null +++ b/allowlist/windows/Brave-windows-allowlist.reg @@ -0,0 +1,3 @@ +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 new file mode 100644 index 00000000..51d3bdfa --- /dev/null +++ b/allowlist/windows/Chrome-windows-allowlist.reg @@ -0,0 +1,3 @@ +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 new file mode 100644 index 00000000..5c5585f2 --- /dev/null +++ b/allowlist/windows/Edge-windows-allowlist.reg @@ -0,0 +1,3 @@ +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/src/manifest.json b/src/manifest.json index af46685e..533870db 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,7 +1,7 @@ { "name": "LibRedirect", "description": "A web extension that redirects popular sites to alternative privacy-friendly frontends and backends", - "version": "1.5.7", + "version": "1.5.8", "manifest_version": 2, "browser_specific_settings": { "gecko": { @@ -61,6 +61,5 @@ "description": "Switch Instance" } }, - "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml", - "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqlqsJrNbrWATJMxqbBlUbOfTnHuHkA8/q4aWSRNN1u6QJjsIZUoicAVAUSuAnc1eSJyDpbcyPEhwqaGGzAR3YcIoQlJAce/mIjNcRtX2dwttPnAH8H9D5y2yFjhSdSC+Je4FY46fiB5T/GYzEB/t3pglh7Z9bRVXHVA+nn+Vj+Do9Yj5NcugLnU3isSZGqCBFiaXF80jdmy7bqnAftdAHxGpEXERM9gWYsKo4L6p0v5O1k/zQHEsOcjS0auFvEupLMLdEmq8AiBtzOT0w7STHHqiMHuzMjEcdZhpyr66h/i0qKAKVtUcuzh6hMfiVd5pyYBN713yRUN52zvTXanWvQIDAQAB" + "update_url": "https://raw.githubusercontent.com/libredirect/libredirect/master/src/updates/updates.xml" } \ No newline at end of file |