Repository restored
This commit is contained in:
63
allowlist/Brave-macos-allowlist.mobileconfig
Normal file
63
allowlist/Brave-macos-allowlist.mobileconfig
Normal 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>
|
||||
3
allowlist/Brave-windows-allowlist.reg
Normal file
3
allowlist/Brave-windows-allowlist.reg
Normal file
@@ -0,0 +1,3 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
63
allowlist/Chrome-macos-allowlist.mobileconfig
Normal file
63
allowlist/Chrome-macos-allowlist.mobileconfig
Normal 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>
|
||||
3
allowlist/Chrome-windows-allowlist.reg
Normal file
3
allowlist/Chrome-windows-allowlist.reg
Normal file
@@ -0,0 +1,3 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
63
allowlist/Edge-macos-allowlist.mobileconfig
Normal file
63
allowlist/Edge-macos-allowlist.mobileconfig
Normal 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>
|
||||
3
allowlist/Edge-windows-allowlist.reg
Normal file
3
allowlist/Edge-windows-allowlist.reg
Normal file
@@ -0,0 +1,3 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
63
allowlist/README.html
Normal file
63
allowlist/README.html
Normal file
@@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html []>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="author" content="MarkdownViewer++" />
|
||||
<title>README.md</title>
|
||||
<style type="text/css">
|
||||
|
||||
/* Avoid page breaks inside the most common attributes, especially for exports (i.e. PDF) */
|
||||
td, h1, h2, h3, h4, h5, p, ul, ol, li {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="add-extension-crx-to-allowlist">Add extension (crx) to allowlist</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#windows">Windows</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#macOS">macOS</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#linux">Linux</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 id="windows">Windows</h3>
|
||||
<p>Advance Notice: after adding the allowlist-policy you'll get a message <em>Your browser is managed by your organisation</em> on the extensions page (and some settings like Secure DNS are disabled).<br />
|
||||
To remove this message you'll have to remove the added policy from the registry again (run regedit and for Chrome check HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome).</p>
|
||||
<p>If you still want to add the extension to the allowlist:</p>
|
||||
<p>Run as administrator one of the reg-files in allowlist-folder of extension (unzip).</p>
|
||||
<p>If you already added extensions to the allowlist than you should change "1" to a new value (also change name of HLM-key for beta/developer versions of browsers).<br />
|
||||
To add more extensions to the allowlist you can add more lines.<br />
|
||||
Example Chrome-regfile:</p>
|
||||
<pre>
|
||||
<code>Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
"2"="extension-id2"
|
||||
</code>
|
||||
</pre>
|
||||
<p>You can also run the PowerShell script <em>bypass_paywalls_clean_allowlist.ps1</em> (as administrator) to add extension to the allowlist (script checks if extension already allowed or adds new registry-key).<br />
|
||||
For the parameter browser enter chrome, edge or brave.</p>
|
||||
<h3 id="macos">macOS</h3>
|
||||
<p>Run one of the .mobileconfig files in allowlist-folder of extension (unzip) (requires admin rights)<br />
|
||||
Finally restart the browser's process (in the Dock: right click on Chrome, 'Quit', reopen).<br />
|
||||
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.<br />
|
||||
To add more extensions to the allowlist you can add more lines.</p>
|
||||
<pre>
|
||||
<code><key>ExtensionInstallAllowlist</key>
|
||||
<array>
|
||||
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
|
||||
<string>extension-id2</string>
|
||||
</array>
|
||||
</code>
|
||||
</pre>
|
||||
<h3 id="linux">Linux</h3>
|
||||
<p>
|
||||
<a href="https://developer.chrome.com/docs/extensions/mv3/hosting/#hosting">Chromium-based browsers allow local installations of extensions</a>, so not necessary :)</p>
|
||||
</body>
|
||||
</html>
|
||||
45
allowlist/README.md
Normal file
45
allowlist/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Add extension (crx) to allowlist
|
||||
|
||||
* [Windows](#windows)
|
||||
* [macOS](#macOS)
|
||||
* [Linux](#linux)
|
||||
|
||||
### Windows
|
||||
|
||||
Advance Notice: after adding the allowlist-policy you'll get a message *Your browser is managed by your organisation* on the extensions page (and some settings like Secure DNS are disabled).\
|
||||
To remove this message you'll have to remove the added policy from the registry again (run regedit and for Chrome check HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome).
|
||||
|
||||
If you still want to add the extension to the allowlist:
|
||||
|
||||
Run as administrator one of the reg-files in allowlist-folder of extension (unzip).
|
||||
|
||||
If you already added extensions to the allowlist than you should change "1" to a new value (also change name of HLM-key for beta/developer versions of browsers).\
|
||||
To add more extensions to the allowlist you can add more lines.\
|
||||
Example Chrome-regfile:
|
||||
```
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
"2"="extension-id2"
|
||||
```
|
||||
|
||||
You can also run the PowerShell script *bypass_paywalls_clean_allowlist.ps1* (as administrator) to add extension to the allowlist (script checks if extension already allowed or adds new registry-key).\
|
||||
For the parameter browser enter chrome, edge or brave.
|
||||
|
||||
### macOS
|
||||
|
||||
Run one of the .mobileconfig files in allowlist-folder of extension (unzip) (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.\
|
||||
To add more extensions to the allowlist you can add more lines.
|
||||
```
|
||||
<key>ExtensionInstallAllowlist</key>
|
||||
<array>
|
||||
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
|
||||
<string>extension-id2</string>
|
||||
</array>
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
[Chromium-based browsers allow local installations of extensions](https://developer.chrome.com/docs/extensions/mv3/hosting/#hosting), so not necessary :)
|
||||
39
allowlist/bypass_paywalls_clean_allowlist.ps1
Normal file
39
allowlist/bypass_paywalls_clean_allowlist.ps1
Normal file
@@ -0,0 +1,39 @@
|
||||
param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[ValidateSet("edge", "chrome", "brave")]
|
||||
[string]$browser
|
||||
)
|
||||
|
||||
$regPath = switch ($browser) {
|
||||
"edge" { "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallAllowlist" }
|
||||
"chrome" { "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist" }
|
||||
"brave" { "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist" }
|
||||
}
|
||||
|
||||
$valueData = "lkbebcjgcmobigpeffafkodonchffocl"
|
||||
|
||||
if (Test-Path $regPath) {
|
||||
|
||||
$values = Get-ItemProperty $regPath
|
||||
|
||||
} else {
|
||||
|
||||
New-Item -Path $regPath -ItemType RegistryKey -Force
|
||||
|
||||
}
|
||||
|
||||
if ($values | Where-Object { $_.PSObject.Properties.Value -eq $valueData} ) {
|
||||
|
||||
Write-Host "The value already exists."
|
||||
|
||||
} else {
|
||||
$newValueName = 1
|
||||
while ($values | Where-Object { $_.PSObject.Properties.Name -eq $newValueName.ToString()} ) {
|
||||
$newValueName++
|
||||
}
|
||||
|
||||
New-ItemProperty -Path $regPath -Name $newValueName -Value $valueData -PropertyType String
|
||||
|
||||
Write-Host "A new value has been added with the name '$newValueName'."
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user