Upgrade to the latest version.

This commit is contained in:
2026-01-04 21:30:53 +01:00
parent e4d67b962a
commit 733097a002
33 changed files with 6239 additions and 9055 deletions

File diff suppressed because it is too large Load Diff

494
README.md

File diff suppressed because it is too large Load Diff

View File

@@ -1,63 +0,0 @@
<?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

@@ -1,3 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist]
"1"="lkbebcjgcmobigpeffafkodonchffocl"

View File

@@ -1,63 +0,0 @@
<?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

@@ -1,3 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
"1"="lkbebcjgcmobigpeffafkodonchffocl"

View File

@@ -1,63 +0,0 @@
<?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,3 +0,0 @@
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallAllowlist]
"1"="lkbebcjgcmobigpeffafkodonchffocl"

View File

@@ -1,63 +0,0 @@
<!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>&lt;key&gt;ExtensionInstallAllowlist&lt;/key&gt;
&lt;array&gt;
&lt;string&gt;lkbebcjgcmobigpeffafkodonchffocl&lt;/string&gt;
&lt;string&gt;extension-id2&lt;/string&gt;
&lt;/array&gt;
</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>

View File

@@ -1,45 +0,0 @@
# 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 :)

View File

@@ -1,39 +0,0 @@
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'."
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,45 +0,0 @@
var ext_api = (typeof browser === 'object') ? browser : chrome;
var manifestData = ext_api.runtime.getManifest();
var url_loc = manifestData.key ? 'chrome' : 'firefox';
// daily users counter
function bpc_count_daily_users(dateStr) {
ext_api.storage.local.get({
daily_users: {},
}, function (items_local) {
daily_users = items_local.daily_users;
if (daily_users.date !== dateStr) {
daily_users.date = dateStr;
ext_api.storage.local.set({
daily_users: daily_users
}, function () {
true;
});
let count_json = 'https://bitbucket.org/bpc_redux/bpc-' + url_loc + '-daily-users/downloads/bpc-daily-users-' + dateStr + '.json';
try {
fetch(count_json, {mode: 'no-cors'});
let count_mobile_json = 'https://bitbucket.org/bpc_redux/bpc-' + url_loc + '-mobile-daily-users/downloads/bpc-daily-users-' + dateStr + '.json';
let count_desktop_json = 'https://bitbucket.org/bpc_redux/bpc-' + url_loc + '-desktop-daily-users/downloads/bpc-daily-users-' + dateStr + '.json';
if (window.navigator && window.navigator.userAgent.match(/(mobile|android)/i))
fetch(count_mobile_json, {mode: 'no-cors'});
else
fetch(count_desktop_json, {mode: 'no-cors'});
} catch (err) {
false;
}
}
});
}
function currentDateStr() {
let date = new Date();
let dateStr = new Date(date.getTime() - (date.getTimezoneOffset() * 60000)).toISOString().split("T")[0];
return dateStr;
}
var last_date_str = currentDateStr();
var daily_users;
ext_api.storage.local.get({counter: true}, function (result) {
if (result.counter)
bpc_count_daily_users(last_date_str);
});

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,132 +1,225 @@
//'use strict'; //'use strict';
var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_api = (typeof browser === 'object') ? browser : chrome;
window.setTimeout(function () { if (matchDomain('gitflic.ru')) {
if (window.location.pathname.startsWith('/project/magnolia1234/bpc_uploads') && document.head) {
let sheet = document.createElement('style');
let path_short = window.location.pathname.replace('/project/magnolia1234/bpc_uploads', '');
if (!path_short)
sheet.innerText = 'div[data-cell-type="commit"], div[data-cell-type="date"] {display: none !important;} div[data-cell-type="filename"] {flex: 0 0 100% !important;}';
else if (path_short.match(/^\/(blob|file)/))
sheet.innerText = 'div.project-files-tree, div.project-files-list {flex: 0 0 50% !important; max-width: 50% !important;}';
if (sheet.innerText)
document.head.appendChild(sheet);
}
}
let hostname = window.location.hostname; else {
window.setTimeout(function () {
let hostname = window.location.hostname.replace(/^www\./, '');
let custom_domain = getCookieDomain(hostname); let custom_domain = getCookieDomain(hostname);
let group; let group;
let nofix;
if (hostname && ext_api.runtime) { if (hostname && ext_api.runtime) {
if (document.querySelector('head > link[href*=".medium.com/"]') || matchDomain(['plainenglish.io'])) if (document.querySelector('head > link[href*=".medium.com/"]') || matchDomain(['gitconnected.com', 'gopubby.com', 'plainenglish.io']))
group = 'medium.com'; group = 'medium.com';
else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]')) else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]')) {
group = '###_beehiiv';// no fix group = '###_beehiiv';
else if (document.querySelector('head > meta[name="generator"][content^="Ghost"]') && !document.querySelector('script[src^="https://steadyhq.com/"]')) nofix = 1;
group = '###_ghost';// no fix } else if (document.querySelector('head > meta[name="generator"][content^="Ghost"]') && !document.querySelector('script[src^="https://steadyhq.com/"]')) {
else if (document.querySelector('head > link[href*="/leaky-paywall"], script[src*="/leaky-paywall"], div[id^="issuem-leaky-paywall-"]')) group = '###_ghost';
nofix = 1;
} else if (document.querySelector('head > link[href*="/leaky-paywall"], script[src*="/leaky-paywall"], div[id^="issuem-leaky-paywall-"]'))
group = '###_wp_leaky_paywall'; group = '###_wp_leaky_paywall';
else if (document.querySelector('head > link[href^="https://substackcdn.com/"]')) else if (document.querySelector('head > script[data-memberstack-app]'))
group = '###_substack_custom';// no fix group = 'memberstack.com';
else if (document.querySelector('head > link[href^="https://substackcdn.com/"]')) {
group = '###_substack_custom';
nofix = 1;
} else if (hostname.match(/^thelocal\.(at|ch|com|de|dk|es|fr|it|no|se)$/))
group = '###_eu_thelocal';
else if (matchDomain(['monitor.co.ug', 'mwananchi.co.tz', 'mwanaspoti.co.tz', 'thecitizen.co.tz', 'theeastafrican.co.ke']))
group = '###_ke_nation_media';
else if (document.querySelector('head > link[href="//ppt.promedia.nl"]') || document.querySelector('head > script[src*="/pmgnews/scripts/promedia.js"]')) else if (document.querySelector('head > link[href="//ppt.promedia.nl"]') || document.querySelector('head > script[src*="/pmgnews/scripts/promedia.js"]'))
group = '###_nl_promedia'; group = '###_nl_promedia';
else if (hostname.match(/\.com$/) && !matchDomain(['campaignlive.com']) && document.querySelector('span#hmn-logo > a[href="https://www.haymarketmedicalnetwork.com/about"], footer a[href="https://www.haymarketmediaus.com/haymarket-media-inc-privacy-policy/"]')) else if (hostname.match(/\.com$/) && !matchDomain(['campaignlive.com']) && document.querySelector('span#hmn-logo > a[href="https://www.haymarketmedicalnetwork.com/about"], footer a[href="https://www.haymarketmediaus.com/haymarket-media-inc-privacy-policy/"]'))
group = '###_uk_haymarket_medical'; group = '###_uk_haymarket_medical';
else if (matchDomain(['asianinvestor.net', 'campaignindia.in', 'taspo.de']) || (hostname.match(/\.co(m|\.uk)$/) && document.querySelector('footer a[href^="http://www.haymarket.com"]'))) else if (matchDomain(['asianinvestor.net', 'campaignindia.in', 'taspo.de']) || (hostname.match(/\.co(m|\.uk)$/) && document.querySelector('footer a[href^="http://www.haymarket.com"]')))
group = '###_uk_haymarket'; group = '###_uk_haymarket';
else if (matchDomain(['epochtimes-romania.com']) || hostname.match(/\.epochtimes\.(cz|de|fr|jp)/)) else if (matchDomain(['epochtimes-romania.com']) || hostname.match(/\.epochtimes\.(com\.br|cz|de|fr|jp)/))
group = '###_usa_epochtimes'; group = '###_usa_epochtimes';
else if (hostname.match(/\.(com|net)\.au$/) && !matchDomain(['insideretail.com.au'])) { else if (hostname.match(/\.(com|net)\.au$/) && !matchDomain(['insideretail.com.au'])) {
if (document.querySelector('a[href^="https://austcommunitymedia.my.site.com/"]')) if (document.querySelector('div#footer a[href^="https://acm.media/"]'))
group = '###_au_comm_media'; group = '###_au_comm_media';
else if (hostname.endsWith('.com.au')) { else if (hostname.endsWith('.com.au')) {
if (document.querySelector('head > link[href="https://images.thewest.com.au"]')) if (document.querySelector('head > link[href="https://images.thewest.com.au"]'))
group = 'thewest.com.au'; group = 'thewest.com.au';
else if (document.querySelector('head > link[rel="dns-prefetch"][href="//static.ew.mmg.navigacloud.com"]')) else if (document.querySelector('head > link[rel="dns-prefetch"][href="//static.ew.mmg.navigacloud.com"]'))
group = '###_au_mmg'; group = '###_au_mmg';
else if (matchDomain('ntnews.com.au'))
group = '###_au_news_corp';
else if (document.querySelector('div.c-footer__copyright > a[href^="https://nemedia.com.au"]')) {
group = '###_au_nomedia';
nofix = 1;
} else if (document.querySelector('div[class^="menu-"] > ul > li a[href*="/in-business"]')) {
group = '###_au_star_news';
nofix = 1;
} else if (hostname.match('farmingahead.com.au')) {
group = '###_uk_aspermont';
nofix = 1;
}
} }
} else if (hostname.endsWith('.cl')) { } else if (hostname.endsWith('.cl')) {
if (document.querySelector('head > meta[property="og:image"][content*="/impresa.soy-chile.cl/"]')) if (document.querySelector('head > meta[property="og:image"][content*="/impresa.soy-chile.cl/"]')) {
group = 'elmercurio.com'; group = '###_cl_elmercurio_local';
} else if (hostname.match(/\.(de|at|ch)$/) || matchDomain(['horizont.net', 'lebensmittelzeitung.net'])) { nofix = 1;
}
} else if (hostname.match(/\.(de|at|ch)$/) || matchDomain(['fashionmagazine.it', 'foodservice24.pl', 'handelextra.pl', 'horizont.net', 'lebensmittelzeitung.net', 'mmponline.pl', 'textiletechnology.net'])) {
if (document.querySelector('head > script[src*="/dfv.containers.piwik.pro/"]')) if (document.querySelector('head > script[src*="/dfv.containers.piwik.pro/"]'))
group = '###_de_dfv_medien'; group = '###_de_dfv_medien';
else if (document.querySelector('div.navigation__personalization > a[href^="https://www.haas-mediengruppe.de/"]')) else if (hostname.endsWith('.de')) {
group = '###_de_haas_medien'; if (matchDomain(['bergstraesser-anzeiger.de', 'fnweb.de', 'mannheimer-morgen.de', 'schwetzinger-zeitung.de'])) {
else if (document.querySelector('head > link[href*=".rndtech.de/"]')) group = '###_de_haas_medien';
group = '###_de_madsack'; nofix = 1;
else if (document.querySelector('a.mgw-logo[href^="https://mgw.de"]')) } else if (document.querySelector('head > link[href*=".rndtech.de/"]'))
group = '###_de_mgw'; group = '###_de_madsack';
else if (matchDomain(['cannstatter-zeitung.de', 'esslinger-zeitung.de', 'frankenpost.de', 'insuedthueringen.de', 'krzbb.de', 'kurier.de', 'np-coburg.de'])) else if (document.querySelector('header a.mgw-logo[href^="https://mgw.de"]'))
group = '###_de_mhs'; group = '###_de_mgw'; // custom
else if (matchDomain(['bgland24.de', 'chiemgau24.de', 'innsalzach24.de', 'mangfall24.de', 'rosenheim24.de', 'wasserburg24.de'])) else if (matchDomain(['cannstatter-zeitung.de', 'esslinger-zeitung.de', 'frankenpost.de', 'insuedthueringen.de', 'krzbb.de', 'kurier.de', 'np-coburg.de']))
group = '###_de_ovb_media'; group = '###_de_smn';
else if (matchDomain(['buerstaedter-zeitung.de', 'hochheimer-zeitung.de', 'lampertheimer-zeitung.de', 'lauterbacher-anzeiger.de', 'main-spitze.de', 'mittelhessen.de', 'oberhessische-zeitung.de', 'wormser-zeitung.de'])) else if (matchDomain(['buerstaedter-zeitung.de', 'hochheimer-zeitung.de', 'lampertheimer-zeitung.de', 'lauterbacher-anzeiger.de', 'main-spitze.de', 'mittelhessen.de', 'oberhessische-zeitung.de', 'wormser-zeitung.de']))
group = '###_de_vrm'; group = '###_de_vrm';
else if (document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]')) else if (matchDomain('finanzbusiness.de'))
group = '###_ch_media'; group = '###_dk_watch_media'; // custom
else if (document.querySelector('head > link[href*=".tamedia.ch/"]')) else if (matchDomain('schwaebische-post.de') || document.querySelector('header a[href^="https://www.ippen.media"]'))
group = '###_ch_tamedia';// custom group = '###_de_ippen_media';
} else if (hostname.endsWith('.ch')) {
if (document.querySelector('head > script[src^="https://static.data.chmedia.ch/"]'))
group = '###_ch_media'; // custom
else if (document.querySelector('div#__next > div.page-section li > a[href^="https://jobs.tamedia.ch/"]'))
group = '###_ch_tamedia';
}
} else if (hostname.endsWith('.dk')) {
if (matchDomain(['doi.dk']) || document.querySelector('div#footer > div.row > div.col > a[href="https://www.dkmedier.dk"]'))
group = '###_dk_medier';
else if (hostname.endsWith('watch.dk') && document.querySelector('head > link[as="image"][imagesrcset^="https://photos.watchmedier.dk/"]'))
group = '###_dk_watch_media'; // custom
} else if (hostname.match(/\.(es|cat)$/) || matchDomain(['diariocordoba.com', 'elperiodicodearagon.com', 'elperiodicoextremadura.com', 'elperiodicomediterraneo.com', 'emporda.info'])) { } else if (hostname.match(/\.(es|cat)$/) || matchDomain(['diariocordoba.com', 'elperiodicodearagon.com', 'elperiodicoextremadura.com', 'elperiodicomediterraneo.com', 'emporda.info'])) {
if (document.querySelector('head > link[href*="/estaticos-cdn."]')) if (document.querySelector('head > link[href*="/estaticos-cdn."]'))
group = '###_es_epiberica'; group = '###_es_epiberica';
else if (document.querySelector('div > ul > li > a[href="https://www.sportlife.es/"]')) else if (document.querySelector('div > ul > li > a[href="https://www.sportlife.es/"]'))
group = '###_es_sport_life'; group = '###_es_sport_life';
} else if (hostname.endsWith('.fi')) { } else if (hostname.endsWith('.fi')) {
if (document.querySelector('head > link[href^="https://assets.almatalent.fi"]')) if (document.querySelector('head > link[href^="https://assets.almatalent.fi"]')) {
group = '###_fi_alma_talent';// no fix group = '###_fi_alma_talent';
else if (document.querySelector('head[prefix*=".kalevamedia.fi/"]')) nofix = 1;
group = '###_fi_kaleva';// no fix } else if (document.querySelector('head[prefix*=".kalevamedia.fi/"]')) {
group = '###_fi_kaleva';
nofix = 1;
}
} else if (hostname.endsWith('.fr')) { } else if (hostname.endsWith('.fr')) {
if (document.querySelector('head > meta[name="google-play-app"][content^="app-id=com.centrefrance"]')) if (matchDomain(['larep.fr', 'leberry.fr', 'lechorepublicain.fr', 'lejdc.fr', 'lepopulaire.fr', 'leveil.fr', 'lyonne.fr']))
group = '###_fr_gcf'; group = '###_fr_gcf';
else if (matchDomain(['cahiers-techniques-batiment.fr', 'lsa-conso.fr'])) else if (matchDomain(['cahiers-techniques-batiment.fr', 'lemoniteur.fr', 'lsa-conso.fr']))
group = '###_fr_groupe_infopro'; group = '###_fr_groupe_infopro';
else if (matchDomain(['echoancenis.fr', 'echoduberry.fr', 'hautanjou.fr', 'larenaissancehebdo.fr', 'lecourriercauchois.fr', 'lecourrierdelamayenne.fr']))
group = '###_fr_groupe_la_manche_libre';
} else if (hostname.endsWith('.it')) { } else if (hostname.endsWith('.it')) {
if (document.querySelector('head > link[href^="//citynews.stgy.ovh/"]')) if (document.querySelector('head > link[href^="//citynews.stgy.ovh/"]')) {
group = '###_it_citynews';// no fix group = '###_it_citynews';
nofix = 1;
}
else if (matchDomain(['gazzettadimodena.it', 'gazzettadireggio.it', 'lanuovaferrara.it'])) else if (matchDomain(['gazzettadimodena.it', 'gazzettadireggio.it', 'lanuovaferrara.it']))
group = '###_it_gruppo_sae'; group = '###_it_gruppo_sae';
} else if (hostname.endsWith('.nl')) { } else if (hostname.endsWith('.nl') || matchDomain(['bike-eu.com'])) {
if (document.querySelector('head > link[href*=".ndcmediagroep.nl/"]')) if (document.querySelector('head > meta[name="twitter:creator"][content="@Agrio"]')) {
group = '###_nl_agrio';
nofix = 1;
} else if (document.querySelector('head > link[href*=".ndcmediagroep.nl/"]'))
group = '###_nl_mediahuis_noord'; group = '###_nl_mediahuis_noord';
else if (document.querySelector('head > link[rel="dns-prefetch"][href^="https://vmn-"][href$="imgix.net"]')) else if (matchDomain(['gooieneemlander.nl', 'ijmuidercourant.nl']))
group = '###_nl_vmnmedia';// no fix group = '###_nl_mediahuis_region';
else if (matchDomain(['bike-eu.com']) || document.querySelector('head > link[rel="dns-prefetch"][href^="https://vmn-"][href$="imgix.net"]'))
group = '###_nl_vmnmedia';
} else if (hostname.endsWith('.no')) {
if (hostname.endsWith('watch.no') && document.querySelector('head > link[as="image"][imagesrcset^="https://photos.watchmedier.dk/"]'))
group = '###_dk_watch_media'; // custom
} else if (hostname.endsWith('.se')) { } else if (hostname.endsWith('.se')) {
if (document.querySelector('footer > div > div > a[href="https://www.nwtmedia.se/"]')) if (document.querySelector('footer > div > div > a[href="https://www.nwtmedia.se/"]'))
group = '###_se_nwt_media'; group = '###_se_nwt_media';
else if (document.querySelector('head > link[href^="https://cdn.gotamedia.se/"]')) else if (document.querySelector('footer ul > li > a[href^="https://privacy.bonniernews.se/cookiepolicy"]'))
group = '###_se_gota_media';// no fix group = '###_se_bonnier_group';
else if (document.querySelector('head > link[href^="https://cdn.gotamedia.se/"]')) {
group = '###_se_gota_media';
nofix = 1;
}
} else if (hostname.match(/\.(co\.uk|scot)$/)) { } else if (hostname.match(/\.(co\.uk|scot)$/)) {
if (document.querySelector('footer > div a[href^="https://www.nationalworldplc.com"]')) if (matchDomain(['motortransport.co.uk']))
group = '###_uk_nat_world'; group = '###_uk_dvv_media';
else if (matchDomain(['investmentweek.co.uk'])) else if (document.querySelector('footer a[href^="https://www.mediaconcierge.co.uk"]'))
group = '###_uk_incisive_media'; group = '###_uk_iconic_media';
else if (document.querySelector('footer li > a[href^="https://www.newsquest.co.uk/"]')) else if (document.querySelector('footer a[href^="https://www.newsquest.co.uk/"]'))
group = '###_uk_newsquest'; group = '###_uk_newsquest';
else if (document.querySelector('div#wrbm-footer-div'))
group = '###_uk_william_reed';
else if (matchDomain(['footballleagueworld.co.uk']))
group = '###_ca_valnet';
} else if (hostname.match(/\.(ca|com|net|news|org)$/)) { } else if (hostname.match(/\.(ca|com|net|news|org)$/)) {
if (matchDomain(['latribune.ca', 'lavoixdelest.ca', 'ledroit.com', 'lenouvelliste.ca', 'lequotidien.com'])) if (matchDomain(['latribune.ca', 'lavoixdelest.ca', 'ledroit.com', 'ledroitfranco.com', 'lenouvelliste.ca', 'lequotidien.com']))
group = '###_ca_gcm'; group = '###_ca_gcm';
else if (document.querySelector('script[src*=".postmedia.digital/"], head > meta[content*=".postmedia.digital/"]')) else if (matchDomain(['montrealgazette.com']) || document.querySelector('head > script[src*=".postmedia.digital/"], head > meta[content*=".postmedia.digital/"]'))
group = '###_ca_postmedia'; group = '###_ca_postmedia';
else if (document.querySelector('script[src*=".axate.io/"], script[src*=".agate.io/"]')) else if (document.querySelector('div.asp_logo > a > img[src$="aspermont.png"]')) {
group = '###_uk_aspermont';
nofix = 1;
} else if (document.querySelector('head > script[src*=".axate.io/"], head > script[src*=".agate.io/"]'))
group = '###_uk_axate.io'; group = '###_uk_axate.io';
else if (matchDomain(['businessgreen.com', 'internationalinvestment.net', 'professionaladviser.com', 'professionalpensions.com'])) else if (matchDomain(['flightglobal.com', 'freightcarbonzero.com', 'heavyliftpfi.com', 'personneltoday.com', 'railwaygazette.com']))
group = '###_uk_incisive_media'; group = '###_uk_dvv_media';
else if (document.querySelector('footer li > a[href^="https://www.newsquest.co.uk/"]')) else if (matchDomain(['agendanews.com', 'boardiq.com', 'endpoints.news', 'financialadvisoriq.com', 'fundfire.com', 'healthpayerspecialist.com', 'ignites.com', 'ignitesasia.com', 'igniteseurope.com', 'lifeannuityspecialist.com', 'pandcspecialist.com']))
group = '###_uk_ft_specialist';
else if (document.querySelector('footer a[href^="https://www.newsquest.co.uk/"]'))
group = '###_uk_newsquest'; group = '###_uk_newsquest';
else if (document.querySelector('div#wrbm-footer-div'))
group = '###_uk_william_reed';
else if (document.querySelector('head > script[src="https://cdn.blueconic.net/bridgetowermedia.js"], header.site-header > div.btm-header')) else if (document.querySelector('head > script[src="https://cdn.blueconic.net/bridgetowermedia.js"], header.site-header > div.btm-header'))
group = '###_usa_bridge_tower'; group = '###_usa_bridge_tower';
else if (document.querySelector('footer#footer li > a[href^="https://cherryroad-media.com"]')) else if (document.querySelector('head > script[type][src*="-cnhi-pw.newsmemory.com"]'))
group = '###_usa_cherryroad';// no fix group = '###_usa_cnhi';
else if (document.querySelector('head > link[href*=".gannettdigital.com/"], head > link[href*=".gannett-cdn.com/"]')) else if (document.querySelector('footer#footer li > a[href^="https://cherryroad-media.com"]')) {
group = '###_usa_cherryroad';
nofix = 1;
} else if (document.querySelector('head > link[href*=".gannettdigital.com/"], head > link[href*=".gannett-cdn.com/"]'))
group = '###_usa_gannett'; group = '###_usa_gannett';
else if (document.querySelector('head > script[src*="/treg.hearstnp.com/"]')) else if (document.querySelector('head > script[src*="/treg.hearstnp.com/"]'))
group = '###_usa_hearst_comm'; group = '###_usa_hearst_comm';
else if (document.querySelector('head > script[src*=".townnews.com/leetemplates.com/')) else if (document.querySelector('head > script[src*=".townnews.com/leetemplates.com/"]'))
group = '###_usa_lee_ent'; group = '###_usa_lee_ent';
else if (document.querySelector('head > meta[name="tncms-access-version')) else if (document.querySelector('head > meta[name="tncms-access-version"]'))
group = '###_usa_townnews'; group = '###_usa_townnews';
else if (document.querySelector('head > meta[content^="https://www.mcclatchy-wires.com/"], a[href^="https://classifieds.mcclatchy.com/"], script[src*=".mcclatchyinteractive.com/"]')) else if (document.querySelector('head > link[href^="https://mcclatchy-d.openx.net"], footer a[href^="https://www.mcclatchy.com/privacy-policy"]'))
group = '###_usa_mcc'; group = '###_usa_mcc';
else if (document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]')) else if (document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]'))
group = '###_usa_mng'; group = '###_usa_mng';
else if (document.querySelector('head > link[href$=".wallkit.net"]'))
group = '###_wp_wallkit';
else if (hostname.match(/\.com$/)) { else if (hostname.match(/\.com$/)) {
if (matchDomain(['journalauto.com', 'journaldupneu.com', 'j2rauto.com'])) if (document.querySelector('div.footer-note > div.text > a[href^="https://www.valnetinc.com"]'))
group = '###_ca_valnet';
else if (matchDomain(['amwatch.com', 'medwatch.com', 'shippingwatch.com']))
group = '###_dk_watch_media'; // custom
else if (matchDomain(['journalauto.com', 'journaldupneu.com', 'j2rauto.com']))
group = '###_fr_synerj'; group = '###_fr_synerj';
else if (matchDomain(['argusdelassurance.com', 'lagazettedescommunes.com'])) else if (matchDomain(['argusdelassurance.com']))
group = '###_fr_groupe_infopro'; group = '###_fr_groupe_infopro';
else if (!matchDomain('institutionalinvestor.com') && (matchDomain('thedeal.com') || document.querySelector('footer.Page-footer a.Link[href="https://www.delinian.com/privacy-policy"]'))) else if (!matchDomain(['delinian.com', 'structuredretailproducts.com']) && document.querySelector('footer a[href^="https://www.delinian.com/privacy-policy"]'))
group = '###_uk_delinian';// no fix group = '###_uk_delinian'; // custom
else if (document.querySelector('footer a[href^="https://www.lbresearch.com"]')) {
group = '###_uk_law_business_research';
nofix = 1;
} else if (matchDomain(['oed.com']) || (hostname.startsWith('oxford') && document.querySelector('div[id^="footer"] a[href="http://www.oup.com/"]')))
group = '###_uk_oup';
else if (document.querySelector('head > meta[property][content^="https://cdn.forumcomm.com/"]')) else if (document.querySelector('head > meta[property][content^="https://cdn.forumcomm.com/"]'))
group = '###_usa_forum_comm'; group = '###_usa_forum_comm';
else if (document.querySelector('li > a[href^="https://www.bnpmedia.com/"]')) else if (document.querySelector('li > a[href^="https://www.bnpmedia.com/"]'))
@@ -135,37 +228,37 @@ window.setTimeout(function () {
group = '###_usa_industrydive'; group = '###_usa_industrydive';
else if (matchDomain(['centralmaine.com', 'pressherald.com', 'sunjournal.com'])) else if (matchDomain(['centralmaine.com', 'pressherald.com', 'sunjournal.com']))
group = '###_usa_maine_trust'; group = '###_usa_maine_trust';
else if (document.querySelector('head > meta[name="peim_article_access_type"]')) else if (document.querySelector('head > meta[name="peim_article_access_type"]')) {
group = '###_usa_pei'; group = '###_usa_pei';
else if (matchDomain(['dayton.com', 'daytondailynews.com', 'journal-news.com', 'springfieldnewssun.com'])) nofix = 1;
group = 'ajc.com';// Cox First Media } else if (document.querySelector('footer[id] a[href^="https://www.soundpublishing.com"]'))
group = '###_usa_sound_publishing';
else if (matchDomain(['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com'])) else if (matchDomain(['accountingtoday.com', 'benefitnews.com', 'bondbuyer.com', 'dig-in.com', 'financial-planning.com', 'nationalmortgagenews.com']))
group = 'americanbanker.com';// Arizent group = 'americanbanker.com'; // Arizent
} }
} else { } else {
if (matchDomain(['insideretail.asia', 'insideretail.co.nz' ,'insideretail.com.au', 'insideretail.us'])) if (matchDomain(['insideretail.asia', 'insideretail.co.nz', 'insideretail.com.au', 'insideretail.us']))
group = '###_au_inside_retail'; group = '###_au_inside_retail';
} }
if (group)
console.log(group);
ext_api.runtime.sendMessage({ ext_api.runtime.sendMessage({
request: 'custom_domain', request: 'custom_domain',
data: { data: {
domain: custom_domain, domain: custom_domain,
group: group group: group,
nofix: nofix
} }
}); });
} }
}, 1000);
}, 1000); }
function matchDomain(domains, hostname) { function matchDomain(domains, hostname = window.location.hostname) {
var matched_domain = false;
if (!hostname)
hostname = window.location.hostname;
if (typeof domains === 'string') if (typeof domains === 'string')
domains = [domains]; domains = [domains];
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain)); return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
return matched_domain;
} }
function getCookieDomain(hostname) { function getCookieDomain(hostname) {

View File

@@ -2,40 +2,23 @@
var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_api = (typeof browser === 'object') ? browser : chrome;
var hostname = window.location.hostname; var hostname = window.location.hostname;
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de', 'rnd.de'];
if (hostname.match(/\.de$/)) { if (matchDomain('automobilwoche.de')) {
function automobilwoche_main() {
if (matchDomain(de_madsack_domains) || document.querySelector('head > link[href*=".rndtech.de/"]')) { for (let n = 0; n < 25; n++) {
function madsack_main() {
for (let n = 0; n < 10; n++) {
window.setTimeout(function () { window.setTimeout(function () {
if (window.Fusion) { if (window.Fusion) {
window.Fusion.globalContent.isPaid = false; window.Fusion.globalContent._id = 0;
window.Fusion.globalContent.content_restrictions = {};
} }
}, n * 50); }, n * 50);
} }
} }
insert_script(madsack_main); insert_script(automobilwoche_main);
}
}
if (matchDomain('dagsavisen.no')) {
function dagsavisen_main() {
for (let n = 0; n < 10; n++) {
window.setTimeout(function () {
if (window.Fusion) {
window.Fusion.globalContent.content_restrictions.content_code = 0;
}
}, n * 50);
}
}
insert_script(dagsavisen_main);
} }
else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) { else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) {
for (let n = 0; n < 10; n++) { for (let n = 0; n < 50; n++) {
window.setTimeout(function () { window.setTimeout(function () {
let article = document.querySelector('div.article-main-txt.composer-content'); let article = document.querySelector('div.article-main-txt.composer-content');
if (article) if (article)
@@ -46,7 +29,7 @@ else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) {
else if (matchDomain('nzherald.co.nz')) { else if (matchDomain('nzherald.co.nz')) {
function nzherald_main() { function nzherald_main() {
for (let n = 0; n < 10; n++) { for (let n = 0; n < 25; n++) {
window.setTimeout(function () { window.setTimeout(function () {
if (window.Fusion) { if (window.Fusion) {
window.Fusion.globalContent.isPremium = false; window.Fusion.globalContent.isPremium = false;
@@ -57,14 +40,10 @@ else if (matchDomain('nzherald.co.nz')) {
insert_script(nzherald_main); insert_script(nzherald_main);
} }
function matchDomain(domains, hostname) { function matchDomain(domains, hostname = window.location.hostname) {
var matched_domain = false;
if (!hostname)
hostname = window.location.hostname;
if (typeof domains === 'string') if (typeof domains === 'string')
domains = [domains]; domains = [domains];
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain)); return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
return matched_domain;
} }
function removeDOMElement(...elements) { function removeDOMElement(...elements) {

View File

@@ -1,20 +1,23 @@
{ {
"background": { "background": {
"scripts": ["sites.js", "bpc_count_daily_users.js", "background.js"] "service_worker": "background.js"
}, },
"content_security_policy": "script-src 'self'; object-src 'self'", "content_security_policy": {
"browser_action": { "extension_pages": "script-src 'self'; object-src 'self'"
},
"action": {
"default_popup": "options/popup.html" "default_popup": "options/popup.html"
}, },
"description": "Bypass Paywalls of news sites", "description": "Bypass Paywalls of news sites",
"homepage_url": "https://twitter.com/Magnolia1234B", "homepage_url": "https://github.com/bpc-clone/bypass-paywalls-chrome-clean",
"icons": { "icons": {
"128": "bypass.png" "128": "bypass.png"
}, },
"manifest_version": 2, "manifest_version": 3,
"minimum_chrome_version": "109",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB",
"name": "Bypass Paywalls Clean", "name": "Bypass Paywalls Clean",
"update_url": "https://bitbucket.org/bpc-updates/bpc_updates/downloads//updates.xml", "update_url": "https://gitflic.ru/project/magnolia1234/bpc_updates/blob/raw?file=updates.xml",
"short_name": "Bypass Paywall", "short_name": "Bypass Paywall",
"options_ui": { "options_ui": {
"open_in_tab": true, "open_in_tab": true,
@@ -25,9 +28,12 @@
"cookies", "cookies",
"storage", "storage",
"activeTab", "activeTab",
"webRequest", "declarativeNetRequestWithHostAccess",
"webRequestBlocking", "scripting",
"offscreen"
],
"host_permissions": [
"*://*/*" "*://*/*"
], ],
"version": "3.6.4.5" "version": "4.2.8.2"
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,42 +1,51 @@
{ {
"background": { "background": {
"scripts": ["sites.js", "bpc_count_daily_users.js", "background.js"] "service_worker": "background.js"
}, },
"content_security_policy": "script-src 'self'; object-src 'self'", "content_security_policy": {
"browser_action": { "extension_pages": "script-src 'self'; object-src 'self'"
},
"action": {
"default_popup": "options/popup.html" "default_popup": "options/popup.html"
}, },
"description": "Bypass Paywalls of news sites", "description": "Bypass Paywalls of news sites",
"homepage_url": "https://twitter.com/Magnolia1234B", "homepage_url": "https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean",
"icons": { "icons": {
"128": "bypass.png" "128": "bypass.png"
}, },
"manifest_version": 2, "manifest_version": 3,
"minimum_chrome_version": "109",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB", "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB",
"name": "Bypass Paywalls Clean", "name": "Bypass Paywalls Clean",
"update_url": "https://bitbucket.org/bpc-updates/bpc_updates/downloads/updates.xml", "update_url": "https://gitflic.ru/project/magnolia1234/bpc_updates/blob/raw?file=updates.xml",
"short_name": "Bypass Paywall", "short_name": "Bypass Paywall",
"options_ui": { "options_ui": {
"open_in_tab": true, "open_in_tab": true,
"page": "options/options.html" "page": "options/options.html"
}, },
"incognito": "split", "incognito": "split",
"optional_permissions": [
"<all_urls>"
],
"permissions": [ "permissions": [
"cookies", "cookies",
"storage", "storage",
"activeTab", "activeTab",
"webRequest", "declarativeNetRequestWithHostAccess",
"webRequestBlocking", "scripting",
"offscreen"
],
"optional_host_permissions": [
"*://*/*"
],
"host_permissions": [
"*://*.24heures.ch/*",
"*://*.360dx.com/*", "*://*.360dx.com/*",
"*://*.60millions-mag.com/*", "*://*.60millions-mag.com/*",
"*://*.aargauerzeitung.ch/*", "*://*.aachener-zeitung.de/*",
"*://*.abc.es/*", "*://*.abc.es/*",
"*://*.abcmais.com/*",
"*://*.abendblatt.de/*", "*://*.abendblatt.de/*",
"*://*.abqjournal.com/*", "*://*.abqjournal.com/*",
"*://*.abril.com.br/*", "*://*.abril.com.br/*",
"*://*.actu.fr/*",
"*://*.ad.nl/*", "*://*.ad.nl/*",
"*://*.adage.com/*", "*://*.adage.com/*",
"*://*.adelaidenow.com.au/*", "*://*.adelaidenow.com.au/*",
@@ -44,7 +53,10 @@
"*://*.aerokurier.de/*", "*://*.aerokurier.de/*",
"*://*.aerztezeitung.de/*", "*://*.aerztezeitung.de/*",
"*://*.afr.com/*", "*://*.afr.com/*",
"*://*.aftenposten.no/*",
"*://*.aisnenouvelle.fr/*",
"*://*.ajc.com/*", "*://*.ajc.com/*",
"*://*.al-monitor.com/*",
"*://*.al.com/*", "*://*.al.com/*",
"*://*.allgemeine-zeitung.de/*", "*://*.allgemeine-zeitung.de/*",
"*://*.alternatives-economiques.fr/*", "*://*.alternatives-economiques.fr/*",
@@ -53,6 +65,7 @@
"*://*.americanbanker.com/*", "*://*.americanbanker.com/*",
"*://*.americanpurpose.com/*", "*://*.americanpurpose.com/*",
"*://*.americastestkitchen.com/*", "*://*.americastestkitchen.com/*",
"*://*.aoc.media/*",
"*://*.apollo-magazine.com/*", "*://*.apollo-magazine.com/*",
"*://*.ara.cat/*", "*://*.ara.cat/*",
"*://*.arabalears.cat/*", "*://*.arabalears.cat/*",
@@ -60,13 +73,12 @@
"*://*.arcinfo.ch/*", "*://*.arcinfo.ch/*",
"*://*.artforum.com/*", "*://*.artforum.com/*",
"*://*.artnet.com/*", "*://*.artnet.com/*",
"*://*.artsenkrant.com/*",
"*://*.atavist.com/*", "*://*.atavist.com/*",
"*://*.atlantico.fr/*", "*://*.atlantico.fr/*",
"*://*.augsburger-allgemeine.de/*",
"*://*.auto-motor-und-sport.de/*", "*://*.auto-motor-und-sport.de/*",
"*://*.auto-swiat.pl/*", "*://*.auto-swiat.pl/*",
"*://*.autocar.co.uk/*", "*://*.autocar.co.uk/*",
"*://*.autohebdo.fr/*",
"*://*.automobilwoche.de/*", "*://*.automobilwoche.de/*",
"*://*.autonews.com/*", "*://*.autonews.com/*",
"*://*.autoplus.fr/*", "*://*.autoplus.fr/*",
@@ -78,17 +90,23 @@
"*://*.baltimoresun.com/*", "*://*.baltimoresun.com/*",
"*://*.barandbench.com/*", "*://*.barandbench.com/*",
"*://*.barrons.com/*", "*://*.barrons.com/*",
"*://*.bazonline.ch/*",
"*://*.bbc.com/*",
"*://*.bd.nl/*", "*://*.bd.nl/*",
"*://*.beleggersbelangen.nl/*", "*://*.beleggersbelangen.nl/*",
"*://*.belfasttelegraph.co.uk/*", "*://*.belfasttelegraph.co.uk/*",
"*://*.bendigoadvertiser.com.au/*", "*://*.bendigoadvertiser.com.au/*",
"*://*.benzinga.com/*",
"*://*.beobachter.ch/*", "*://*.beobachter.ch/*",
"*://*.berliner-zeitung.de/*", "*://*.berliner-zeitung.de/*",
"*://*.berlingske.dk/*", "*://*.berlingske.dk/*",
"*://*.bernerzeitung.ch/*",
"*://*.betamtb.com/*", "*://*.betamtb.com/*",
"*://*.betternutrition.com/*", "*://*.betternutrition.com/*",
"*://*.betterprogramming.pub/*", "*://*.betterprogramming.pub/*",
"*://*.bhaskar.com/*",
"*://*.bicycling.com/*", "*://*.bicycling.com/*",
"*://*.bienpublic.com/*",
"*://*.bild.de/*", "*://*.bild.de/*",
"*://*.billboard.com/*", "*://*.billboard.com/*",
"*://*.bizjournals.com/*", "*://*.bizjournals.com/*",
@@ -97,27 +115,34 @@
"*://*.bloombergadria.com/*", "*://*.bloombergadria.com/*",
"*://*.bnd.com/*", "*://*.bnd.com/*",
"*://*.bndestem.nl/*", "*://*.bndestem.nl/*",
"*://*.bnn.de/*",
"*://*.boersen-zeitung.de/*", "*://*.boersen-zeitung.de/*",
"*://*.bonappetit.com/*", "*://*.bonappetit.com/*",
"*://*.bordermail.com.au/*", "*://*.bordermail.com.au/*",
"*://*.bostonglobe.com/*", "*://*.bostonglobe.com/*",
"*://*.bostonherald.com/*", "*://*.bostonherald.com/*",
"*://*.braunschweiger-zeitung.de/*", "*://*.braunschweiger-zeitung.de/*",
"*://*.brill.com/*",
"*://*.brisbanetimes.com.au/*", "*://*.brisbanetimes.com.au/*",
"*://*.britannica.com/*", "*://*.britannica.com/*",
"*://*.bt.no/*",
"*://*.buffalonews.com/*", "*://*.buffalonews.com/*",
"*://*.business-standard.com/*", "*://*.business-standard.com/*",
"*://*.businessam.be/*", "*://*.businessam.be/*",
"*://*.businessdailyafrica.com/*",
"*://*.businessdesk.co.nz/*",
"*://*.businessinsider.com.pl/*", "*://*.businessinsider.com.pl/*",
"*://*.businessinsider.com/*", "*://*.businessinsider.com/*",
"*://*.businessinsider.jp/*",
"*://*.businessinsider.nl/*", "*://*.businessinsider.nl/*",
"*://*.businessoffashion.com/*", "*://*.businessoffashion.com/*",
"*://*.businesspost.ie/*", "*://*.businesspost.ie/*",
"*://*.businesstimes.com.sg/*",
"*://*.cairnspost.com.au/*", "*://*.cairnspost.com.au/*",
"*://*.calgaryherald.com/*", "*://*.calgaryherald.com/*",
"*://*.cambiocolombia.com/*",
"*://*.canarias7.es/*", "*://*.canarias7.es/*",
"*://*.canberratimes.com.au/*", "*://*.canberratimes.com.au/*",
"*://*.capital.bg/*",
"*://*.capital.fr/*", "*://*.capital.fr/*",
"*://*.capitalgazette.com/*", "*://*.capitalgazette.com/*",
"*://*.cartacapital.com.br/*", "*://*.cartacapital.com.br/*",
@@ -132,8 +157,8 @@
"*://*.chicagobusiness.com/*", "*://*.chicagobusiness.com/*",
"*://*.chicagotribune.com/*", "*://*.chicagotribune.com/*",
"*://*.chronicle.com/*", "*://*.chronicle.com/*",
"*://*.chunichi.co.jp/*",
"*://*.cicero.de/*", "*://*.cicero.de/*",
"*://*.cieletespace.fr/*",
"*://*.cincinnati.com/*", "*://*.cincinnati.com/*",
"*://*.citywire.com/*", "*://*.citywire.com/*",
"*://*.clarin.com/*", "*://*.clarin.com/*",
@@ -141,7 +166,6 @@
"*://*.cleveland.com/*", "*://*.cleveland.com/*",
"*://*.clicrbs.com.br/*", "*://*.clicrbs.com.br/*",
"*://*.climbing.com/*", "*://*.climbing.com/*",
"*://*.cmjornal.pt/*",
"*://*.cnbc.com/*", "*://*.cnbc.com/*",
"*://*.cnn.com/*", "*://*.cnn.com/*",
"*://*.cntraveler.com/*", "*://*.cntraveler.com/*",
@@ -161,6 +185,7 @@
"*://*.courant.com/*", "*://*.courant.com/*",
"*://*.courier-journal.com/*", "*://*.courier-journal.com/*",
"*://*.couriermail.com.au/*", "*://*.couriermail.com.au/*",
"*://*.courrier-picard.fr/*",
"*://*.courrierinternational.com/*", "*://*.courrierinternational.com/*",
"*://*.crainscleveland.com/*", "*://*.crainscleveland.com/*",
"*://*.crainsdetroit.com/*", "*://*.crainsdetroit.com/*",
@@ -173,35 +198,45 @@
"*://*.ctpost.com/*", "*://*.ctpost.com/*",
"*://*.curbed.com/*", "*://*.curbed.com/*",
"*://*.cw.com.tw/*", "*://*.cw.com.tw/*",
"*://*.cyclingnews.com/*",
"*://*.dagensmedicin.se/*",
"*://*.dagsavisen.no/*", "*://*.dagsavisen.no/*",
"*://*.dailyadvertiser.com.au/*", "*://*.dailyadvertiser.com.au/*",
"*://*.dailyherald.com/*",
"*://*.dailyliberal.com.au/*", "*://*.dailyliberal.com.au/*",
"*://*.dailymail.co.uk/*", "*://*.dailymail.co.uk/*",
"*://*.dailypress.com/*", "*://*.dailypress.com/*",
"*://*.dailytelegraph.com.au/*", "*://*.dailytelegraph.com.au/*",
"*://*.dailywire.com/*", "*://*.dailywire.com/*",
"*://*.dallasnews.com/*", "*://*.dallasnews.com/*",
"*://*.decanter.com/*",
"*://*.defector.com/*", "*://*.defector.com/*",
"*://*.delish.com/*", "*://*.delish.com/*",
"*://*.democratandchronicle.com/*", "*://*.democratandchronicle.com/*",
"*://*.demorgen.be/*", "*://*.demorgen.be/*",
"*://*.denik.cz/*",
"*://*.denverpost.com/*", "*://*.denverpost.com/*",
"*://*.deraktionaer.de/*", "*://*.derbund.ch/*",
"*://*.desmoinesregister.com/*", "*://*.desmoinesregister.com/*",
"*://*.destentor.nl/*", "*://*.destentor.nl/*",
"*://*.detroitnews.com/*", "*://*.detroitnews.com/*",
"*://*.df.cl/*", "*://*.df.cl/*",
"*://*.dhnet.be/*", "*://*.dhnet.be/*",
"*://*.di.se/*",
"*://*.diariocorreo.pe/*", "*://*.diariocorreo.pe/*",
"*://*.diariodemallorca.es/*", "*://*.diariodemallorca.es/*",
"*://*.diariodenavarra.es/*",
"*://*.diariosur.es/*", "*://*.diariosur.es/*",
"*://*.diariovasco.com/*", "*://*.diariovasco.com/*",
"*://*.diepresse.com/*",
"*://*.digiday.com/*", "*://*.digiday.com/*",
"*://*.digitimes.com/*", "*://*.digitimes.com/*",
"*://*.diplomatique.org.br/*",
"*://*.discovermagazine.com/*", "*://*.discovermagazine.com/*",
"*://*.dispatch.com/*", "*://*.dispatch.com/*",
"*://*.dn.no/*",
"*://*.dn.pt/*",
"*://*.dn.se/*",
"*://*.dna.fr/*",
"*://*.dnevnik.bg/*",
"*://*.doorbraak.be/*", "*://*.doorbraak.be/*",
"*://*.dvhn.nl/*", "*://*.dvhn.nl/*",
"*://*.dwell.com/*", "*://*.dwell.com/*",
@@ -216,6 +251,7 @@
"*://*.elcomercio.pe/*", "*://*.elcomercio.pe/*",
"*://*.elconfidencial.com/*", "*://*.elconfidencial.com/*",
"*://*.elcorreo.com/*", "*://*.elcorreo.com/*",
"*://*.eldeber.com.bo/*",
"*://*.eldia.es/*", "*://*.eldia.es/*",
"*://*.eldiario.es/*", "*://*.eldiario.es/*",
"*://*.eldiariomontanes.es/*", "*://*.eldiariomontanes.es/*",
@@ -234,8 +270,11 @@
"*://*.elperiodico.com/*", "*://*.elperiodico.com/*",
"*://*.eltiempo.com/*", "*://*.eltiempo.com/*",
"*://*.eltribuno.com/*", "*://*.eltribuno.com/*",
"*://*.eluniversal.com.mx/*",
"*://*.eluniverso.com/*",
"*://*.em.com.br/*", "*://*.em.com.br/*",
"*://*.enotes.com/*", "*://*.enotes.com/*",
"*://*.entrepreneur.com/*",
"*://*.epe.es/*", "*://*.epe.es/*",
"*://*.epicurious.com/*", "*://*.epicurious.com/*",
"*://*.epoch.org.il/*", "*://*.epoch.org.il/*",
@@ -243,6 +282,7 @@
"*://*.esprit.presse.fr/*", "*://*.esprit.presse.fr/*",
"*://*.esquire.com/*", "*://*.esquire.com/*",
"*://*.estadao.com.br/*", "*://*.estadao.com.br/*",
"*://*.estrepublicain.fr/*",
"*://*.etc.se/*", "*://*.etc.se/*",
"*://*.euobserver.com/*", "*://*.euobserver.com/*",
"*://*.european-rubber-journal.com/*", "*://*.european-rubber-journal.com/*",
@@ -255,7 +295,6 @@
"*://*.farodevigo.es/*", "*://*.farodevigo.es/*",
"*://*.fastcompany.com/*", "*://*.fastcompany.com/*",
"*://*.faz.net/*", "*://*.faz.net/*",
"*://*.fd.nl/*",
"*://*.femmesdaujourdhui.be/*", "*://*.femmesdaujourdhui.be/*",
"*://*.fieldandstream.com/*", "*://*.fieldandstream.com/*",
"*://*.financialexpress.com/*", "*://*.financialexpress.com/*",
@@ -265,21 +304,25 @@
"*://*.flair.be/*", "*://*.flair.be/*",
"*://*.flair.nl/*", "*://*.flair.nl/*",
"*://*.flugrevue.de/*", "*://*.flugrevue.de/*",
"*://*.fmrmagazine.com/*",
"*://*.fnlondon.com/*", "*://*.fnlondon.com/*",
"*://*.focusplus.de/*",
"*://*.forbes.com.au/*", "*://*.forbes.com.au/*",
"*://*.forbes.com/*", "*://*.forbes.com/*",
"*://*.forbes.pl/*", "*://*.forbes.pl/*",
"*://*.forbes.ua/*",
"*://*.foreignaffairs.com/*", "*://*.foreignaffairs.com/*",
"*://*.foreignpolicy.com/*", "*://*.foreignpolicy.com/*",
"*://*.fortune.com/*", "*://*.fortune.com/*",
"*://*.foxnews.com/*", "*://*.foxnews.com/*",
"*://*.fr.de/*",
"*://*.freep.com/*", "*://*.freep.com/*",
"*://*.freiepresse.de/*",
"*://*.freitag.de/*", "*://*.freitag.de/*",
"*://*.fresnobee.com/*", "*://*.fresnobee.com/*",
"*://*.ft.com/*", "*://*.ft.com/*",
"*://*.ftm.eu/*", "*://*.ftm.eu/*",
"*://*.ftm.nl/*", "*://*.ftm.nl/*",
"*://*.ga.de/*",
"*://*.gazetadopovo.com.br/*", "*://*.gazetadopovo.com.br/*",
"*://*.gazzetta.it/*", "*://*.gazzetta.it/*",
"*://*.gbnews.com/*", "*://*.gbnews.com/*",
@@ -297,26 +340,38 @@
"*://*.granta.com/*", "*://*.granta.com/*",
"*://*.groene.nl/*", "*://*.groene.nl/*",
"*://*.grubstreet.com/*", "*://*.grubstreet.com/*",
"*://*.gva.be/*",
"*://*.haaretz.co.il/*", "*://*.haaretz.co.il/*",
"*://*.haaretz.com/*", "*://*.haaretz.com/*",
"*://*.haarlemsdagblad.nl/*",
"*://*.handelsblatt.com/*",
"*://*.handelszeitung.ch/*", "*://*.handelszeitung.ch/*",
"*://*.harpers.org/*", "*://*.harpers.org/*",
"*://*.harpersbazaar.com/*", "*://*.harpersbazaar.com/*",
"*://*.harzkurier.de/*",
"*://*.haz.de/*", "*://*.haz.de/*",
"*://*.hbr.org/*", "*://*.hbr.org/*",
"*://*.hbvl.be/*",
"*://*.hd.se/*",
"*://*.heise.de/*",
"*://*.heraldsun.com.au/*", "*://*.heraldsun.com.au/*",
"*://*.hilltimes.com/*", "*://*.hilltimes.com/*",
"*://*.hindustantimes.com/*", "*://*.hindustantimes.com/*",
"*://*.hindutamil.in/*", "*://*.historia.fr/*",
"*://*.historyextra.com/*", "*://*.historyextra.com/*",
"*://*.historytoday.com/*",
"*://*.hln.be/*", "*://*.hln.be/*",
"*://*.hola.com/*",
"*://*.housebeautiful.com/*", "*://*.housebeautiful.com/*",
"*://*.houstonchronicle.com/*", "*://*.houstonchronicle.com/*",
"*://*.hoy.es/*", "*://*.hoy.es/*",
"*://*.huffingtonpost.it/*", "*://*.huffingtonpost.it/*",
"*://*.humanite.fr/*", "*://*.humanite.fr/*",
"*://*.humo.be/*", "*://*.humo.be/*",
"*://*.hydrogeninsight.com/*",
"*://*.iai.tv/*",
"*://*.ideal.es/*", "*://*.ideal.es/*",
"*://*.ikz-online.de/*",
"*://*.ilfattoquotidiano.it/*", "*://*.ilfattoquotidiano.it/*",
"*://*.ilfoglio.it/*", "*://*.ilfoglio.it/*",
"*://*.ilgazzettino.it/*", "*://*.ilgazzettino.it/*",
@@ -326,11 +381,9 @@
"*://*.ilmattino.it/*", "*://*.ilmattino.it/*",
"*://*.ilmessaggero.it/*", "*://*.ilmessaggero.it/*",
"*://*.ilrestodelcarlino.it/*", "*://*.ilrestodelcarlino.it/*",
"*://*.ilsecoloxix.it/*",
"*://*.ilsole24ore.com/*", "*://*.ilsole24ore.com/*",
"*://*.iltelegrafolivorno.it/*", "*://*.iltelegrafolivorno.it/*",
"*://*.iltirreno.it/*", "*://*.iltirreno.it/*",
"*://*.inc-aus.com/*",
"*://*.inc.com/*", "*://*.inc.com/*",
"*://*.inc42.com/*", "*://*.inc42.com/*",
"*://*.independent.co.uk/*", "*://*.independent.co.uk/*",
@@ -340,29 +393,28 @@
"*://*.indiatoday.in/*", "*://*.indiatoday.in/*",
"*://*.indystar.com/*", "*://*.indystar.com/*",
"*://*.inews.co.uk/*", "*://*.inews.co.uk/*",
"*://*.infolibre.es/*",
"*://*.informacion.es/*", "*://*.informacion.es/*",
"*://*.infzm.com/*", "*://*.infzm.com/*",
"*://*.inkl.com/*", "*://*.inkl.com/*",
"*://*.inquirer.com/*", "*://*.inquirer.com/*",
"*://*.insidehighered.com/*", "*://*.insidehighered.com/*",
"*://*.intelligentinvestor.com.au/*",
"*://*.interestingengineering.com/*", "*://*.interestingengineering.com/*",
"*://*.internazionale.it/*", "*://*.internazionale.it/*",
"*://*.intrafish.com/*", "*://*.intrafish.com/*",
"*://*.intrafish.no/*", "*://*.intrafish.no/*",
"*://*.investorschronicle.co.uk/*", "*://*.investorschronicle.co.uk/*",
"*://*.investsmart.com.au/*",
"*://*.ipolitics.ca/*", "*://*.ipolitics.ca/*",
"*://*.irishexaminer.com/*", "*://*.irishexaminer.com/*",
"*://*.irishnews.com/*",
"*://*.irishtimes.com/*", "*://*.irishtimes.com/*",
"*://*.italian.tech/*", "*://*.italian.tech/*",
"*://*.italiaoggi.it/*", "*://*.italiaoggi.it/*",
"*://*.jacksonville.com/*", "*://*.jacksonville.com/*",
"*://*.jacobin.de/*", "*://*.jacobin.de/*",
"*://*.janes.com/*",
"*://*.japantimes.co.jp/*", "*://*.japantimes.co.jp/*",
"*://*.jazziz.com/*",
"*://*.jazzwise.com/*", "*://*.jazzwise.com/*",
"*://*.jeuneafrique.com/*",
"*://*.jgnt.co/*", "*://*.jgnt.co/*",
"*://*.journaldemillau.fr/*", "*://*.journaldemillau.fr/*",
"*://*.journaldemontreal.com/*", "*://*.journaldemontreal.com/*",
@@ -374,27 +426,33 @@
"*://*.jsonline.com/*", "*://*.jsonline.com/*",
"*://*.kansas.com/*", "*://*.kansas.com/*",
"*://*.kansascity.com/*", "*://*.kansascity.com/*",
"*://*.kathimerini.gr/*",
"*://*.kentucky.com/*", "*://*.kentucky.com/*",
"*://*.kn-online.de/*", "*://*.kn-online.de/*",
"*://*.knack.be/*", "*://*.knack.be/*",
"*://*.knoxnews.com/*", "*://*.knoxnews.com/*",
"*://*.kompas.id/*",
"*://*.komputerswiat.pl/*", "*://*.komputerswiat.pl/*",
"*://*.krautreporter.de/*", "*://*.krautreporter.de/*",
"*://*.ksta.de/*", "*://*.ksta.de/*",
"*://*.kurier.at/*", "*://*.kurier.at/*",
"*://*.kw.be/*", "*://*.kw.be/*",
"*://*.kystens.no/*",
"*://*.la-croix.com/*", "*://*.la-croix.com/*",
"*://*.labusinessjournal.com/*", "*://*.labusinessjournal.com/*",
"*://*.lacote.ch/*", "*://*.lacote.ch/*",
"*://*.ladepeche.fr/*", "*://*.ladepeche.fr/*",
"*://*.ladiaria.com.uy/*", "*://*.ladiaria.com.uy/*",
"*://*.lagaceta.com.ar/*",
"*://*.lalibre.be/*", "*://*.lalibre.be/*",
"*://*.lalsace.fr/*",
"*://*.lamanchelibre.fr/*",
"*://*.lamontagne.fr/*", "*://*.lamontagne.fr/*",
"*://*.lanacion.com.ar/*", "*://*.lanacion.com.ar/*",
"*://*.lanazione.it/*", "*://*.lanazione.it/*",
"*://*.lanouvellerepublique.fr/*",
"*://*.lanuovasardegna.it/*", "*://*.lanuovasardegna.it/*",
"*://*.laprovincia.es/*", "*://*.laprovincia.es/*",
"*://*.lardennais.fr/*",
"*://*.larepubliquedespyrenees.fr/*", "*://*.larepubliquedespyrenees.fr/*",
"*://*.larioja.com/*", "*://*.larioja.com/*",
"*://*.lasegunda.com/*", "*://*.lasegunda.com/*",
@@ -402,38 +460,55 @@
"*://*.lastampa.it/*", "*://*.lastampa.it/*",
"*://*.latercera.com/*", "*://*.latercera.com/*",
"*://*.latimes.com/*", "*://*.latimes.com/*",
"*://*.latribune.fr/*",
"*://*.lavanguardia.com/*", "*://*.lavanguardia.com/*",
"*://*.lavenir.net/*", "*://*.lavenir.net/*",
"*://*.laverdad.es/*", "*://*.laverdad.es/*",
"*://*.lavoixdunord.fr/*",
"*://*.lavoz.com.ar/*", "*://*.lavoz.com.ar/*",
"*://*.lavozdigital.es/*", "*://*.lavozdigital.es/*",
"*://*.law.com/*", "*://*.law.com/*",
"*://*.lc.nl/*", "*://*.lc.nl/*",
"*://*.le1hebdo.fr/*",
"*://*.lecanardenchaine.fr/*",
"*://*.lecho.be/*", "*://*.lecho.be/*",
"*://*.lecourrierdesstrateges.fr/*", "*://*.lecourrierdesstrateges.fr/*",
"*://*.ledauphine.com/*",
"*://*.ledevoir.com/*", "*://*.ledevoir.com/*",
"*://*.lefigaro.fr/*",
"*://*.legrandcontinent.eu/*", "*://*.legrandcontinent.eu/*",
"*://*.lehighvalleylive.com/*", "*://*.lehighvalleylive.com/*",
"*://*.leidschdagblad.nl/*",
"*://*.lejdd.fr/*", "*://*.lejdd.fr/*",
"*://*.lejsl.com/*",
"*://*.lemagit.fr/*", "*://*.lemagit.fr/*",
"*://*.lemessager.fr/*",
"*://*.lemonde.fr/*", "*://*.lemonde.fr/*",
"*://*.lemoniteur.fr/*",
"*://*.lenouveleconomiste.fr/*", "*://*.lenouveleconomiste.fr/*",
"*://*.lenouvelliste.ch/*", "*://*.lenouvelliste.ch/*",
"*://*.leparisien.fr/*", "*://*.leparisien.fr/*",
"*://*.lepoint.fr/*", "*://*.lepoint.fr/*",
"*://*.leprogres.fr/*",
"*://*.lequipe.fr/*",
"*://*.lequotidiendumedecin.fr/*",
"*://*.lequotidiendupharmacien.fr/*",
"*://*.lerevenu.com/*",
"*://*.lescienze.it/*", "*://*.lescienze.it/*",
"*://*.lesechos.fr/*", "*://*.lesechos.fr/*",
"*://*.lesinrocks.com/*", "*://*.lesinrocks.com/*",
"*://*.lesoir.be/*",
"*://*.lesoleil.com/*", "*://*.lesoleil.com/*",
"*://*.lest-eclair.fr/*",
"*://*.letelegramme.fr/*", "*://*.letelegramme.fr/*",
"*://*.letemps.ch/*",
"*://*.levante-emv.com/*", "*://*.levante-emv.com/*",
"*://*.levif.be/*", "*://*.levif.be/*",
"*://*.lexpress.fr/*", "*://*.lexpress.fr/*",
"*://*.libelle.be/*", "*://*.libelle.be/*",
"*://*.libelle.nl/*", "*://*.libelle.nl/*",
"*://*.liberation-champagne.fr/*",
"*://*.liberation.fr/*",
"*://*.limburger.nl/*", "*://*.limburger.nl/*",
"*://*.linda.nl/*",
"*://*.lindependant.fr/*", "*://*.lindependant.fr/*",
"*://*.linforme.com/*", "*://*.linforme.com/*",
"*://*.literaryreview.co.uk/*", "*://*.literaryreview.co.uk/*",
@@ -446,13 +521,16 @@
"*://*.lopinion.fr/*", "*://*.lopinion.fr/*",
"*://*.losandes.com.ar/*", "*://*.losandes.com.ar/*",
"*://*.lrb.co.uk/*", "*://*.lrb.co.uk/*",
"*://*.luzernerzeitung.ch/*", "*://*.lunion.fr/*",
"*://*.lvz.de/*", "*://*.lvz.de/*",
"*://*.macrobusiness.com.au/*", "*://*.macrobusiness.com.au/*",
"*://*.madison.com/*", "*://*.madison.com/*",
"*://*.magazyn-kuchnia.pl/*",
"*://*.mailonsunday.co.uk/*",
"*://*.mainichi.jp/*", "*://*.mainichi.jp/*",
"*://*.mallorcazeitung.es/*", "*://*.mallorcazeitung.es/*",
"*://*.mannheimer-morgen.de/*", "*://*.manager-magazin.de/*",
"*://*.manoramaonline.com/*",
"*://*.marca.com/*", "*://*.marca.com/*",
"*://*.margriet.nl/*", "*://*.margriet.nl/*",
"*://*.marianne.net/*", "*://*.marianne.net/*",
@@ -465,11 +543,16 @@
"*://*.medscape.com/*", "*://*.medscape.com/*",
"*://*.menshealth.com/*", "*://*.menshealth.com/*",
"*://*.mercurynews.com/*", "*://*.mercurynews.com/*",
"*://*.merkur.de/*",
"*://*.mexiconewsdaily.com/*", "*://*.mexiconewsdaily.com/*",
"*://*.miamiherald.com/*", "*://*.miamiherald.com/*",
"*://*.mid-day.com/*", "*://*.mid-day.com/*",
"*://*.midilibre.fr/*", "*://*.midilibre.fr/*",
"*://*.milanofinanza.it/*",
"*://*.milenio.com/*",
"*://*.mittelbayerische.de/*",
"*://*.mlive.com/*", "*://*.mlive.com/*",
"*://*.mnimarkets.com/*",
"*://*.moda.it/*", "*://*.moda.it/*",
"*://*.modernhealthcare.com/*", "*://*.modernhealthcare.com/*",
"*://*.modernretail.co/*", "*://*.modernretail.co/*",
@@ -477,17 +560,20 @@
"*://*.monocle.com/*", "*://*.monocle.com/*",
"*://*.morgenpost.de/*", "*://*.morgenpost.de/*",
"*://*.motorradonline.de/*", "*://*.motorradonline.de/*",
"*://*.motorsportmagazine.com/*",
"*://*.moustique.be/*",
"*://*.mundodeportivo.com/*", "*://*.mundodeportivo.com/*",
"*://*.mv-voice.com/*", "*://*.mv-voice.com/*",
"*://*.mz.de/*", "*://*.nation.africa/*",
"*://*.nationalgeographic.com/*", "*://*.nationalgeographic.com/*",
"*://*.nationalpost.com/*", "*://*.nationalpost.com/*",
"*://*.nationalreview.com/*", "*://*.nationalreview.com/*",
"*://*.nature.com/*",
"*://*.nautil.us/*", "*://*.nautil.us/*",
"*://*.ndtvprofit.com/*", "*://*.ndtvprofit.com/*",
"*://*.neuepresse.de/*", "*://*.neuepresse.de/*",
"*://*.newcastleherald.com.au/*", "*://*.newcastleherald.com.au/*",
"*://*.newleftreview.org/*", "*://*.newcriterion.com/*",
"*://*.newrepublic.com/*", "*://*.newrepublic.com/*",
"*://*.news-press.com/*", "*://*.news-press.com/*",
"*://*.newscientist.com/*", "*://*.newscientist.com/*",
@@ -505,14 +591,16 @@
"*://*.nikkei.com/*", "*://*.nikkei.com/*",
"*://*.nj.com/*", "*://*.nj.com/*",
"*://*.nola.com/*", "*://*.nola.com/*",
"*://*.noordhollandsdagblad.nl/*",
"*://*.nordlittoral.fr/*",
"*://*.northerndailyleader.com.au/*", "*://*.northerndailyleader.com.au/*",
"*://*.northjersey.com/*", "*://*.northjersey.com/*",
"*://*.nouvelobs.com/*",
"*://*.noz.de/*", "*://*.noz.de/*",
"*://*.nrc.nl/*", "*://*.nrc.nl/*",
"*://*.nrpyrenees.fr/*", "*://*.nrpyrenees.fr/*",
"*://*.nrz.de/*", "*://*.nrz.de/*",
"*://*.ntnews.com.au/*", "*://*.nsctotal.com.br/*",
"*://*.nv.ua/*",
"*://*.nw.de/*", "*://*.nw.de/*",
"*://*.nwitimes.com/*", "*://*.nwitimes.com/*",
"*://*.nwzonline.de/*", "*://*.nwzonline.de/*",
@@ -526,9 +614,11 @@
"*://*.nzherald.co.nz/*", "*://*.nzherald.co.nz/*",
"*://*.nzz.ch/*", "*://*.nzz.ch/*",
"*://*.observador.pt/*", "*://*.observador.pt/*",
"*://*.observer.co.uk/*",
"*://*.ocbj.com/*", "*://*.ocbj.com/*",
"*://*.ocregister.com/*", "*://*.ocregister.com/*",
"*://*.oklahoman.com/*", "*://*.oklahoman.com/*",
"*://*.ole.com.ar/*",
"*://*.omaha.com/*", "*://*.omaha.com/*",
"*://*.onet.pl/*", "*://*.onet.pl/*",
"*://*.oprahdaily.com/*", "*://*.oprahdaily.com/*",
@@ -536,27 +626,37 @@
"*://*.orlandosentinel.com/*", "*://*.orlandosentinel.com/*",
"*://*.ostsee-zeitung.de/*", "*://*.ostsee-zeitung.de/*",
"*://*.otz.de/*", "*://*.otz.de/*",
"*://*.ouest-france.fr/*",
"*://*.outdoorlife.com/*", "*://*.outdoorlife.com/*",
"*://*.outlookbusiness.com/*", "*://*.outlookbusiness.com/*",
"*://*.outlookindia.com/*", "*://*.outlookindia.com/*",
"*://*.outsideonline.com/*", "*://*.outsideonline.com/*",
"*://*.ovb-online.de/*", "*://*.ovb-online.de/*",
"*://*.oxygenmag.com/*", "*://*.oxygenmag.com/*",
"*://*.palmbeachpost.com/*",
"*://*.paloaltoonline.com/*", "*://*.paloaltoonline.com/*",
"*://*.paris-normandie.fr/*",
"*://*.parismatch.com/*", "*://*.parismatch.com/*",
"*://*.parkiet.com/*",
"*://*.parool.nl/*", "*://*.parool.nl/*",
"*://*.penews.com/*", "*://*.pastemagazine.com/*",
"*://*.pb.pl/*",
"*://*.pennlive.com/*", "*://*.pennlive.com/*",
"*://*.petitbleu.fr/*", "*://*.petitbleu.fr/*",
"*://*.philanthropy.com/*", "*://*.philanthropy.com/*",
"*://*.philomag.com/*", "*://*.philomag.com/*",
"*://*.philomag.de/*", "*://*.philomag.de/*",
"*://*.philonomist.com/*",
"*://*.philosophynow.org/*", "*://*.philosophynow.org/*",
"*://*.pilotonline.com/*", "*://*.pilotonline.com/*",
"*://*.pionline.com/*", "*://*.pionline.com/*",
"*://*.piqd.de/*", "*://*.piqd.de/*",
"*://*.piratewires.com/*",
"*://*.plasticsnews.com/*", "*://*.plasticsnews.com/*",
"*://*.pnp.de/*",
"*://*.politicaexterior.com/*", "*://*.politicaexterior.com/*",
"*://*.politico.com/*",
"*://*.politis.fr/*",
"*://*.polityka.pl/*", "*://*.polityka.pl/*",
"*://*.popsci.com/*", "*://*.popsci.com/*",
"*://*.popularmechanics.com/*", "*://*.popularmechanics.com/*",
@@ -571,62 +671,72 @@
"*://*.project-syndicate.org/*", "*://*.project-syndicate.org/*",
"*://*.prospectmagazine.co.uk/*", "*://*.prospectmagazine.co.uk/*",
"*://*.public.fr/*", "*://*.public.fr/*",
"*://*.publico.es/*",
"*://*.puck.news/*",
"*://*.pzc.nl/*", "*://*.pzc.nl/*",
"*://*.quora.com/*", "*://*.quora.com/*",
"*://*.quotidiano.net/*", "*://*.quotidiano.net/*",
"*://*.quotidianodipuglia.it/*", "*://*.quotidianodipuglia.it/*",
"*://*.qz.com/*", "*://*.qz.com/*",
"*://*.rechargenews.com/*", "*://*.rechargenews.com/*",
"*://*.record.pt/*", "*://*.reforme.net/*",
"*://*.repubblica.it/*", "*://*.repubblica.it/*",
"*://*.republicain-lorrain.fr/*",
"*://*.reuters.com/*", "*://*.reuters.com/*",
"*://*.reviewjournal.com/*",
"*://*.revistaoeste.com/*", "*://*.revistaoeste.com/*",
"*://*.revue21.fr/*",
"*://*.revueconflits.com/*", "*://*.revueconflits.com/*",
"*://*.rhein-zeitung.de/*", "*://*.rheinpfalz.de/*",
"*://*.richmond.com/*", "*://*.richmond.com/*",
"*://*.rnd.de/*", "*://*.rnd.de/*",
"*://*.roadandtrack.com/*", "*://*.roadandtrack.com/*",
"*://*.rollingstone.com/*", "*://*.rollingstone.com/*",
"*://*.rp-online.de/*",
"*://*.rp.pl/*", "*://*.rp.pl/*",
"*://*.rubbernews.com/*", "*://*.rubbernews.com/*",
"*://*.rugbypass.com/*", "*://*.rugbypass.com/*",
"*://*.rugbyrama.fr/*", "*://*.rugbyrama.fr/*",
"*://*.ruhrnachrichten.de/*",
"*://*.rundschau-online.de/*", "*://*.rundschau-online.de/*",
"*://*.runnersworld.com/*", "*://*.runnersworld.com/*",
"*://*.saarbruecker-zeitung.de/*",
"*://*.sabado.pt/*", "*://*.sabado.pt/*",
"*://*.sacbee.com/*", "*://*.sacbee.com/*",
"*://*.saltwire.com/*", "*://*.saechsische.de/*",
"*://*.sandiegouniontribune.com/*", "*://*.sandiegouniontribune.com/*",
"*://*.schwaebische.de/*", "*://*.scholastic.com/*",
"*://*.schwarzwaelder-bote.de/*", "*://*.schwarzwaelder-bote.de/*",
"*://*.schweizermonat.ch/*", "*://*.schweizermonat.ch/*",
"*://*.science-et-vie.com/*", "*://*.science-et-vie.com/*",
"*://*.science.org/*", "*://*.science.org/*",
"*://*.sciencenews.org/*",
"*://*.sciencesetavenir.fr/*", "*://*.sciencesetavenir.fr/*",
"*://*.scientificamerican.com/*", "*://*.scientificamerican.com/*",
"*://*.scmp.com/*", "*://*.scmp.com/*",
"*://*.scotsman.com/*", "*://*.scotsman.com/*",
"*://*.sdbj.com/*", "*://*.sdbj.com/*",
"*://*.seattletimes.com/*", "*://*.seattletimes.com/*",
"*://*.seekingalpha.com/*", "*://*.semana.com/*",
"*://*.sfchronicle.com/*", "*://*.sfchronicle.com/*",
"*://*.sfstandard.com/*",
"*://*.sfvbj.com/*", "*://*.sfvbj.com/*",
"*://*.shreveportbossieradvocate.com/*",
"*://*.shz.de/*", "*://*.shz.de/*",
"*://*.si.com/*", "*://*.si.com/*",
"*://*.silive.com/*", "*://*.silive.com/*",
"*://*.skimag.com/*", "*://*.skimag.com/*",
"*://*.sky.it/*",
"*://*.slate.com/*", "*://*.slate.com/*",
"*://*.slideshare.net/*", "*://*.slideshare.net/*",
"*://*.sloanreview.mit.edu/*", "*://*.sloanreview.mit.edu/*",
"*://*.sltrib.com/*", "*://*.sltrib.com/*",
"*://*.smartcompany.com.au/*", "*://*.smartcompany.com.au/*",
"*://*.smh.com.au/*", "*://*.smh.com.au/*",
"*://*.sn.at/*",
"*://*.sofrep.com/*", "*://*.sofrep.com/*",
"*://*.sourcingjournal.com/*", "*://*.sourcingjournal.com/*",
"*://*.spectator.co.uk/*", "*://*.spacenews.com/*",
"*://*.spectator.com.au/*", "*://*.spectator.com.au/*",
"*://*.spectator.com/*",
"*://*.spektrum.de/*", "*://*.spektrum.de/*",
"*://*.spglobal.com/*", "*://*.spglobal.com/*",
"*://*.spiegel.de/*", "*://*.spiegel.de/*",
@@ -635,34 +745,39 @@
"*://*.standaard.be/*", "*://*.standaard.be/*",
"*://*.standard.co.uk/*", "*://*.standard.co.uk/*",
"*://*.standard.net.au/*", "*://*.standard.net.au/*",
"*://*.standardmedia.co.ke/*",
"*://*.star-telegram.com/*", "*://*.star-telegram.com/*",
"*://*.staradvertiser.com/*", "*://*.staradvertiser.com/*",
"*://*.startribune.com/*", "*://*.startribune.com/*",
"*://*.statesman.com/*", "*://*.statesman.com/*",
"*://*.statista.com/*", "*://*.statnews.com/*",
"*://*.stcatharinesstandard.ca/*", "*://*.stcatharinesstandard.ca/*",
"*://*.stereogum.com/*", "*://*.stereogum.com/*",
"*://*.stern.de/*",
"*://*.stltoday.com/*", "*://*.stltoday.com/*",
"*://*.stocknews.com/*", "*://*.stocknews.com/*",
"*://*.straitstimes.com/*", "*://*.straitstimes.com/*",
"*://*.stratfor.com/*", "*://*.stratfor.com/*",
"*://*.studocu.com/*",
"*://*.study.com/*", "*://*.study.com/*",
"*://*.stuttgarter-nachrichten.de/*", "*://*.stuttgarter-nachrichten.de/*",
"*://*.stuttgarter-zeitung.de/*", "*://*.stuttgarter-zeitung.de/*",
"*://*.stylist.co.uk/*", "*://*.stylist.co.uk/*",
"*://*.sudinfo.be/*",
"*://*.sudouest.fr/*", "*://*.sudouest.fr/*",
"*://*.sueddeutsche.de/*", "*://*.sueddeutsche.de/*",
"*://*.suedkurier.de/*", "*://*.suedkurier.de/*",
"*://*.sun-sentinel.com/*", "*://*.sun-sentinel.com/*",
"*://*.suomensotilas.fi/*", "*://*.suomensotilas.fi/*",
"*://*.superdeporte.es/*",
"*://*.sustainableplastics.com/*", "*://*.sustainableplastics.com/*",
"*://*.svz.de/*",
"*://*.swarajyamag.com/*", "*://*.swarajyamag.com/*",
"*://*.sydsvenskan.se/*",
"*://*.syracuse.com/*", "*://*.syracuse.com/*",
"*://*.tagblatt.ch/*", "*://*.t3n.de/*",
"*://*.tagesanzeiger.ch/*",
"*://*.tagesspiegel.de/*", "*://*.tagesspiegel.de/*",
"*://*.tampabay.com/*", "*://*.tampabay.com/*",
"*://*.tdg.ch/*",
"*://*.techinasia.com/*", "*://*.techinasia.com/*",
"*://*.technologyreview.com/*", "*://*.technologyreview.com/*",
"*://*.techtarget.com/*", "*://*.techtarget.com/*",
@@ -673,17 +788,21 @@
"*://*.tes.com/*", "*://*.tes.com/*",
"*://*.texasmonthly.com/*", "*://*.texasmonthly.com/*",
"*://*.the-american-interest.com/*", "*://*.the-american-interest.com/*",
"*://*.the-independent.com/*",
"*://*.the-scientist.com/*", "*://*.the-scientist.com/*",
"*://*.the-tls.co.uk/*", "*://*.the-star.co.ke/*",
"*://*.the-tls.com/*",
"*://*.theadvocate.com.au/*", "*://*.theadvocate.com.au/*",
"*://*.theadvocate.com/*", "*://*.theadvocate.com/*",
"*://*.theage.com.au/*", "*://*.theage.com.au/*",
"*://*.theamericanconservative.com/*", "*://*.theamericanconservative.com/*",
"*://*.theamericanscholar.org/*",
"*://*.theartnewspaper.com/*", "*://*.theartnewspaper.com/*",
"*://*.theathletic.com/*",
"*://*.theatlantic.com/*", "*://*.theatlantic.com/*",
"*://*.theaustralian.com.au/*", "*://*.theaustralian.com.au/*",
"*://*.thebaffler.com/*", "*://*.thebaffler.com/*",
"*://*.thebaltimorebanner.com/*",
"*://*.theblaze.com/*",
"*://*.thebookseller.com/*", "*://*.thebookseller.com/*",
"*://*.thebulletin.org/*", "*://*.thebulletin.org/*",
"*://*.thechronicle.com.au/*", "*://*.thechronicle.com.au/*",
@@ -692,47 +811,53 @@
"*://*.thecut.com/*", "*://*.thecut.com/*",
"*://*.thedailybeast.com/*", "*://*.thedailybeast.com/*",
"*://*.thediplomat.com/*", "*://*.thediplomat.com/*",
"*://*.thedispatch.com/*",
"*://*.theepochtimes.com/*", "*://*.theepochtimes.com/*",
"*://*.theglobeandmail.com/*", "*://*.theglobeandmail.com/*",
"*://*.thehill.com/*", "*://*.thehill.com/*",
"*://*.thehindu.com/*", "*://*.thehindu.com/*",
"*://*.thehindubusinessline.com/*", "*://*.thehindubusinessline.com/*",
"*://*.theimpression.com/*", "*://*.theinformation.com/*",
"*://*.theintercept.com/*", "*://*.theintercept.com/*",
"*://*.thejuggernaut.com/*", "*://*.thejuggernaut.com/*",
"*://*.thelampmagazine.com/*", "*://*.thelampmagazine.com/*",
"*://*.thelawyersdaily.ca/*", "*://*.thelawyer.com/*",
"*://*.theleaflet.in/*",
"*://*.thelogic.co/*",
"*://*.themandarin.com.au/*", "*://*.themandarin.com.au/*",
"*://*.themarker.com/*", "*://*.themarker.com/*",
"*://*.themarket.ch/*", "*://*.themarket.ch/*",
"*://*.themercury.com.au/*", "*://*.themercury.com.au/*",
"*://*.thenation.com/*", "*://*.thenation.com/*",
"*://*.thenewatlantis.com/*", "*://*.thenewatlantis.com/*",
"*://*.theneweuropean.co.uk/*", "*://*.thenewslens.com/*",
"*://*.thenewsminute.com/*", "*://*.thenewsminute.com/*",
"*://*.thenewworld.co.uk/*",
"*://*.thepeterboroughexaminer.com/*", "*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*", "*://*.thepointmag.com/*",
"*://*.theprovince.com/*", "*://*.theprovince.com/*",
"*://*.thequint.com/*", "*://*.thequint.com/*",
"*://*.therecord.com/*", "*://*.therecord.com/*",
"*://*.thesaturdaypaper.com.au/*", "*://*.thesaturdaypaper.com.au/*",
"*://*.thescottishsun.co.uk/*",
"*://*.thespec.com/*", "*://*.thespec.com/*",
"*://*.thespectator.com/*",
"*://*.thestage.co.uk/*", "*://*.thestage.co.uk/*",
"*://*.thestar.com/*", "*://*.thestar.com/*",
"*://*.thestate.com/*", "*://*.thestate.com/*",
"*://*.thetimes.co.uk/*", "*://*.thesun.co.uk/*",
"*://*.thetimes.com/*",
"*://*.theverge.com/*", "*://*.theverge.com/*",
"*://*.theweek.com/*", "*://*.theweek.com/*",
"*://*.thewest.com.au/*", "*://*.thewest.com.au/*",
"*://*.thewrap.com/*", "*://*.thewrap.com/*",
"*://*.thisismoney.co.uk/*",
"*://*.thueringer-allgemeine.de/*", "*://*.thueringer-allgemeine.de/*",
"*://*.tijd.be/*", "*://*.tijd.be/*",
"*://*.timeshighereducation.com/*", "*://*.timeshighereducation.com/*",
"*://*.timesofindia.com/*",
"*://*.timesunion.com/*", "*://*.timesunion.com/*",
"*://*.tirebusiness.com/*", "*://*.tirebusiness.com/*",
"*://*.tlz.de/*", "*://*.tlz.de/*",
"*://*.tokyo-np.co.jp/*",
"*://*.topagrar.com/*", "*://*.topagrar.com/*",
"*://*.torontosun.com/*", "*://*.torontosun.com/*",
"*://*.towardsdatascience.com/*", "*://*.towardsdatascience.com/*",
@@ -743,11 +868,11 @@
"*://*.tri-cityherald.com/*", "*://*.tri-cityherald.com/*",
"*://*.triathlete.com/*", "*://*.triathlete.com/*",
"*://*.trouw.nl/*", "*://*.trouw.nl/*",
"*://*.tt.com/*",
"*://*.tubantia.nl/*", "*://*.tubantia.nl/*",
"*://*.tucson.com/*", "*://*.tucson.com/*",
"*://*.tulsaworld.com/*", "*://*.tulsaworld.com/*",
"*://*.tuttosport.com/*", "*://*.tuttosport.com/*",
"*://*.tvn24.pl/*",
"*://*.twincities.com/*", "*://*.twincities.com/*",
"*://*.unherd.com/*", "*://*.unherd.com/*",
"*://*.uol.com.br/*", "*://*.uol.com.br/*",
@@ -761,6 +886,7 @@
"*://*.variety.com/*", "*://*.variety.com/*",
"*://*.varmatin.com/*", "*://*.varmatin.com/*",
"*://*.vegetariantimes.com/*", "*://*.vegetariantimes.com/*",
"*://*.vice.com/*",
"*://*.vikatan.com/*", "*://*.vikatan.com/*",
"*://*.vn.at/*", "*://*.vn.at/*",
"*://*.vn.nl/*", "*://*.vn.nl/*",
@@ -768,13 +894,17 @@
"*://*.vogue.com/*", "*://*.vogue.com/*",
"*://*.voguebusiness.com/*", "*://*.voguebusiness.com/*",
"*://*.vol.at/*", "*://*.vol.at/*",
"*://*.volksfreund.de/*",
"*://*.volkskrant.nl/*", "*://*.volkskrant.nl/*",
"*://*.volksstimme.de/*", "*://*.vosgesmatin.fr/*",
"*://*.vox.com/*",
"*://*.vulture.com/*", "*://*.vulture.com/*",
"*://*.warontherocks.com/*",
"*://*.washingtonexaminer.com/*", "*://*.washingtonexaminer.com/*",
"*://*.washingtonpost.com/*", "*://*.washingtonpost.com/*",
"*://*.watoday.com.au/*", "*://*.watoday.com.au/*",
"*://*.waz.de/*", "*://*.waz.de/*",
"*://*.weekendavisen.dk/*",
"*://*.weeklytimesnow.com.au/*", "*://*.weeklytimesnow.com.au/*",
"*://*.wellandtribune.ca/*", "*://*.wellandtribune.ca/*",
"*://*.welt.de/*", "*://*.welt.de/*",
@@ -794,11 +924,13 @@
"*://*.wr.de/*", "*://*.wr.de/*",
"*://*.wsj.com/*", "*://*.wsj.com/*",
"*://*.wwd.com/*", "*://*.wwd.com/*",
"*://*.wyborcza.biz/*",
"*://*.wyborcza.pl/*",
"*://*.wysokieobcasy.pl/*",
"*://*.ynet.co.il/*", "*://*.ynet.co.il/*",
"*://*.yogajournal.com/*", "*://*.yogajournal.com/*",
"*://*.yorkshirepost.co.uk/*", "*://*.yorkshirepost.co.uk/*",
"*://*.zeit.de/*", "*://*.zeit.de/*",
"*://*.zerohedge.com/*",
"*://*.amplitude.com/*", "*://*.amplitude.com/*",
"*://*.ampproject.org/*", "*://*.ampproject.org/*",
"*://*.axate.io/*", "*://*.axate.io/*",
@@ -807,9 +939,8 @@
"*://*.ensighten.com/*", "*://*.ensighten.com/*",
"*://*.evolok.net/*", "*://*.evolok.net/*",
"*://*.fewcents.co/*", "*://*.fewcents.co/*",
"*://*.ippen.space/*",
"*://*.loader-cdn.azureedge.net/*",
"*://*.matheranalytics.com/*", "*://*.matheranalytics.com/*",
"*://*.memberstack.com/*",
"*://*.newsmemory.com/*", "*://*.newsmemory.com/*",
"*://*.omeda.com/*", "*://*.omeda.com/*",
"*://*.onecount.net/*", "*://*.onecount.net/*",
@@ -821,40 +952,42 @@
"*://*.sophi.io/*", "*://*.sophi.io/*",
"*://*.steadyhq.com/*", "*://*.steadyhq.com/*",
"*://*.tinypass.com/*", "*://*.tinypass.com/*",
"*://*.weborama.fr/*", "*://*.wallkit.net/*",
"*://*.zephr.com/*", "*://*.zephr.com/*",
"*://*.amazonaws.com/*", "*://*.adobedtm.com/*",
"*://*.bitbucket.org/*",
"*://*.blink.net/*", "*://*.blink.net/*",
"*://*.bwbx.io/*", "*://*.bwbx.io/*",
"*://*.californiatimes.com/*",
"*://*.cedscdn.it/*", "*://*.cedscdn.it/*",
"*://*.cedsdigital.it/*", "*://*.cedsdigital.it/*",
"*://*.cloudfront.net/*",
"*://*.corriereobjects.it/*", "*://*.corriereobjects.it/*",
"*://*.danzz.ch/*",
"*://*.emol.cl/*", "*://*.emol.cl/*",
"*://*.epochbase.com/*", "*://*.epochbase.com/*",
"*://*.epochbase.eu/*", "*://*.epochbase.eu/*",
"*://*.flip-pay.com/*", "*://*.flip-pay.com/*",
"*://*.ftspecialist-us.com/*",
"*://*.gjirafa.tech/*",
"*://*.glanacion.com/*",
"*://*.go.com/*", "*://*.go.com/*",
"*://*.hadrianpaywall.com/*", "*://*.hadrianpaywall.com/*",
"*://*.kinja-static.com/*", "*://*.mcclatchy.com/*",
"*://*.masthead.me/*",
"*://*.medscapestatic.com/*",
"*://*.ndcmediagroep.nl/*", "*://*.ndcmediagroep.nl/*",
"*://*.nhst.tech/*", "*://*.nhst.tech/*",
"*://*.nyt.com/*", "*://*.nyt.com/*",
"*://*.pasedigital.cl/*", "*://*.prisa.com/*",
"*://*.wbmdstatic.com/*", "*://*.townnews.com/*",
"*://*.wgchrrammzv.com/*", "*://*.wgchrrammzv.com/*",
"*://*.wyleex.com/*",
"*://archive.fo/*", "*://archive.fo/*",
"*://archive.is/*", "*://archive.is/*",
"*://archive.li/*", "*://archive.li/*",
"*://archive.md/*", "*://archive.md/*",
"*://archive.ph/*", "*://archive.ph/*",
"*://archive.vn/*", "*://archive.vn/*",
"*://webcache.googleusercontent.com/*" "*://*.djservices.io/*",
"*://*.fnetcore-api-prod.azurewebsites.net/*",
"*://*.funkemedien.de/*",
"*://codebeautify.org/*",
"*://gitflic.ru/*"
], ],
"version": "3.6.4.5" "version": "4.2.8.2"
} }

View File

@@ -1,8 +1,8 @@
var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_api = (typeof browser === 'object') ? browser : chrome;
try { try {
window.localStorage.clear(); window.localStorage.clear();
sessionStorage.clear(); window.sessionStorage.clear();
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
@@ -23,11 +23,11 @@ function getCookieDomain(hostname) {
let parts = hostname.split('.'); let parts = hostname.split('.');
let str = '_gd' + (new Date()).getTime(); let str = '_gd' + (new Date()).getTime();
try { try {
while (n < (parts.length - 1) && document.cookie.indexOf(str + '=' + str) == -1) { while (n < (parts.length - 1) && document.cookie.indexOf(str + '=' + str) == -1) {
domain = parts.slice(-1 - (++n)).join('.'); domain = parts.slice(-1 - (++n)).join('.');
document.cookie = str + "=" + str + ";domain=" + domain + ";"; document.cookie = str + "=" + str + ";domain=" + domain + ";";
} }
document.cookie = str + "=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=" + domain + ";"; document.cookie = str + "=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=" + domain + ";";
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
@@ -38,11 +38,11 @@ var msg = "Cookies (and local storage) removed from " + cookie_domain;
showMessage(msg, 2000); showMessage(msg, 2000);
function showMessage(msg, duration) { function showMessage(msg, duration) {
var el = document.createElement("div"); var el = document.createElement("div");
el.setAttribute("style", "position:fixed;top:40%;left:40%;z-index:99;padding:4px;font-family: Arial, sans-serif;font-size:18px;color:white;background-color:blue;"); el.setAttribute("style", "position:fixed;top:40%;left:40%;z-index:99;padding:4px;font-family: Arial, sans-serif;font-size:18px;color:white;background-color:blue;");
el.innerText = msg; el.innerText = msg;
setTimeout(function () { setTimeout(function () {
el.parentNode.removeChild(el); el.parentNode.removeChild(el);
}, duration); }, duration);
(document.body || document.head || document.documentElement).appendChild(el); (document.body || document.head || document.documentElement).appendChild(el);
} }

View File

@@ -4,7 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bypass Paywalls Clean (setCookie, custom sites & check update opt-in)</title> <title>Bypass Paywalls Clean (opt-in)</title>
<link rel="stylesheet" href="../options_all.css"/> <link rel="stylesheet" href="../options_all.css"/>
<link rel="stylesheet" href="opt-in.css"/> <link rel="stylesheet" href="opt-in.css"/>
<script src="opt-in.js"></script> <script src="opt-in.js"></script>
@@ -12,7 +12,38 @@
<body> <body>
<div> <div>
<p><strong>Bypass Paywalls Clean<br> - setCookie, custom sites & check update opt-in</strong></p> <p><strong>Bypass Paywalls Clean<br>Opt-in options for additonal functionality/consent.</strong></p>
</div>
</div>
<div id="custom-prompt">
<p><strong>custom sites opt-in</strong></p>
<p>If you want to enable <a href="../options_custom.html">custom sites</a> (for new sites) and also have the option to remove cookies/block general paywall-scripts of 'unlisted' sites:</br>
<p>custom sites enabled: <span id="custom-enabled"></span></p>
<div id="custom-container">
<button id="custom-enable">Enable</button>
<button id="custom-disable">Disable</button>
<span id="mv3-remove-perm-msg" style="color: red;">
</div>
</div>
<div id="update-prompt">
<p><strong>check update opt-in</strong></p>
<p>Check for update of version (on startup and when opening options):</br>
<p>check update enabled: <span id="update-enabled"></span></p>
<div id="update-container">
<button id="update-enable">Enable</button>
<button id="update-disable">Disable</button>
</div>
</div>
<div id="fetch-prompt">
<p><strong>fetch consent opt-in</strong></p>
For some sites (see options) the full article content is fetched from an external site (like archive.is).</br>
This requires a 'data transmission' (no data collection by add-on) of the article-url to this external site.</br>
If you disable 'fetch consent' (default setting) this add-on will not work for these sites.</br>
</p>
<p>Fetch enabled: <span id="fetch-enabled"></span></p>
<div id="fetch-container">
<button id="fetch-enable">Enable</button>
<button id="fetch-disable">Disable</button>
</div> </div>
</div> </div>
<div id="opt-in-prompt"> <div id="opt-in-prompt">
@@ -23,34 +54,6 @@
<div id="optin-container"> <div id="optin-container">
<button id="optin-enable">Enable</button> <button id="optin-enable">Enable</button>
<button id="optin-disable">Disable</button> <button id="optin-disable">Disable</button>
</div>
<div id="custom-prompt">
<p><strong>custom sites opt-in</strong></p>
<p>If you want to enable custom sites and also have the option to remove cookies/block general paywall-scripts of 'unlisted' sites:</br>
<p>custom sites enabled: <span id="custom-enabled"></span></p>
<div id="custom-container">
<button id="custom-enable">Enable</button>
<button id="custom-disable">Disable</button>
</div>
<p>You can also just request permissions for the <a href="../options_custom.html">custom sites</a> you added yourself.</p>
</div>
<div id="update-prompt">
<p><strong>check update opt-in</strong></p>
<p>Check for update of version (on startup and when opening options):</br>
<p>check update enabled: <span id="update-enabled"></span></p>
<div id="update-container">
<button id="update-enable">Enable</button>
<button id="update-disable">Disable</button>
</div>
</div>
<div id="counter-prompt">
<p><strong>daily users counter opt-in</strong></p>
<p>Very basic daily users counter (by counting the download of an empty json-file (no personal information is shared)):</br>
<p>daily users counter enabled: <span id="counter-enabled"></span></p>
<div id="custom-container">
<button id="counter-enable">Enable</button>
<button id="counter-disable">Disable</button>
</div>
</div> </div>
<p> <p>
<div style='float:left;padding-bottom:50px'> <div style='float:left;padding-bottom:50px'>

View File

@@ -1,16 +1,18 @@
var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_api = (typeof browser === 'object') ? browser : chrome;
var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome'; var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
var manifestData = ext_api.runtime.getManifest(); var manifestData = ext_api.runtime.getManifest();
var ext_manifest_version = manifestData.manifest_version;
var navigator_ua = navigator.userAgent; var navigator_ua = navigator.userAgent;
var navigator_ua_mobile = navigator_ua.toLowerCase().includes('mobile'); var navigator_ua_mobile = navigator_ua.toLowerCase().includes('mobile');
var yandex_browser = navigator_ua_mobile && (url_loc === 'chrome') && navigator_ua.toLowerCase().includes('yabrowser'); var chrome_android_browser = navigator_ua_mobile && (url_loc === 'chrome');
var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length)) && !(navigator_ua_mobile && (url_loc === 'chrome') && !yandex_browser); var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length));
window.addEventListener("load", function () { window.addEventListener("load", function () {
document.getElementById("button-close").addEventListener("click", function () { document.getElementById("button-close").addEventListener("click", function () {
ext_api.storage.local.set({ ext_api.storage.local.set({
"optInShown": true, "optInShown": true,
"customShown": true "customShown": true,
"fetchShown": true
}); });
window.close(); window.close();
}); });
@@ -19,6 +21,7 @@ window.addEventListener("load", function () {
ext_api.storage.local.get("optIn", function (result) { ext_api.storage.local.get("optIn", function (result) {
opt_in_enabled.innerText = result.optIn ? 'YES' : 'NO'; opt_in_enabled.innerText = result.optIn ? 'YES' : 'NO';
}); });
var mv3_remove_perm_msg = document.getElementById('mv3-remove-perm-msg');
document.getElementById("optin-enable").addEventListener("click", function () { document.getElementById("optin-enable").addEventListener("click", function () {
ext_api.storage.local.set({ ext_api.storage.local.set({
@@ -47,6 +50,13 @@ window.addEventListener("load", function () {
} }
}); });
var custom_prompt = document.getElementById('custom-prompt');
if (chrome_android_browser) {
var android_span = document.createElement('span');
android_span.innerText = '* to enable the custom sites opt-in on Android you may need to use the android-custom crx-release.';
custom_prompt.appendChild(android_span);
}
if (custom_switch) { if (custom_switch) {
document.querySelector('#custom-enable').addEventListener('click', function (event) { document.querySelector('#custom-enable').addEventListener('click', function (event) {
@@ -58,6 +68,8 @@ window.addEventListener("load", function () {
ext_api.storage.local.set({ ext_api.storage.local.set({
"customOptIn": true "customOptIn": true
}); });
if (ext_manifest_version === 3)
mv3_remove_perm_msg.innerText = '';
} else { } else {
custom_enabled.innerText = 'NO'; custom_enabled.innerText = 'NO';
} }
@@ -69,13 +81,17 @@ window.addEventListener("load", function () {
document.querySelector('#custom-disable').addEventListener('click', function (event) { document.querySelector('#custom-disable').addEventListener('click', function (event) {
ext_api.permissions.remove({ ext_api.permissions.remove({
origins: ["*://*/*", "<all_urls>"] origins: ["*://*/*"]
}, function (removed) { }, function (removed) {
if (removed) { if (removed) {
custom_enabled.innerText = 'NO'; custom_enabled.innerText = 'NO';
ext_api.storage.local.set({ ext_api.storage.local.set({
"customOptIn": false "customOptIn": false
}); });
if (ext_manifest_version === 3) {
mv3_remove_perm_msg.innerText = 'Extension will be reloaded to apply changes in optional host permissions.';
ext_api.runtime.reload();
}
} }
ext_api.storage.local.set({ ext_api.storage.local.set({
"customShown": true "customShown": true
@@ -104,22 +120,33 @@ window.addEventListener("load", function () {
update_enabled.innerText = 'NO'; update_enabled.innerText = 'NO';
}); });
var counter_enabled = document.getElementById('counter-enabled'); if (typeof browser === 'object') { // fetch consent (Firefox only)
ext_api.storage.local.get({counter: true}, function (result) {
counter_enabled.innerText = result.counter ? 'YES' : 'NO'; var fetch_enabled = document.getElementById('fetch-enabled');
ext_api.storage.local.get("optInFetch", function (result) {
fetch_enabled.innerText = result.optInFetch ? 'YES' : 'NO';
}); });
document.getElementById("counter-enable").addEventListener("click", function () { document.getElementById("fetch-enable").addEventListener("click", function () {
ext_api.storage.local.set({ ext_api.storage.local.set({
"counter": true "optInFetch": true,
"fetchShown": true
}); });
counter_enabled.innerText = 'YES'; fetch_enabled.innerText = 'YES';
}); });
document.getElementById("counter-disable").addEventListener("click", function () { document.getElementById("fetch-disable").addEventListener("click", function () {
ext_api.storage.local.set({ ext_api.storage.local.set({
"counter": false "optInFetch": false,
"fetchShown": true
}); });
counter_enabled.innerText = 'NO'; fetch_enabled.innerText = 'NO';
}); });
} else {
let fetch_prompt = document.querySelector('div#fetch-prompt');
if (fetch_prompt)
fetch_prompt.style = 'display: none';
}
}); });

View File

@@ -8,7 +8,8 @@
</head> </head>
<body> <body>
<h1 id="top">Options | <small><span id="version"></span><br><span id="version_new"></span></small></h1> <h1 id="top">Options | <small><span id="version"></span><br><span id="version_new"></span></small></h1>
<br><a href="/changelog.txt" target="_blank">Changelog</a> Changelog <a href="/changelog.txt" target="_blank">local</a> or <a href="https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean/blob/raw?file=changelog.txt" target="_blank">online</a>
| Help <a href="/Readme.html" target="_blank">local</a> or <a href="https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean" target="_blank">online</a>
<div style="width:90%;"> <div style="width:90%;">
<br>Some selected sites will have their cookies cleared; uncheck the sites (or add to excluded sites) for which you have an account.<br> <br>Some selected sites will have their cookies cleared; uncheck the sites (or add to excluded sites) for which you have an account.<br>
If you also want to block general paywall-scripts for unlisted sites you have to opt-in to custom sites (host permission for access to all sites is needed). If you also want to block general paywall-scripts for unlisted sites you have to opt-in to custom sites (host permission for access to all sites is needed).
@@ -27,6 +28,7 @@
</div> </div>
<div style="clear:both;"></div> <div style="clear:both;"></div>
<strong style="color:red;"><div id="perm-custom"></div></strong> <strong style="color:red;"><div id="perm-custom"></div></strong>
<strong style="color:red;"><div id="nofix"></div></strong>
<div style="clear:both;"></div> <div style="clear:both;"></div>
<br> <br>
<div id="status_top"></div> <div id="status_top"></div>

View File

@@ -56,6 +56,7 @@ function renderOptions() {
perm_custom.innerText = ''; perm_custom.innerText = '';
} else { } else {
perm_custom.textContent = ">> check host (domain) permissions for custom/updated sites"; perm_custom.textContent = ">> check host (domain) permissions for custom/updated sites";
perm_custom.style.margin = '10px';
} }
}); });
@@ -69,18 +70,24 @@ function renderOptions() {
}, },
"default": { "default": {
sites: defaultSites, sites: defaultSites,
title: '* Default settings',
default_sites: true default_sites: true
}, },
"custom": { "custom": {
sites: sites_custom, sites: sites_custom,
title: '* Custom (new) sites',
default_sites: false default_sites: false
} }
}; };
for (let site_type in site_types) { for (let site_type in site_types) {
labelEl = document.createElement('label'); labelEl = document.createElement('label');
labelEl.setAttribute('style', ' font-weight: bold;'); labelEl.setAttribute('style', ' font-weight: bold;');
if (site_types[site_type].title) if (site_types[site_type].title) {
labelEl.appendChild(document.createElement('hr'));
labelEl.appendChild(document.createTextNode(site_types[site_type].title)); labelEl.appendChild(document.createTextNode(site_types[site_type].title));
if (site_type !== 'updated' && Object.keys(site_types[site_type].sites).length)
labelEl.appendChild(document.createTextNode(' - #' + Object.keys(site_types[site_type].sites).length));
}
sitesEl.appendChild(labelEl); sitesEl.appendChild(labelEl);
let sites_arr = site_types[site_type].sites; let sites_arr = site_types[site_type].sites;
for (let key in sites_arr) { for (let key in sites_arr) {
@@ -152,6 +159,12 @@ function handleSearch() {
else else
item.style.display = 'none'; item.style.display = 'none';
} }
var nofix = document.getElementById('nofix');
if (nofix_sites.includes(search)) {
nofix.innerText = 'No (proper) fix for domain ' + search + ', but it may still be part of (imported) custom sites.';
nofix.style.margin = '10px';
} else
nofix.innerText = '';
}); });
let selectButtons = document.querySelectorAll('#select-all, #select-none'); let selectButtons = document.querySelectorAll('#select-all, #select-none');

View File

@@ -8,6 +8,7 @@
</head> </head>
<body> <body>
<h2>Custom Sites</h2> <h2>Custom Sites</h2>
<div id="custom-update"></div>
<div style="width:90%;"> <div style="width:90%;">
To add a new site, enter an unique title/domain (without www.).<br> To add a new site, enter an unique title/domain (without www.).<br>
Select options below (<a href="/README.html#add-custom-site" target="_blank">see help</a>); for examples import from online.<br> Select options below (<a href="/README.html#add-custom-site" target="_blank">see help</a>); for examples import from online.<br>
@@ -58,8 +59,9 @@
<button id="sort">Sort</button> <button id="sort">Sort</button>
<button id="export">Export</button> <button id="export">Export</button>
<button id="import">Import file</button> <button id="import">Import file</button>
<button id="import_local">Import from local</button>
<button id="import_online">Import from online</button> <button id="import_online">Import from online</button>
<input type="file" id="importInput" accept=".txt" style="display:none"/> <input type="file" id="importInput" accept=".txt, .json" style="display:none"/>
<button><a href="options.html" style="text-decoration:none;color:inherit">Options</a></button> <button><a href="options.html" style="text-decoration:none;color:inherit">Options</a></button>
</span> </span>

View File

@@ -3,13 +3,12 @@ var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
var manifestData = ext_api.runtime.getManifest(); var manifestData = ext_api.runtime.getManifest();
var navigator_ua = navigator.userAgent; var navigator_ua = navigator.userAgent;
var navigator_ua_mobile = navigator_ua.toLowerCase().includes('mobile'); var navigator_ua_mobile = navigator_ua.toLowerCase().includes('mobile');
var yandex_browser = navigator_ua_mobile && (url_loc === 'chrome') && navigator_ua.toLowerCase().includes('yabrowser'); var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length));
var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length)) && !(navigator_ua_mobile && (url_loc === 'chrome') && !yandex_browser);
var useragent_options = ['', 'googlebot', 'bingbot', 'facebookbot']; var useragent_options = ['', 'googlebot', 'bingbot', 'facebookbot'];
var referer_options = ['', 'facebook', 'google', 'twitter']; var referer_options = ['', 'facebook', 'google', 'twitter'];
var random_ip_options = ['', 'all', 'eu']; var random_ip_options = ['', 'all', 'eu'];
var add_ext_link_type_options = ['', 'archive.is', '1ft.io', 'google_webcache', 'google_search_tool']; var add_ext_link_type_options = ['', 'archive.is', 'google_search_tool'];
function capitalize(str) { function capitalize(str) {
return (typeof str === 'string') ? str.charAt(0).toUpperCase() + str.slice(1) : ''; return (typeof str === 'string') ? str.charAt(0).toUpperCase() + str.slice(1) : '';
@@ -103,7 +102,7 @@ function import_json(result) {
sites_custom[site] = sites_custom_new[site]; sites_custom[site] = sites_custom_new[site];
} }
sites_custom = filterObject(sites_custom, function (val, key) { sites_custom = filterObject(sites_custom, function (val, key) {
return !(customSitesExt_remove.includes(val.domain) || (val.add_ext_link && !val.add_ext_link_type)) return val.domain && !(customSitesExt_remove.includes(val.domain) || (val.add_ext_link && !val.add_ext_link_type))
}); });
ext_api.storage.local.set({ ext_api.storage.local.set({
sites_custom: sortJson(sites_custom) sites_custom: sortJson(sites_custom)
@@ -120,9 +119,15 @@ function import_json(result) {
}); });
} }
// Import custom sites from online function randomInt(max) {
function import_online_options(e) { return Math.floor(Math.random() * Math.floor(max));
let url = 'https://bitbucket.org/bpc-updates/bpc_updates/downloads/sites_custom.json'; }
// Import custom sites from local/online
function import_url_options(e, online) {
let url = '/custom/sites_custom.json';
if (online)
url = 'https://gitflic.ru/project/magnolia1234/bpc_updates/blob/raw?file=sites_custom.json';
try { try {
fetch(url) fetch(url)
.then(response => { .then(response => {
@@ -272,13 +277,14 @@ function edit_options() {
document.querySelector('textarea[data-key="group"]').value = edit_site.group || ''; document.querySelector('textarea[data-key="group"]').value = edit_site.group || '';
document.querySelector('input[data-key="allow_cookies"]').checked = (edit_site.allow_cookies > 0); document.querySelector('input[data-key="allow_cookies"]').checked = (edit_site.allow_cookies > 0);
document.querySelector('input[data-key="remove_cookies"]').checked = (edit_site.remove_cookies > 0); document.querySelector('input[data-key="remove_cookies"]').checked = (edit_site.remove_cookies > 0);
document.querySelector('select[data-key="useragent"]').selectedIndex = (edit_site.googlebot > 0) ? 1 : useragent_options.indexOf(edit_site.useragent); document.querySelector('input[data-key="cs_clear_lclstrg"]').checked = (edit_site.cs_clear_lclstrg > 0);
document.querySelector('select[data-key="useragent"]').selectedIndex = useragent_options.indexOf(edit_site.useragent);
document.querySelector('textarea[data-key="useragent_custom"]').value = edit_site.useragent_custom || ''; document.querySelector('textarea[data-key="useragent_custom"]').value = edit_site.useragent_custom || '';
document.querySelector('select[data-key="referer"]').selectedIndex = referer_options.indexOf(edit_site.referer); document.querySelector('select[data-key="referer"]').selectedIndex = referer_options.indexOf(edit_site.referer);
document.querySelector('textarea[data-key="referer_custom"]').value = edit_site.referer_custom || ''; document.querySelector('textarea[data-key="referer_custom"]').value = edit_site.referer_custom || '';
document.querySelector('select[data-key="random_ip"]').selectedIndex = random_ip_options.indexOf(edit_site.random_ip); document.querySelector('select[data-key="random_ip"]').selectedIndex = random_ip_options.indexOf(edit_site.random_ip);
document.querySelector('input[data-key="block_js"]').checked = (edit_site.block_js > 0 || edit_site.block_javascript > 0); document.querySelector('input[data-key="block_js"]').checked = (edit_site.block_js > 0);
document.querySelector('input[data-key="block_js_ext"]').checked = (edit_site.block_js_ext > 0 || edit_site.block_javascript_ext > 0); document.querySelector('input[data-key="block_js_ext"]').checked = (edit_site.block_js_ext > 0);
document.querySelector('input[data-key="block_js_inline"]').value = edit_site.block_js_inline || ''; document.querySelector('input[data-key="block_js_inline"]').value = edit_site.block_js_inline || '';
document.querySelector('input[data-key="block_regex"]').value = edit_site.block_regex || ''; document.querySelector('input[data-key="block_regex"]').value = edit_site.block_regex || '';
document.querySelector('input[data-key="block_regex_ignore_default"]').checked = (edit_site.block_regex_ignore_default > 0 || edit_site.block_regex_ignore_default > 0); document.querySelector('input[data-key="block_regex_ignore_default"]').checked = (edit_site.block_regex_ignore_default > 0 || edit_site.block_regex_ignore_default > 0);
@@ -287,9 +293,9 @@ function edit_options() {
document.querySelector('input[data-key="amp_redirect"]').value = edit_site.amp_redirect || ''; document.querySelector('input[data-key="amp_redirect"]').value = edit_site.amp_redirect || '';
document.querySelector('input[data-key="ld_json"]').value = edit_site.ld_json || ''; document.querySelector('input[data-key="ld_json"]').value = edit_site.ld_json || '';
document.querySelector('input[data-key="ld_json_next"]').value = edit_site.ld_json_next || ''; document.querySelector('input[data-key="ld_json_next"]').value = edit_site.ld_json_next || '';
document.querySelector('input[data-key="ld_json_source"]').value = edit_site.ld_json_source || '';
document.querySelector('input[data-key="ld_json_url"]').value = edit_site.ld_json_url || ''; document.querySelector('input[data-key="ld_json_url"]').value = edit_site.ld_json_url || '';
document.querySelector('input[data-key="ld_archive_is"]').value = edit_site.ld_archive_is || ''; document.querySelector('input[data-key="ld_archive_is"]').value = edit_site.ld_archive_is || '';
document.querySelector('input[data-key="ld_google_webcache"]').value = edit_site.ld_google_webcache || '';
document.querySelector('input[data-key="add_ext_link"]').value = edit_site.add_ext_link || ''; document.querySelector('input[data-key="add_ext_link"]').value = edit_site.add_ext_link || '';
document.querySelector('select[data-key="add_ext_link_type"]').selectedIndex = add_ext_link_type_options.indexOf(edit_site.add_ext_link_type); document.querySelector('select[data-key="add_ext_link_type"]').selectedIndex = add_ext_link_type_options.indexOf(edit_site.add_ext_link_type);
document.querySelector('textarea[data-key="cs_code"]').value = edit_site.cs_code || ''; document.querySelector('textarea[data-key="cs_code"]').value = edit_site.cs_code || '';
@@ -327,7 +333,8 @@ var perm_origins;
function renderOptions() { function renderOptions() {
ext_api.storage.local.get({ ext_api.storage.local.get({
sites_custom: {}, sites_custom: {},
sites_updated: {} sites_updated: {},
sites_custom_upd_version: ''
}, function (items) { }, function (items) {
var sites_custom = sortJson(items.sites_custom); var sites_custom = sortJson(items.sites_custom);
var sites_custom_domains_new = Object.values(sites_custom).filter(x => x.domain && !defaultSites_domains.includes(x.domain)).map(x => x.group ? x.group.split(',').filter(x => x).map(x => x.trim()) : x.domain).flat(); var sites_custom_domains_new = Object.values(sites_custom).filter(x => x.domain && !defaultSites_domains.includes(x.domain)).map(x => x.group ? x.group.split(',').filter(x => x).map(x => x.trim()) : x.domain).flat();
@@ -357,6 +364,7 @@ function renderOptions() {
'group': 0, 'group': 0,
'allow_cookies': 1, 'allow_cookies': 1,
'remove_cookies': 1, 'remove_cookies': 1,
'cs_clear_lclstrg (clear localStorage)': 1,
'useragent': 0, 'useragent': 0,
'useragent_custom': 0, 'useragent_custom': 0,
'referer': 0, 'referer': 0,
@@ -372,9 +380,9 @@ function renderOptions() {
'amp_redirect': 0, 'amp_redirect': 0,
'ld_json': 0, 'ld_json': 0,
'ld_json_next': 0, 'ld_json_next': 0,
'ld_json_source': 0,
'ld_json_url': 0, 'ld_json_url': 0,
'ld_archive_is': 0, 'ld_archive_is': 0,
'ld_google_webcache': 0,
'add_ext_link': 0, 'add_ext_link': 0,
'add_ext_link_type': 0, 'add_ext_link_type': 0,
'cs_code': 0, 'cs_code': 0,
@@ -402,11 +410,11 @@ function renderOptions() {
} else { } else {
if (!['cs_code', 'group', 'referer_custom', 'useragent_custom'].includes(key)) { if (!['cs_code', 'group', 'referer_custom', 'useragent_custom'].includes(key)) {
inputEl = document.createElement('input'); inputEl = document.createElement('input');
inputEl.size = 25; inputEl.size = 35;
} else { } else {
inputEl = document.createElement('textarea'); inputEl = document.createElement('textarea');
inputEl.rows = 5; inputEl.rows = 5;
inputEl.cols = 25; inputEl.cols = 35;
} }
let placeholders = { let placeholders = {
title: 'Example', title: 'Example',
@@ -415,12 +423,12 @@ function renderOptions() {
block_js_inline: '\\.example\\.com\\/article\\/', block_js_inline: '\\.example\\.com\\/article\\/',
block_regex: '\\.example\\.com\\/js\\/', block_regex: '\\.example\\.com\\/js\\/',
block_host_perm_add: 'example1.com,example2.com', block_host_perm_add: 'example1.com,example2.com',
amp_redirect: 'div.paywall', amp_redirect: 'div.paywall|amp_url',
ld_json: 'div.paywall|div.article', ld_json: 'div.paywall|div.article',
ld_json_next: 'div.paywall|div.article', ld_json_next: 'div.paywall|div.article',
ld_json_source: 'div.paywall|div.article|filter|json_key',
ld_json_url: 'div.paywall|div.article', ld_json_url: 'div.paywall|div.article',
ld_archive_is: 'div.paywall|div.art|div.art_src|div.art_link', ld_archive_is: 'div.paywall|div.art|div.art_src|div.art_link',
ld_google_webcache: 'div.paywall|div.article',
add_ext_link: 'div.paywall|div.article', add_ext_link: 'div.paywall|div.article',
cs_code: 'for dev: check imported examples', cs_code: 'for dev: check imported examples',
}; };
@@ -452,28 +460,32 @@ function renderOptions() {
let isDefaultSite = defaultSites_domains.includes(domain); let isDefaultSite = defaultSites_domains.includes(domain);
optionEl.text = isDefaultSite ? '*' : ''; optionEl.text = isDefaultSite ? '*' : '';
optionEl.text += key + ': ' + domain + optionEl.text += key;
(sites_custom[key]['allow_cookies'] > 0 ? ' | allow_cookies' : '') + if (!navigator_ua_mobile) {
(sites_custom[key]['remove_cookies'] > 0 ? ' | remove_cookies' : '') + optionEl.text += ': ' + domain +
(sites_custom[key]['useragent'] ? ' | useragent: ' + sites_custom[key]['useragent'] : '') + (sites_custom[key]['allow_cookies'] > 0 ? ' | allow_cookies' : '') +
(sites_custom[key]['useragent_custom'] ? ' | useragent_custom' : '') + (sites_custom[key]['remove_cookies'] > 0 ? ' | remove_cookies' : '') +
(sites_custom[key]['googlebot'] > 0 ? ' | googlebot' : '') + (sites_custom[key]['cs_clear_lclstrg'] > 0 ? ' | cs_clear_lclstrg' : '') +
(sites_custom[key]['referer'] ? ' | referer: ' + sites_custom[key]['referer'] : '') + (sites_custom[key]['useragent'] ? ' | useragent: ' + sites_custom[key]['useragent'] : '') +
(sites_custom[key]['referer_custom'] ? ' | referer_custom' : '') + (sites_custom[key]['useragent_custom'] ? ' | useragent_custom' : '') +
(sites_custom[key]['random_ip'] ? ' | random_ip: ' + sites_custom[key]['random_ip'] : '') + (sites_custom[key]['googlebot'] > 0 ? ' | googlebot' : '') +
((sites_custom[key]['block_js'] > 0 || sites_custom[key]['block_javascript'] > 0) ? ' | block_js' : '') + (sites_custom[key]['referer'] ? ' | referer: ' + sites_custom[key]['referer'] : '') +
((sites_custom[key]['block_js_ext'] > 0 || sites_custom[key]['block_javascript_ext'] > 0) ? ' | block_js_ext' : '') + (sites_custom[key]['referer_custom'] ? ' | referer_custom' : '') +
(sites_custom[key]['block_js_inline'] ? ' | block_js_inline' : '') + (sites_custom[key]['random_ip'] ? ' | random_ip: ' + sites_custom[key]['random_ip'] : '') +
(sites_custom[key]['block_regex'] ? ' | block_regex' : '') + ((sites_custom[key]['block_js'] > 0) ? ' | block_js' : '') +
(sites_custom[key]['amp_unhide'] > 0 ? ' | amp_unhide' : '') + ((sites_custom[key]['block_js_ext'] > 0) ? ' | block_js_ext' : '') +
(sites_custom[key]['amp_redirect'] ? ' | amp_redirect' : '') + (sites_custom[key]['block_js_inline'] ? ' | block_js_inline' : '') +
(sites_custom[key]['ld_json'] ? ' | ld_json' : '') + (sites_custom[key]['block_regex'] ? ' | block_regex' : '') +
(sites_custom[key]['ld_json_next'] ? ' | ld_json_next' : '') + (sites_custom[key]['amp_unhide'] > 0 ? ' | amp_unhide' : '') +
(sites_custom[key]['ld_json_url'] ? ' | ld_json_url' : '') + (sites_custom[key]['amp_redirect'] ? ' | amp_redirect' : '') +
(sites_custom[key]['ld_archive_is'] ? ' | ld_archive_is' : '') + (sites_custom[key]['ld_json'] ? ' | ld_json' : '') +
(sites_custom[key]['ld_google_webcache'] ? ' | ld_google_webcache' : '') + (sites_custom[key]['ld_json_next'] ? ' | ld_json_next' : '') +
(sites_custom[key]['add_ext_link'] && sites_custom[key]['add_ext_link_type'] ? ' | add_ext_link' : '') + (sites_custom[key]['ld_json_source'] ? ' | ld_json_source' : '') +
(sites_custom[key]['cs_code'] ? ' | cs_code' : ''); (sites_custom[key]['ld_json_url'] ? ' | ld_json_url' : '') +
(sites_custom[key]['ld_archive_is'] ? ' | ld_archive_is' : '') +
(sites_custom[key]['add_ext_link'] && sites_custom[key]['add_ext_link_type'] ? ' | add_ext_link' : '') +
(sites_custom[key]['cs_code'] ? ' | cs_code' : '');
}
optionEl.value = key; optionEl.value = key;
selectEl.add(optionEl); selectEl.add(optionEl);
} }
@@ -498,6 +510,19 @@ function renderOptions() {
perm_custom.innerText = 'NO'; perm_custom.innerText = 'NO';
} }
}); });
var sites_custom_upd_version = items.sites_custom_upd_version;
if (sites_custom['###_remove_sites'] && sites_custom['###_remove_sites'].cs_code) {
let custom_version = '';
let match = sites_custom['###_remove_sites'].cs_code.split(/,\s?/).filter(x => x.match(/^###_custom_/));
if (match.length)
custom_version = match[0].replace('###_custom_', '');
if (custom_version < sites_custom_upd_version) {
var custom_update = document.getElementById('custom-update');
custom_update.style = 'font-weight: bold; color: red; margin: 20px 0px;';
custom_update.innerText = 'Custom sites updated (import from local/online)!\r\n';
}
}
}); });
var custom_enabled = document.getElementById('custom-enabled'); var custom_enabled = document.getElementById('custom-enabled');
@@ -542,7 +567,8 @@ document.getElementById('sort').addEventListener('click', sort_options);
document.getElementById('export').addEventListener('click', export_options); document.getElementById('export').addEventListener('click', export_options);
document.getElementById('import').onclick = function () {importInput.click()} document.getElementById('import').onclick = function () {importInput.click()}
document.getElementById('importInput').addEventListener("change", import_options, false); document.getElementById('importInput').addEventListener("change", import_options, false);
document.getElementById('import_online').addEventListener('click', import_online_options); document.getElementById('import_local').addEventListener('click', e => import_url_options(e, false));
document.getElementById('import_online').addEventListener('click', e => import_url_options(e, true));
document.getElementById('add').addEventListener('click', add_options); document.getElementById('add').addEventListener('click', add_options);
document.getElementById('delete').addEventListener('click', delete_options); document.getElementById('delete').addEventListener('click', delete_options);
document.getElementById('delete_default').addEventListener('click', delete_default_options); document.getElementById('delete_default').addEventListener('click', delete_default_options);

View File

@@ -6,25 +6,22 @@
<link rel="stylesheet" href="options_all.css"/> <link rel="stylesheet" href="options_all.css"/>
<link rel="stylesheet" href="popup_switch.css"/> <link rel="stylesheet" href="popup_switch.css"/>
<style> <style>
body { body {text-align: center;}
text-align: center; div {margin: 10px;}
}
div {
margin: 10px;
}
</style> </style>
</head> </head>
<body style="width:290px"> <body style="width:300px">
<div><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span">&nbsp;&nbsp;</span></div> <div><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span">&nbsp;</span></div>
<div><a href="options.html" target="_blank">Options</a> | <div><a href="options.html" target="_blank">Options</a>&nbsp;
<a href="options_custom.html" target="_blank">Custom</a> | <a href="options_custom.html" target="_blank">Custom</a>&nbsp;
<a href="/README.html" target="_blank">Help</a> | <a href="/README.html" target="_blank">Help</a>&nbsp;
<a href="https://twitter.com/Magnolia1234B" target="_blank">X (Twitter)</a></div> <a href="https://x.com/Magnolia1234B" target="_blank">X</a>&nbsp;
<div><a href="/changelog.txt" target="_blank">Changelog</a> | <a href="https://xcancel.com/Magnolia1234B" target="_blank">Nitter</a></div>
<button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies<br>(& permission)</button> | <div><a href="https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean/blob/raw?file=changelog.txt" target="_blank">Changelog</a>
<button id="clear_cookies" title="clear cookies (and local storage) for current site">clear site-cookies<br>(& ask permission)</button>
<button id="button-close" title="close popup">close</button></div> <button id="button-close" title="close popup">close</button></div>
<div><span id="version_new"></span></div> <div><span id="version_new"></span></div>
<div><span>* for unlisted sites: first clear cookies (X = no fix) & block general paywall-scripts (in options) or use custom sites/reader view</span></div> <div><span>* for unlisted sites: first clear cookies for site (X = no fix) & block general paywall-scripts (in options) or use custom sites/reader view</span></div>
<div><span id="archive"></span></div> <div><span id="archive"></span></div>
<script id="popup" src="version.js"></script> <script id="popup" src="version.js"></script>
<script src="popup.js"></script> <script src="popup.js"></script>

View File

@@ -1,13 +1,35 @@
var ext_api = (typeof browser === 'object') ? browser : chrome; var ext_api = (typeof browser === 'object') ? browser : chrome;
var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome'; var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
var manifestData = ext_api.runtime.getManifest(); var manifestData = ext_api.runtime.getManifest();
var navigator_ua = navigator.userAgent; var ext_manifest_version = manifestData.manifest_version;
var navigator_ua_mobile = navigator_ua.toLowerCase().includes('mobile'); var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length));
var yandex_browser = navigator_ua_mobile && (url_loc === 'chrome') && navigator_ua.toLowerCase().includes('yabrowser');
var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length)) && !(navigator_ua_mobile && (url_loc === 'chrome') && !yandex_browser); // htmlviewer: clean layout
ext_api.tabs.query({
active: true,
currentWindow: true
}, function (tabs) {
if (tabs && tabs[0] && ((tabs[0].url === 'about:blank' && tabs[0].title !== 'about:blank') || tabs[0].url === 'https://codebeautify.org/htmlviewer')) {
let tabId = tabs[0].id;
if (ext_manifest_version === 2) {
ext_api.tabs.executeScript(tabId, {
file: '/options/htmlviewer.js'
}, function (res) {
if (ext_api.runtime.lastError || res[0]) {
return;
}
});
} else if (ext_manifest_version === 3) {
ext_api.scripting.executeScript({
target: {tabId: tabId},
files: ["/options/htmlviewer.js"]
})
}
}
});
function popup_show_toggle(domain, enabled) { function popup_show_toggle(domain, enabled) {
if (domain && !matchDomain(['webcache.googleusercontent.com'], domain)) { if (domain) {
var site_switch_span = document.getElementById('site_switch_span'); var site_switch_span = document.getElementById('site_switch_span');
let labelEl = document.createElement('label'); let labelEl = document.createElement('label');
labelEl.setAttribute('class', 'switch'); labelEl.setAttribute('class', 'switch');
@@ -82,17 +104,12 @@ function showArchiveLinks() {
if (tabs && tabs[0] && /^http/.test(tabs[0].url)) { if (tabs && tabs[0] && /^http/.test(tabs[0].url)) {
let url = tabs[0].url; let url = tabs[0].url;
let hostname = urlHost(url); let hostname = urlHost(url);
if (!matchDomain(['hbrchina.org'], hostname))
url = url.split(/[#\?]/)[0];
let url_enc = encodeURIComponent(url); let url_enc = encodeURIComponent(url);
let archive_array = { let archive_array = {
'Archive.today': 'https://archive.today?run=1&url=' + url_enc, 'Archive.today': 'https://archive.today?run=1&url=' + url_enc,
'Google webcache': 'https://webcache.googleusercontent.com/search?q=cache:' + url_enc, 'Clearthis.page': 'https://clearthis.page?u=' + url_enc,
'Clearthis.page': 'https://clearthis.page?u=' + url, 'Google Search Tool\n(see help - troubleshooting)': 'https://search.google.com/test/rich-results?url=' + url_enc
'1ft.io': 'https://1ft.io/' + url,
'Google Search Tool\n(use online html-viewer - no fix)': 'https://search.google.com/test/rich-results?url=' + url_enc
}; };
//'Archive.today (renew)': 'https://archive.today?renew=1&url=' + url_enc,
let archive_id = document.querySelector('span#archive'); let archive_id = document.querySelector('span#archive');
if (archive_id) { if (archive_id) {
archive_id.appendChild(document.createTextNode('Open tab in:')); archive_id.appendChild(document.createTextNode('Open tab in:'));
@@ -100,7 +117,7 @@ function showArchiveLinks() {
let elem_div = document.createElement('div'); let elem_div = document.createElement('div');
let elem = document.createElement('a'); let elem = document.createElement('a');
elem.innerText = key; elem.innerText = key;
if (!(matchDomain(['1ft.io', 'clearthis.page', 'google.com', 'googleusercontent.com'], hostname) || hostname.match(/^archive\.\w{2}$/))) { if (!(matchDomain(['clearthis.page', 'google.com'], hostname) || hostname.match(/^archive\.\w{2}$/))) {
elem.href = archive_array[key]; elem.href = archive_array[key];
elem.title = elem.href; elem.title = elem.href;
elem.target = '_blank'; elem.target = '_blank';
@@ -115,11 +132,9 @@ function showArchiveLinks() {
showArchiveLinks(); showArchiveLinks();
function matchDomain(domains, hostname = window.location.hostname) { function matchDomain(domains, hostname = window.location.hostname) {
let matched_domain = false;
if (typeof domains === 'string') if (typeof domains === 'string')
domains = [domains]; domains = [domains];
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain)); return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
return matched_domain;
} }
function urlHost(url) { function urlHost(url) {

View File

@@ -2,7 +2,7 @@ var ext_api = (typeof browser === 'object') ? browser : chrome;
var manifestData = ext_api.runtime.getManifest(); var manifestData = ext_api.runtime.getManifest();
var url_loc = manifestData.key ? 'chrome' : 'firefox'; var url_loc = manifestData.key ? 'chrome' : 'firefox';
var ext_url = 'https://github.com/bpc-clone/bpc_updates/releases/latest'; var ext_url = 'https://gitflic.ru/project/magnolia1234/bpc_uploads';
var ext_name = manifestData.name; var ext_name = manifestData.name;
var version_str = 'v' + manifestData.version; var version_str = 'v' + manifestData.version;
var version_span = document.querySelector('span#version'); var version_span = document.querySelector('span#version');
@@ -28,6 +28,7 @@ function show_warning() {
version_span_new.appendChild(par); version_span_new.appendChild(par);
} }
} }
function show_update(ext_version_new, check = true) { function show_update(ext_version_new, check = true) {
if (ext_version_new) { if (ext_version_new) {
ext_api.management.getSelf(function (result) { ext_api.management.getSelf(function (result) {
@@ -42,7 +43,7 @@ function show_update(ext_version_new, check = true) {
if (installType === 'development') if (installType === 'development')
anchorEl.href = ext_url; anchorEl.href = ext_url;
else { else {
anchorEl.href = ext_url + '/-/releases'; anchorEl.href = ext_url;
ext_version_new = ext_version_new.replace(/\d$/, '0'); ext_version_new = ext_version_new.replace(/\d$/, '0');
} }
anchorEl.innerText = 'New release v' + ext_version_new; anchorEl.innerText = 'New release v' + ext_version_new;
@@ -52,8 +53,8 @@ function show_update(ext_version_new, check = true) {
show_warning(); show_warning();
} else if (check) { } else if (check) {
anchorEl = document.createElement('a'); anchorEl = document.createElement('a');
anchorEl.text = 'Check Twitter for latest update'; anchorEl.text = 'Check X/Twitter for latest update';
anchorEl.href = 'https://twitter.com/Magnolia1234B'; anchorEl.href = 'https://x.com/Magnolia1234B';
anchorEl.target = '_blank'; anchorEl.target = '_blank';
version_span_new.appendChild(anchorEl); version_span_new.appendChild(anchorEl);
} }
@@ -61,20 +62,10 @@ function show_update(ext_version_new, check = true) {
function check_version_update(ext_version_new, popup) { function check_version_update(ext_version_new, popup) {
if (!popup) { if (!popup) {
let manifest_new = 'https://bitbucket.org/bpc-updates/bpc_updates/downloads/manifest.json'; ext_api.runtime.sendMessage({
fetch(manifest_new) request: 'check_update'
.then(response => {
if (response.ok) {
response.json().then(json => {
var version_new = json['version'];
show_update(version_new);
})
} else {
show_update(ext_version_new);
}
}).catch(function (err) {
false;
}); });
show_update(ext_version_new);
} else } else
show_update(ext_version_new, false); show_update(ext_version_new, false);
} }

1911
sites.js

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +1,92 @@
{ {
"DigiTimes Asia": { "Algemeen Dagblad (+ regional/ADR)": {
"domain": "digitimes.com", "domain": "###_nl_dpg_adr",
"group": [
"ad.nl",
"bd.nl",
"bndestem.nl",
"destentor.nl",
"ed.nl",
"gelderlander.nl",
"pzc.nl",
"tubantia.nl"
],
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "\\.piano\\.io", "block_regex": "temptation\\.{domain}",
"useragent": "googlebot", "ld_archive_is": "article>header svg.premium-indicator|article>section",
"upd_version": "3.6.4.5" "cs_block": 1,
"upd_version": "4.2.8.1"
}, },
"El Español": { "Apollo Magazine": {
"domain": "elespanol.com", "domain": "apollo-magazine.com",
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)", "block_regex": "\\.tinypass\\.com",
"cs_code": "[{\"cond\":\"div.content-not-granted-paywall\", \"rm_class\":\"content-not-granted-paywall\"}]", "upd_version": "4.2.7.5"
"upd_version": "3.6.4.3"
}, },
"NDTV Profit": { "Het Laatste Nieuws": {
"domain": "ndtvprofit.com", "domain": "hln.be",
"allow_cookies": 1, "allow_cookies": 1,
"amp_redirect": "div[class^='hard-paywall']", "block_regex": "temptation\\.hln\\.be",
"amp_unhide": 1, "ld_archive_is": "article>header svg.premium-indicator|article>section",
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js", "cs_block": 1,
"upd_version": "3.6.4.5" "upd_version": "4.2.8.1"
},
"Medscape": {
"domain": "medscape.com",
"allow_cookies": 1,
"block_regex": "\\.adobedtm\\.com\\/.+\\/launch-.+\\.js",
"block_host_perm_add": "adobedtm.com",
"upd_version": "4.2.7.7"
},
"Semana (CO)": {
"domain": "semana.com",
"allow_cookies": 1,
"block_regex": "\\.ampproject\\.org\\/v0\\/amp-subscriptions-.+\\.js",
"amp_redirect": "div.paywall>div:not(.article-body)",
"upd_version": "4.2.7.6"
},
"Stern.de": {
"domain": "stern.de",
"allow_cookies": 1,
"cs_dompurify": 1,
"cs_param": {"paywall_sel": "main>article ws-paywall"},
"upd_version": "4.2.7.7"
},
"Süddeutsche Zeitung": {
"domain": "sueddeutsche.de",
"allow_cookies": 1,
"block_regex": "\\.sueddeutsche\\.de\\/api\\/tinypass\\.min\\.js",
"ld_archive_is": "head>meta[content='locked']|div[itemprop='articleBody']",
"add_ext_link": "div.offerpage-container,div.offer-page|main",
"add_ext_link_type": "archive.is",
"cs_block": 1,
"upd_version": "4.2.7.3"
},
"The Information (news only)": {
"domain": "theinformation.com",
"allow_cookies": 1,
"ld_archive_is": "aside[data-testid='paywall']|article",
"upd_version": "4.2.7.8"
},
"The Spectator Australia": {
"domain": "spectator.com.au",
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com",
"upd_version": "4.2.7.5"
},
"The Spectator Group (UK)": {
"domain": "###_uk_spectator",
"group": [
"spectator.com"
],
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com",
"upd_version": "4.2.7.5"
},
"War on the Rocks": {
"domain": "warontherocks.com",
"allow_cookies": 1,
"ld_json_url": "a[href^='https://warontherocks.com/membership']|div.tw\\:container.tw\\:mb-20>div",
"upd_version": "4.2.7.1"
} }
} }

View File

@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lkbebcjgcmobigpeffafkodonchffocl'> <app appid='lkbebcjgcmobigpeffafkodonchffocl'>
<updatecheck codebase='https://github.com/bpc-clone/bpc_updates/releases/latest/download/bypass-paywalls-chrome-clean-3.6.4.0.crx' version='3.6.4.0' /> <updatecheck codebase='https://gitflic.ru/project/magnolia1234/bpc_uploads/blob/raw?file=bypass-paywalls-chrome-clean-4.2.8.0.crx' version='4.2.8.0' />
</app> </app>
</gupdate> </gupdate>