Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 733097a002 |
476
README.html
476
README.html
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||
@@ -1,3 +0,0 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\BraveSoftware\Brave\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
@@ -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>
|
||||
@@ -1,3 +0,0 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
@@ -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>
|
||||
@@ -1,3 +0,0 @@
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallAllowlist]
|
||||
"1"="lkbebcjgcmobigpeffafkodonchffocl"
|
||||
@@ -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><key>ExtensionInstallAllowlist</key>
|
||||
<array>
|
||||
<string>lkbebcjgcmobigpeffafkodonchffocl</string>
|
||||
<string>extension-id2</string>
|
||||
</array>
|
||||
</code>
|
||||
</pre>
|
||||
<h3 id="linux">Linux</h3>
|
||||
<p>
|
||||
<a href="https://developer.chrome.com/docs/extensions/mv3/hosting/#hosting">Chromium-based browsers allow local installations of extensions</a>, so not necessary :)</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -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 :)
|
||||
@@ -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'."
|
||||
|
||||
}
|
||||
1066
background.js
1066
background.js
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
});
|
||||
|
||||
1572
changelog.txt
1572
changelog.txt
File diff suppressed because it is too large
Load Diff
6903
contentScript.js
6903
contentScript.js
File diff suppressed because it is too large
Load Diff
@@ -1,132 +1,225 @@
|
||||
//'use strict';
|
||||
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 group;
|
||||
let nofix;
|
||||
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';
|
||||
else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]'))
|
||||
group = '###_beehiiv';// no fix
|
||||
else if (document.querySelector('head > meta[name="generator"][content^="Ghost"]') && !document.querySelector('script[src^="https://steadyhq.com/"]'))
|
||||
group = '###_ghost';// no fix
|
||||
else if (document.querySelector('head > link[href*="/leaky-paywall"], script[src*="/leaky-paywall"], div[id^="issuem-leaky-paywall-"]'))
|
||||
else if (document.querySelector('head > meta[property="og:image"][content*="beehiiv"]')) {
|
||||
group = '###_beehiiv';
|
||||
nofix = 1;
|
||||
} else if (document.querySelector('head > meta[name="generator"][content^="Ghost"]') && !document.querySelector('script[src^="https://steadyhq.com/"]')) {
|
||||
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';
|
||||
else if (document.querySelector('head > link[href^="https://substackcdn.com/"]'))
|
||||
group = '###_substack_custom';// no fix
|
||||
else if (document.querySelector('head > script[data-memberstack-app]'))
|
||||
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"]'))
|
||||
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/"]'))
|
||||
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"]')))
|
||||
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';
|
||||
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';
|
||||
else if (hostname.endsWith('.com.au')) {
|
||||
if (document.querySelector('head > link[href="https://images.thewest.com.au"]'))
|
||||
group = 'thewest.com.au';
|
||||
else if (document.querySelector('head > link[rel="dns-prefetch"][href="//static.ew.mmg.navigacloud.com"]'))
|
||||
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')) {
|
||||
if (document.querySelector('head > meta[property="og:image"][content*="/impresa.soy-chile.cl/"]'))
|
||||
group = 'elmercurio.com';
|
||||
} else if (hostname.match(/\.(de|at|ch)$/) || matchDomain(['horizont.net', 'lebensmittelzeitung.net'])) {
|
||||
if (document.querySelector('head > meta[property="og:image"][content*="/impresa.soy-chile.cl/"]')) {
|
||||
group = '###_cl_elmercurio_local';
|
||||
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/"]'))
|
||||
group = '###_de_dfv_medien';
|
||||
else if (document.querySelector('div.navigation__personalization > a[href^="https://www.haas-mediengruppe.de/"]'))
|
||||
else if (hostname.endsWith('.de')) {
|
||||
if (matchDomain(['bergstraesser-anzeiger.de', 'fnweb.de', 'mannheimer-morgen.de', 'schwetzinger-zeitung.de'])) {
|
||||
group = '###_de_haas_medien';
|
||||
else if (document.querySelector('head > link[href*=".rndtech.de/"]'))
|
||||
nofix = 1;
|
||||
} else if (document.querySelector('head > link[href*=".rndtech.de/"]'))
|
||||
group = '###_de_madsack';
|
||||
else if (document.querySelector('a.mgw-logo[href^="https://mgw.de"]'))
|
||||
group = '###_de_mgw';
|
||||
else if (document.querySelector('header a.mgw-logo[href^="https://mgw.de"]'))
|
||||
group = '###_de_mgw'; // custom
|
||||
else if (matchDomain(['cannstatter-zeitung.de', 'esslinger-zeitung.de', 'frankenpost.de', 'insuedthueringen.de', 'krzbb.de', 'kurier.de', 'np-coburg.de']))
|
||||
group = '###_de_mhs';
|
||||
else if (matchDomain(['bgland24.de', 'chiemgau24.de', 'innsalzach24.de', 'mangfall24.de', 'rosenheim24.de', 'wasserburg24.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']))
|
||||
group = '###_de_vrm';
|
||||
else if (document.querySelector('head > link[href*="/assets.static-chmedia.ch/"]'))
|
||||
group = '###_ch_media';
|
||||
else if (document.querySelector('head > link[href*=".tamedia.ch/"]'))
|
||||
group = '###_ch_tamedia';// custom
|
||||
else if (matchDomain('finanzbusiness.de'))
|
||||
group = '###_dk_watch_media'; // custom
|
||||
else if (matchDomain('schwaebische-post.de') || document.querySelector('header a[href^="https://www.ippen.media"]'))
|
||||
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'])) {
|
||||
if (document.querySelector('head > link[href*="/estaticos-cdn."]'))
|
||||
group = '###_es_epiberica';
|
||||
else if (document.querySelector('div > ul > li > a[href="https://www.sportlife.es/"]'))
|
||||
group = '###_es_sport_life';
|
||||
} else if (hostname.endsWith('.fi')) {
|
||||
if (document.querySelector('head > link[href^="https://assets.almatalent.fi"]'))
|
||||
group = '###_fi_alma_talent';// no fix
|
||||
else if (document.querySelector('head[prefix*=".kalevamedia.fi/"]'))
|
||||
group = '###_fi_kaleva';// no fix
|
||||
if (document.querySelector('head > link[href^="https://assets.almatalent.fi"]')) {
|
||||
group = '###_fi_alma_talent';
|
||||
nofix = 1;
|
||||
} else if (document.querySelector('head[prefix*=".kalevamedia.fi/"]')) {
|
||||
group = '###_fi_kaleva';
|
||||
nofix = 1;
|
||||
}
|
||||
} 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';
|
||||
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';
|
||||
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')) {
|
||||
if (document.querySelector('head > link[href^="//citynews.stgy.ovh/"]'))
|
||||
group = '###_it_citynews';// no fix
|
||||
if (document.querySelector('head > link[href^="//citynews.stgy.ovh/"]')) {
|
||||
group = '###_it_citynews';
|
||||
nofix = 1;
|
||||
}
|
||||
else if (matchDomain(['gazzettadimodena.it', 'gazzettadireggio.it', 'lanuovaferrara.it']))
|
||||
group = '###_it_gruppo_sae';
|
||||
} else if (hostname.endsWith('.nl')) {
|
||||
if (document.querySelector('head > link[href*=".ndcmediagroep.nl/"]'))
|
||||
} else if (hostname.endsWith('.nl') || matchDomain(['bike-eu.com'])) {
|
||||
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';
|
||||
else if (document.querySelector('head > link[rel="dns-prefetch"][href^="https://vmn-"][href$="imgix.net"]'))
|
||||
group = '###_nl_vmnmedia';// no fix
|
||||
else if (matchDomain(['gooieneemlander.nl', 'ijmuidercourant.nl']))
|
||||
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')) {
|
||||
if (document.querySelector('footer > div > div > a[href="https://www.nwtmedia.se/"]'))
|
||||
group = '###_se_nwt_media';
|
||||
else if (document.querySelector('head > link[href^="https://cdn.gotamedia.se/"]'))
|
||||
group = '###_se_gota_media';// no fix
|
||||
else if (document.querySelector('footer ul > li > a[href^="https://privacy.bonniernews.se/cookiepolicy"]'))
|
||||
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)$/)) {
|
||||
if (document.querySelector('footer > div a[href^="https://www.nationalworldplc.com"]'))
|
||||
group = '###_uk_nat_world';
|
||||
else if (matchDomain(['investmentweek.co.uk']))
|
||||
group = '###_uk_incisive_media';
|
||||
else if (document.querySelector('footer li > a[href^="https://www.newsquest.co.uk/"]'))
|
||||
if (matchDomain(['motortransport.co.uk']))
|
||||
group = '###_uk_dvv_media';
|
||||
else if (document.querySelector('footer a[href^="https://www.mediaconcierge.co.uk"]'))
|
||||
group = '###_uk_iconic_media';
|
||||
else if (document.querySelector('footer a[href^="https://www.newsquest.co.uk/"]'))
|
||||
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)$/)) {
|
||||
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';
|
||||
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';
|
||||
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';
|
||||
else if (matchDomain(['businessgreen.com', 'internationalinvestment.net', 'professionaladviser.com', 'professionalpensions.com']))
|
||||
group = '###_uk_incisive_media';
|
||||
else if (document.querySelector('footer li > a[href^="https://www.newsquest.co.uk/"]'))
|
||||
else if (matchDomain(['flightglobal.com', 'freightcarbonzero.com', 'heavyliftpfi.com', 'personneltoday.com', 'railwaygazette.com']))
|
||||
group = '###_uk_dvv_media';
|
||||
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';
|
||||
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'))
|
||||
group = '###_usa_bridge_tower';
|
||||
else if (document.querySelector('footer#footer li > a[href^="https://cherryroad-media.com"]'))
|
||||
group = '###_usa_cherryroad';// no fix
|
||||
else if (document.querySelector('head > link[href*=".gannettdigital.com/"], head > link[href*=".gannett-cdn.com/"]'))
|
||||
else if (document.querySelector('head > script[type][src*="-cnhi-pw.newsmemory.com"]'))
|
||||
group = '###_usa_cnhi';
|
||||
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';
|
||||
else if (document.querySelector('head > script[src*="/treg.hearstnp.com/"]'))
|
||||
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';
|
||||
else if (document.querySelector('head > meta[name="tncms-access-version'))
|
||||
else if (document.querySelector('head > meta[name="tncms-access-version"]'))
|
||||
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';
|
||||
else if (document.querySelector('head > link[rel="stylesheet"][id^="dfm-accuweather-"], footer li > a[href^="https://www.medianewsgroup.com"]'))
|
||||
group = '###_usa_mng';
|
||||
else if (document.querySelector('head > link[href$=".wallkit.net"]'))
|
||||
group = '###_wp_wallkit';
|
||||
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';
|
||||
else if (matchDomain(['argusdelassurance.com', 'lagazettedescommunes.com']))
|
||||
else if (matchDomain(['argusdelassurance.com']))
|
||||
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"]')))
|
||||
group = '###_uk_delinian';// no fix
|
||||
else if (!matchDomain(['delinian.com', 'structuredretailproducts.com']) && document.querySelector('footer a[href^="https://www.delinian.com/privacy-policy"]'))
|
||||
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/"]'))
|
||||
group = '###_usa_forum_comm';
|
||||
else if (document.querySelector('li > a[href^="https://www.bnpmedia.com/"]'))
|
||||
@@ -135,37 +228,37 @@ window.setTimeout(function () {
|
||||
group = '###_usa_industrydive';
|
||||
else if (matchDomain(['centralmaine.com', 'pressherald.com', 'sunjournal.com']))
|
||||
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';
|
||||
else if (matchDomain(['dayton.com', 'daytondailynews.com', 'journal-news.com', 'springfieldnewssun.com']))
|
||||
group = 'ajc.com';// Cox First Media
|
||||
nofix = 1;
|
||||
} 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']))
|
||||
group = 'americanbanker.com';// Arizent
|
||||
group = 'americanbanker.com'; // Arizent
|
||||
}
|
||||
} 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';
|
||||
}
|
||||
|
||||
if (group)
|
||||
console.log(group);
|
||||
ext_api.runtime.sendMessage({
|
||||
request: 'custom_domain',
|
||||
data: {
|
||||
domain: custom_domain,
|
||||
group: group
|
||||
group: group,
|
||||
nofix: nofix
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}, 1000);
|
||||
|
||||
function matchDomain(domains, hostname) {
|
||||
var matched_domain = false;
|
||||
if (!hostname)
|
||||
hostname = window.location.hostname;
|
||||
}
|
||||
|
||||
function matchDomain(domains, hostname = window.location.hostname) {
|
||||
if (typeof domains === 'string')
|
||||
domains = [domains];
|
||||
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain));
|
||||
return matched_domain;
|
||||
return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
|
||||
}
|
||||
|
||||
function getCookieDomain(hostname) {
|
||||
|
||||
@@ -2,40 +2,23 @@
|
||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
|
||||
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(de_madsack_domains) || document.querySelector('head > link[href*=".rndtech.de/"]')) {
|
||||
function madsack_main() {
|
||||
for (let n = 0; n < 10; n++) {
|
||||
if (matchDomain('automobilwoche.de')) {
|
||||
function automobilwoche_main() {
|
||||
for (let n = 0; n < 25; n++) {
|
||||
window.setTimeout(function () {
|
||||
if (window.Fusion) {
|
||||
window.Fusion.globalContent.isPaid = false;
|
||||
window.Fusion.globalContent._id = 0;
|
||||
window.Fusion.globalContent.content_restrictions = {};
|
||||
}
|
||||
}, n * 50);
|
||||
}
|
||||
}
|
||||
insert_script(madsack_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);
|
||||
insert_script(automobilwoche_main);
|
||||
}
|
||||
|
||||
else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) {
|
||||
for (let n = 0; n < 10; n++) {
|
||||
for (let n = 0; n < 50; n++) {
|
||||
window.setTimeout(function () {
|
||||
let article = document.querySelector('div.article-main-txt.composer-content');
|
||||
if (article)
|
||||
@@ -46,7 +29,7 @@ else if (matchDomain(['journaldemontreal.com', 'journaldequebec.com'])) {
|
||||
|
||||
else if (matchDomain('nzherald.co.nz')) {
|
||||
function nzherald_main() {
|
||||
for (let n = 0; n < 10; n++) {
|
||||
for (let n = 0; n < 25; n++) {
|
||||
window.setTimeout(function () {
|
||||
if (window.Fusion) {
|
||||
window.Fusion.globalContent.isPremium = false;
|
||||
@@ -57,14 +40,10 @@ else if (matchDomain('nzherald.co.nz')) {
|
||||
insert_script(nzherald_main);
|
||||
}
|
||||
|
||||
function matchDomain(domains, hostname) {
|
||||
var matched_domain = false;
|
||||
if (!hostname)
|
||||
hostname = window.location.hostname;
|
||||
function matchDomain(domains, hostname = window.location.hostname) {
|
||||
if (typeof domains === 'string')
|
||||
domains = [domains];
|
||||
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain));
|
||||
return matched_domain;
|
||||
return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
|
||||
}
|
||||
|
||||
function removeDOMElement(...elements) {
|
||||
|
||||
@@ -1,20 +1,23 @@
|
||||
{
|
||||
"background": {
|
||||
"scripts": ["sites.js", "bpc_count_daily_users.js", "background.js"]
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_security_policy": "script-src 'self'; object-src 'self'",
|
||||
"browser_action": {
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'"
|
||||
},
|
||||
"action": {
|
||||
"default_popup": "options/popup.html"
|
||||
},
|
||||
"description": "Bypass Paywalls of news sites",
|
||||
"homepage_url": "https://twitter.com/Magnolia1234B",
|
||||
"homepage_url": "https://github.com/bpc-clone/bypass-paywalls-chrome-clean",
|
||||
"icons": {
|
||||
"128": "bypass.png"
|
||||
},
|
||||
"manifest_version": 2,
|
||||
"manifest_version": 3,
|
||||
"minimum_chrome_version": "109",
|
||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB",
|
||||
"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",
|
||||
"options_ui": {
|
||||
"open_in_tab": true,
|
||||
@@ -25,9 +28,12 @@
|
||||
"cookies",
|
||||
"storage",
|
||||
"activeTab",
|
||||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"declarativeNetRequestWithHostAccess",
|
||||
"scripting",
|
||||
"offscreen"
|
||||
],
|
||||
"host_permissions": [
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.6.4.5"
|
||||
"version": "4.2.8.2"
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
287
manifest.json
287
manifest.json
@@ -1,42 +1,51 @@
|
||||
{
|
||||
"background": {
|
||||
"scripts": ["sites.js", "bpc_count_daily_users.js", "background.js"]
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_security_policy": "script-src 'self'; object-src 'self'",
|
||||
"browser_action": {
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'"
|
||||
},
|
||||
"action": {
|
||||
"default_popup": "options/popup.html"
|
||||
},
|
||||
"description": "Bypass Paywalls of news sites",
|
||||
"homepage_url": "https://twitter.com/Magnolia1234B",
|
||||
"homepage_url": "https://gitflic.ru/project/magnolia1234/bypass-paywalls-chrome-clean",
|
||||
"icons": {
|
||||
"128": "bypass.png"
|
||||
},
|
||||
"manifest_version": 2,
|
||||
"manifest_version": 3,
|
||||
"minimum_chrome_version": "109",
|
||||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLxf4oOeSoz8qKVzKGQWW5zW44hWCoOoQRGXTrObUpyoGfGzhFO8aZHQmBcLrAZMA4O6EA7GaXnHkOPCLKM11seZ4J2azb1gSswApfAlaoeOLnhDnp/Jpzz7Bt6o4HL+nhKRJUOZ9z+GXAyOkOps5O38TwJN5R6z8tLkleRgfYscp19YU/vq1x9PrbXIHJTRB7qtb/iJmiKATKisXGmFY3Nbs5m379TGqcJFBM9bI+8bSJtS4e7t0LHOwSLDq3IVRaWVsFd9P19WEDNTxuzr9+rczOrw1vgmiisNOcElse8cyVIoq4bjepvfHM/9nzDgKwQsNG5OTzujwHu2UUN4cwIDAQAB",
|
||||
"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",
|
||||
"options_ui": {
|
||||
"open_in_tab": true,
|
||||
"page": "options/options.html"
|
||||
},
|
||||
"incognito": "split",
|
||||
"optional_permissions": [
|
||||
"<all_urls>"
|
||||
],
|
||||
"permissions": [
|
||||
"cookies",
|
||||
"storage",
|
||||
"activeTab",
|
||||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"declarativeNetRequestWithHostAccess",
|
||||
"scripting",
|
||||
"offscreen"
|
||||
],
|
||||
"optional_host_permissions": [
|
||||
"*://*/*"
|
||||
],
|
||||
"host_permissions": [
|
||||
"*://*.24heures.ch/*",
|
||||
"*://*.360dx.com/*",
|
||||
"*://*.60millions-mag.com/*",
|
||||
"*://*.aargauerzeitung.ch/*",
|
||||
"*://*.aachener-zeitung.de/*",
|
||||
"*://*.abc.es/*",
|
||||
"*://*.abcmais.com/*",
|
||||
"*://*.abendblatt.de/*",
|
||||
"*://*.abqjournal.com/*",
|
||||
"*://*.abril.com.br/*",
|
||||
"*://*.actu.fr/*",
|
||||
"*://*.ad.nl/*",
|
||||
"*://*.adage.com/*",
|
||||
"*://*.adelaidenow.com.au/*",
|
||||
@@ -44,7 +53,10 @@
|
||||
"*://*.aerokurier.de/*",
|
||||
"*://*.aerztezeitung.de/*",
|
||||
"*://*.afr.com/*",
|
||||
"*://*.aftenposten.no/*",
|
||||
"*://*.aisnenouvelle.fr/*",
|
||||
"*://*.ajc.com/*",
|
||||
"*://*.al-monitor.com/*",
|
||||
"*://*.al.com/*",
|
||||
"*://*.allgemeine-zeitung.de/*",
|
||||
"*://*.alternatives-economiques.fr/*",
|
||||
@@ -53,6 +65,7 @@
|
||||
"*://*.americanbanker.com/*",
|
||||
"*://*.americanpurpose.com/*",
|
||||
"*://*.americastestkitchen.com/*",
|
||||
"*://*.aoc.media/*",
|
||||
"*://*.apollo-magazine.com/*",
|
||||
"*://*.ara.cat/*",
|
||||
"*://*.arabalears.cat/*",
|
||||
@@ -60,13 +73,12 @@
|
||||
"*://*.arcinfo.ch/*",
|
||||
"*://*.artforum.com/*",
|
||||
"*://*.artnet.com/*",
|
||||
"*://*.artsenkrant.com/*",
|
||||
"*://*.atavist.com/*",
|
||||
"*://*.atlantico.fr/*",
|
||||
"*://*.augsburger-allgemeine.de/*",
|
||||
"*://*.auto-motor-und-sport.de/*",
|
||||
"*://*.auto-swiat.pl/*",
|
||||
"*://*.autocar.co.uk/*",
|
||||
"*://*.autohebdo.fr/*",
|
||||
"*://*.automobilwoche.de/*",
|
||||
"*://*.autonews.com/*",
|
||||
"*://*.autoplus.fr/*",
|
||||
@@ -78,17 +90,23 @@
|
||||
"*://*.baltimoresun.com/*",
|
||||
"*://*.barandbench.com/*",
|
||||
"*://*.barrons.com/*",
|
||||
"*://*.bazonline.ch/*",
|
||||
"*://*.bbc.com/*",
|
||||
"*://*.bd.nl/*",
|
||||
"*://*.beleggersbelangen.nl/*",
|
||||
"*://*.belfasttelegraph.co.uk/*",
|
||||
"*://*.bendigoadvertiser.com.au/*",
|
||||
"*://*.benzinga.com/*",
|
||||
"*://*.beobachter.ch/*",
|
||||
"*://*.berliner-zeitung.de/*",
|
||||
"*://*.berlingske.dk/*",
|
||||
"*://*.bernerzeitung.ch/*",
|
||||
"*://*.betamtb.com/*",
|
||||
"*://*.betternutrition.com/*",
|
||||
"*://*.betterprogramming.pub/*",
|
||||
"*://*.bhaskar.com/*",
|
||||
"*://*.bicycling.com/*",
|
||||
"*://*.bienpublic.com/*",
|
||||
"*://*.bild.de/*",
|
||||
"*://*.billboard.com/*",
|
||||
"*://*.bizjournals.com/*",
|
||||
@@ -97,27 +115,34 @@
|
||||
"*://*.bloombergadria.com/*",
|
||||
"*://*.bnd.com/*",
|
||||
"*://*.bndestem.nl/*",
|
||||
"*://*.bnn.de/*",
|
||||
"*://*.boersen-zeitung.de/*",
|
||||
"*://*.bonappetit.com/*",
|
||||
"*://*.bordermail.com.au/*",
|
||||
"*://*.bostonglobe.com/*",
|
||||
"*://*.bostonherald.com/*",
|
||||
"*://*.braunschweiger-zeitung.de/*",
|
||||
"*://*.brill.com/*",
|
||||
"*://*.brisbanetimes.com.au/*",
|
||||
"*://*.britannica.com/*",
|
||||
"*://*.bt.no/*",
|
||||
"*://*.buffalonews.com/*",
|
||||
"*://*.business-standard.com/*",
|
||||
"*://*.businessam.be/*",
|
||||
"*://*.businessdailyafrica.com/*",
|
||||
"*://*.businessdesk.co.nz/*",
|
||||
"*://*.businessinsider.com.pl/*",
|
||||
"*://*.businessinsider.com/*",
|
||||
"*://*.businessinsider.jp/*",
|
||||
"*://*.businessinsider.nl/*",
|
||||
"*://*.businessoffashion.com/*",
|
||||
"*://*.businesspost.ie/*",
|
||||
"*://*.businesstimes.com.sg/*",
|
||||
"*://*.cairnspost.com.au/*",
|
||||
"*://*.calgaryherald.com/*",
|
||||
"*://*.cambiocolombia.com/*",
|
||||
"*://*.canarias7.es/*",
|
||||
"*://*.canberratimes.com.au/*",
|
||||
"*://*.capital.bg/*",
|
||||
"*://*.capital.fr/*",
|
||||
"*://*.capitalgazette.com/*",
|
||||
"*://*.cartacapital.com.br/*",
|
||||
@@ -132,8 +157,8 @@
|
||||
"*://*.chicagobusiness.com/*",
|
||||
"*://*.chicagotribune.com/*",
|
||||
"*://*.chronicle.com/*",
|
||||
"*://*.chunichi.co.jp/*",
|
||||
"*://*.cicero.de/*",
|
||||
"*://*.cieletespace.fr/*",
|
||||
"*://*.cincinnati.com/*",
|
||||
"*://*.citywire.com/*",
|
||||
"*://*.clarin.com/*",
|
||||
@@ -141,7 +166,6 @@
|
||||
"*://*.cleveland.com/*",
|
||||
"*://*.clicrbs.com.br/*",
|
||||
"*://*.climbing.com/*",
|
||||
"*://*.cmjornal.pt/*",
|
||||
"*://*.cnbc.com/*",
|
||||
"*://*.cnn.com/*",
|
||||
"*://*.cntraveler.com/*",
|
||||
@@ -161,6 +185,7 @@
|
||||
"*://*.courant.com/*",
|
||||
"*://*.courier-journal.com/*",
|
||||
"*://*.couriermail.com.au/*",
|
||||
"*://*.courrier-picard.fr/*",
|
||||
"*://*.courrierinternational.com/*",
|
||||
"*://*.crainscleveland.com/*",
|
||||
"*://*.crainsdetroit.com/*",
|
||||
@@ -173,35 +198,45 @@
|
||||
"*://*.ctpost.com/*",
|
||||
"*://*.curbed.com/*",
|
||||
"*://*.cw.com.tw/*",
|
||||
"*://*.cyclingnews.com/*",
|
||||
"*://*.dagensmedicin.se/*",
|
||||
"*://*.dagsavisen.no/*",
|
||||
"*://*.dailyadvertiser.com.au/*",
|
||||
"*://*.dailyherald.com/*",
|
||||
"*://*.dailyliberal.com.au/*",
|
||||
"*://*.dailymail.co.uk/*",
|
||||
"*://*.dailypress.com/*",
|
||||
"*://*.dailytelegraph.com.au/*",
|
||||
"*://*.dailywire.com/*",
|
||||
"*://*.dallasnews.com/*",
|
||||
"*://*.decanter.com/*",
|
||||
"*://*.defector.com/*",
|
||||
"*://*.delish.com/*",
|
||||
"*://*.democratandchronicle.com/*",
|
||||
"*://*.demorgen.be/*",
|
||||
"*://*.denik.cz/*",
|
||||
"*://*.denverpost.com/*",
|
||||
"*://*.deraktionaer.de/*",
|
||||
"*://*.derbund.ch/*",
|
||||
"*://*.desmoinesregister.com/*",
|
||||
"*://*.destentor.nl/*",
|
||||
"*://*.detroitnews.com/*",
|
||||
"*://*.df.cl/*",
|
||||
"*://*.dhnet.be/*",
|
||||
"*://*.di.se/*",
|
||||
"*://*.diariocorreo.pe/*",
|
||||
"*://*.diariodemallorca.es/*",
|
||||
"*://*.diariodenavarra.es/*",
|
||||
"*://*.diariosur.es/*",
|
||||
"*://*.diariovasco.com/*",
|
||||
"*://*.diepresse.com/*",
|
||||
"*://*.digiday.com/*",
|
||||
"*://*.digitimes.com/*",
|
||||
"*://*.diplomatique.org.br/*",
|
||||
"*://*.discovermagazine.com/*",
|
||||
"*://*.dispatch.com/*",
|
||||
"*://*.dn.no/*",
|
||||
"*://*.dn.pt/*",
|
||||
"*://*.dn.se/*",
|
||||
"*://*.dna.fr/*",
|
||||
"*://*.dnevnik.bg/*",
|
||||
"*://*.doorbraak.be/*",
|
||||
"*://*.dvhn.nl/*",
|
||||
"*://*.dwell.com/*",
|
||||
@@ -216,6 +251,7 @@
|
||||
"*://*.elcomercio.pe/*",
|
||||
"*://*.elconfidencial.com/*",
|
||||
"*://*.elcorreo.com/*",
|
||||
"*://*.eldeber.com.bo/*",
|
||||
"*://*.eldia.es/*",
|
||||
"*://*.eldiario.es/*",
|
||||
"*://*.eldiariomontanes.es/*",
|
||||
@@ -234,8 +270,11 @@
|
||||
"*://*.elperiodico.com/*",
|
||||
"*://*.eltiempo.com/*",
|
||||
"*://*.eltribuno.com/*",
|
||||
"*://*.eluniversal.com.mx/*",
|
||||
"*://*.eluniverso.com/*",
|
||||
"*://*.em.com.br/*",
|
||||
"*://*.enotes.com/*",
|
||||
"*://*.entrepreneur.com/*",
|
||||
"*://*.epe.es/*",
|
||||
"*://*.epicurious.com/*",
|
||||
"*://*.epoch.org.il/*",
|
||||
@@ -243,6 +282,7 @@
|
||||
"*://*.esprit.presse.fr/*",
|
||||
"*://*.esquire.com/*",
|
||||
"*://*.estadao.com.br/*",
|
||||
"*://*.estrepublicain.fr/*",
|
||||
"*://*.etc.se/*",
|
||||
"*://*.euobserver.com/*",
|
||||
"*://*.european-rubber-journal.com/*",
|
||||
@@ -255,7 +295,6 @@
|
||||
"*://*.farodevigo.es/*",
|
||||
"*://*.fastcompany.com/*",
|
||||
"*://*.faz.net/*",
|
||||
"*://*.fd.nl/*",
|
||||
"*://*.femmesdaujourdhui.be/*",
|
||||
"*://*.fieldandstream.com/*",
|
||||
"*://*.financialexpress.com/*",
|
||||
@@ -265,21 +304,25 @@
|
||||
"*://*.flair.be/*",
|
||||
"*://*.flair.nl/*",
|
||||
"*://*.flugrevue.de/*",
|
||||
"*://*.fmrmagazine.com/*",
|
||||
"*://*.fnlondon.com/*",
|
||||
"*://*.focusplus.de/*",
|
||||
"*://*.forbes.com.au/*",
|
||||
"*://*.forbes.com/*",
|
||||
"*://*.forbes.pl/*",
|
||||
"*://*.forbes.ua/*",
|
||||
"*://*.foreignaffairs.com/*",
|
||||
"*://*.foreignpolicy.com/*",
|
||||
"*://*.fortune.com/*",
|
||||
"*://*.foxnews.com/*",
|
||||
"*://*.fr.de/*",
|
||||
"*://*.freep.com/*",
|
||||
"*://*.freiepresse.de/*",
|
||||
"*://*.freitag.de/*",
|
||||
"*://*.fresnobee.com/*",
|
||||
"*://*.ft.com/*",
|
||||
"*://*.ftm.eu/*",
|
||||
"*://*.ftm.nl/*",
|
||||
"*://*.ga.de/*",
|
||||
"*://*.gazetadopovo.com.br/*",
|
||||
"*://*.gazzetta.it/*",
|
||||
"*://*.gbnews.com/*",
|
||||
@@ -297,26 +340,38 @@
|
||||
"*://*.granta.com/*",
|
||||
"*://*.groene.nl/*",
|
||||
"*://*.grubstreet.com/*",
|
||||
"*://*.gva.be/*",
|
||||
"*://*.haaretz.co.il/*",
|
||||
"*://*.haaretz.com/*",
|
||||
"*://*.haarlemsdagblad.nl/*",
|
||||
"*://*.handelsblatt.com/*",
|
||||
"*://*.handelszeitung.ch/*",
|
||||
"*://*.harpers.org/*",
|
||||
"*://*.harpersbazaar.com/*",
|
||||
"*://*.harzkurier.de/*",
|
||||
"*://*.haz.de/*",
|
||||
"*://*.hbr.org/*",
|
||||
"*://*.hbvl.be/*",
|
||||
"*://*.hd.se/*",
|
||||
"*://*.heise.de/*",
|
||||
"*://*.heraldsun.com.au/*",
|
||||
"*://*.hilltimes.com/*",
|
||||
"*://*.hindustantimes.com/*",
|
||||
"*://*.hindutamil.in/*",
|
||||
"*://*.historia.fr/*",
|
||||
"*://*.historyextra.com/*",
|
||||
"*://*.historytoday.com/*",
|
||||
"*://*.hln.be/*",
|
||||
"*://*.hola.com/*",
|
||||
"*://*.housebeautiful.com/*",
|
||||
"*://*.houstonchronicle.com/*",
|
||||
"*://*.hoy.es/*",
|
||||
"*://*.huffingtonpost.it/*",
|
||||
"*://*.humanite.fr/*",
|
||||
"*://*.humo.be/*",
|
||||
"*://*.hydrogeninsight.com/*",
|
||||
"*://*.iai.tv/*",
|
||||
"*://*.ideal.es/*",
|
||||
"*://*.ikz-online.de/*",
|
||||
"*://*.ilfattoquotidiano.it/*",
|
||||
"*://*.ilfoglio.it/*",
|
||||
"*://*.ilgazzettino.it/*",
|
||||
@@ -326,11 +381,9 @@
|
||||
"*://*.ilmattino.it/*",
|
||||
"*://*.ilmessaggero.it/*",
|
||||
"*://*.ilrestodelcarlino.it/*",
|
||||
"*://*.ilsecoloxix.it/*",
|
||||
"*://*.ilsole24ore.com/*",
|
||||
"*://*.iltelegrafolivorno.it/*",
|
||||
"*://*.iltirreno.it/*",
|
||||
"*://*.inc-aus.com/*",
|
||||
"*://*.inc.com/*",
|
||||
"*://*.inc42.com/*",
|
||||
"*://*.independent.co.uk/*",
|
||||
@@ -340,29 +393,28 @@
|
||||
"*://*.indiatoday.in/*",
|
||||
"*://*.indystar.com/*",
|
||||
"*://*.inews.co.uk/*",
|
||||
"*://*.infolibre.es/*",
|
||||
"*://*.informacion.es/*",
|
||||
"*://*.infzm.com/*",
|
||||
"*://*.inkl.com/*",
|
||||
"*://*.inquirer.com/*",
|
||||
"*://*.insidehighered.com/*",
|
||||
"*://*.intelligentinvestor.com.au/*",
|
||||
"*://*.interestingengineering.com/*",
|
||||
"*://*.internazionale.it/*",
|
||||
"*://*.intrafish.com/*",
|
||||
"*://*.intrafish.no/*",
|
||||
"*://*.investorschronicle.co.uk/*",
|
||||
"*://*.investsmart.com.au/*",
|
||||
"*://*.ipolitics.ca/*",
|
||||
"*://*.irishexaminer.com/*",
|
||||
"*://*.irishnews.com/*",
|
||||
"*://*.irishtimes.com/*",
|
||||
"*://*.italian.tech/*",
|
||||
"*://*.italiaoggi.it/*",
|
||||
"*://*.jacksonville.com/*",
|
||||
"*://*.jacobin.de/*",
|
||||
"*://*.janes.com/*",
|
||||
"*://*.japantimes.co.jp/*",
|
||||
"*://*.jazziz.com/*",
|
||||
"*://*.jazzwise.com/*",
|
||||
"*://*.jeuneafrique.com/*",
|
||||
"*://*.jgnt.co/*",
|
||||
"*://*.journaldemillau.fr/*",
|
||||
"*://*.journaldemontreal.com/*",
|
||||
@@ -374,27 +426,33 @@
|
||||
"*://*.jsonline.com/*",
|
||||
"*://*.kansas.com/*",
|
||||
"*://*.kansascity.com/*",
|
||||
"*://*.kathimerini.gr/*",
|
||||
"*://*.kentucky.com/*",
|
||||
"*://*.kn-online.de/*",
|
||||
"*://*.knack.be/*",
|
||||
"*://*.knoxnews.com/*",
|
||||
"*://*.kompas.id/*",
|
||||
"*://*.komputerswiat.pl/*",
|
||||
"*://*.krautreporter.de/*",
|
||||
"*://*.ksta.de/*",
|
||||
"*://*.kurier.at/*",
|
||||
"*://*.kw.be/*",
|
||||
"*://*.kystens.no/*",
|
||||
"*://*.la-croix.com/*",
|
||||
"*://*.labusinessjournal.com/*",
|
||||
"*://*.lacote.ch/*",
|
||||
"*://*.ladepeche.fr/*",
|
||||
"*://*.ladiaria.com.uy/*",
|
||||
"*://*.lagaceta.com.ar/*",
|
||||
"*://*.lalibre.be/*",
|
||||
"*://*.lalsace.fr/*",
|
||||
"*://*.lamanchelibre.fr/*",
|
||||
"*://*.lamontagne.fr/*",
|
||||
"*://*.lanacion.com.ar/*",
|
||||
"*://*.lanazione.it/*",
|
||||
"*://*.lanouvellerepublique.fr/*",
|
||||
"*://*.lanuovasardegna.it/*",
|
||||
"*://*.laprovincia.es/*",
|
||||
"*://*.lardennais.fr/*",
|
||||
"*://*.larepubliquedespyrenees.fr/*",
|
||||
"*://*.larioja.com/*",
|
||||
"*://*.lasegunda.com/*",
|
||||
@@ -402,38 +460,55 @@
|
||||
"*://*.lastampa.it/*",
|
||||
"*://*.latercera.com/*",
|
||||
"*://*.latimes.com/*",
|
||||
"*://*.latribune.fr/*",
|
||||
"*://*.lavanguardia.com/*",
|
||||
"*://*.lavenir.net/*",
|
||||
"*://*.laverdad.es/*",
|
||||
"*://*.lavoixdunord.fr/*",
|
||||
"*://*.lavoz.com.ar/*",
|
||||
"*://*.lavozdigital.es/*",
|
||||
"*://*.law.com/*",
|
||||
"*://*.lc.nl/*",
|
||||
"*://*.le1hebdo.fr/*",
|
||||
"*://*.lecanardenchaine.fr/*",
|
||||
"*://*.lecho.be/*",
|
||||
"*://*.lecourrierdesstrateges.fr/*",
|
||||
"*://*.ledauphine.com/*",
|
||||
"*://*.ledevoir.com/*",
|
||||
"*://*.lefigaro.fr/*",
|
||||
"*://*.legrandcontinent.eu/*",
|
||||
"*://*.lehighvalleylive.com/*",
|
||||
"*://*.leidschdagblad.nl/*",
|
||||
"*://*.lejdd.fr/*",
|
||||
"*://*.lejsl.com/*",
|
||||
"*://*.lemagit.fr/*",
|
||||
"*://*.lemessager.fr/*",
|
||||
"*://*.lemonde.fr/*",
|
||||
"*://*.lemoniteur.fr/*",
|
||||
"*://*.lenouveleconomiste.fr/*",
|
||||
"*://*.lenouvelliste.ch/*",
|
||||
"*://*.leparisien.fr/*",
|
||||
"*://*.lepoint.fr/*",
|
||||
"*://*.leprogres.fr/*",
|
||||
"*://*.lequipe.fr/*",
|
||||
"*://*.lequotidiendumedecin.fr/*",
|
||||
"*://*.lequotidiendupharmacien.fr/*",
|
||||
"*://*.lerevenu.com/*",
|
||||
"*://*.lescienze.it/*",
|
||||
"*://*.lesechos.fr/*",
|
||||
"*://*.lesinrocks.com/*",
|
||||
"*://*.lesoir.be/*",
|
||||
"*://*.lesoleil.com/*",
|
||||
"*://*.lest-eclair.fr/*",
|
||||
"*://*.letelegramme.fr/*",
|
||||
"*://*.letemps.ch/*",
|
||||
"*://*.levante-emv.com/*",
|
||||
"*://*.levif.be/*",
|
||||
"*://*.lexpress.fr/*",
|
||||
"*://*.libelle.be/*",
|
||||
"*://*.libelle.nl/*",
|
||||
"*://*.liberation-champagne.fr/*",
|
||||
"*://*.liberation.fr/*",
|
||||
"*://*.limburger.nl/*",
|
||||
"*://*.linda.nl/*",
|
||||
"*://*.lindependant.fr/*",
|
||||
"*://*.linforme.com/*",
|
||||
"*://*.literaryreview.co.uk/*",
|
||||
@@ -446,13 +521,16 @@
|
||||
"*://*.lopinion.fr/*",
|
||||
"*://*.losandes.com.ar/*",
|
||||
"*://*.lrb.co.uk/*",
|
||||
"*://*.luzernerzeitung.ch/*",
|
||||
"*://*.lunion.fr/*",
|
||||
"*://*.lvz.de/*",
|
||||
"*://*.macrobusiness.com.au/*",
|
||||
"*://*.madison.com/*",
|
||||
"*://*.magazyn-kuchnia.pl/*",
|
||||
"*://*.mailonsunday.co.uk/*",
|
||||
"*://*.mainichi.jp/*",
|
||||
"*://*.mallorcazeitung.es/*",
|
||||
"*://*.mannheimer-morgen.de/*",
|
||||
"*://*.manager-magazin.de/*",
|
||||
"*://*.manoramaonline.com/*",
|
||||
"*://*.marca.com/*",
|
||||
"*://*.margriet.nl/*",
|
||||
"*://*.marianne.net/*",
|
||||
@@ -465,11 +543,16 @@
|
||||
"*://*.medscape.com/*",
|
||||
"*://*.menshealth.com/*",
|
||||
"*://*.mercurynews.com/*",
|
||||
"*://*.merkur.de/*",
|
||||
"*://*.mexiconewsdaily.com/*",
|
||||
"*://*.miamiherald.com/*",
|
||||
"*://*.mid-day.com/*",
|
||||
"*://*.midilibre.fr/*",
|
||||
"*://*.milanofinanza.it/*",
|
||||
"*://*.milenio.com/*",
|
||||
"*://*.mittelbayerische.de/*",
|
||||
"*://*.mlive.com/*",
|
||||
"*://*.mnimarkets.com/*",
|
||||
"*://*.moda.it/*",
|
||||
"*://*.modernhealthcare.com/*",
|
||||
"*://*.modernretail.co/*",
|
||||
@@ -477,17 +560,20 @@
|
||||
"*://*.monocle.com/*",
|
||||
"*://*.morgenpost.de/*",
|
||||
"*://*.motorradonline.de/*",
|
||||
"*://*.motorsportmagazine.com/*",
|
||||
"*://*.moustique.be/*",
|
||||
"*://*.mundodeportivo.com/*",
|
||||
"*://*.mv-voice.com/*",
|
||||
"*://*.mz.de/*",
|
||||
"*://*.nation.africa/*",
|
||||
"*://*.nationalgeographic.com/*",
|
||||
"*://*.nationalpost.com/*",
|
||||
"*://*.nationalreview.com/*",
|
||||
"*://*.nature.com/*",
|
||||
"*://*.nautil.us/*",
|
||||
"*://*.ndtvprofit.com/*",
|
||||
"*://*.neuepresse.de/*",
|
||||
"*://*.newcastleherald.com.au/*",
|
||||
"*://*.newleftreview.org/*",
|
||||
"*://*.newcriterion.com/*",
|
||||
"*://*.newrepublic.com/*",
|
||||
"*://*.news-press.com/*",
|
||||
"*://*.newscientist.com/*",
|
||||
@@ -505,14 +591,16 @@
|
||||
"*://*.nikkei.com/*",
|
||||
"*://*.nj.com/*",
|
||||
"*://*.nola.com/*",
|
||||
"*://*.noordhollandsdagblad.nl/*",
|
||||
"*://*.nordlittoral.fr/*",
|
||||
"*://*.northerndailyleader.com.au/*",
|
||||
"*://*.northjersey.com/*",
|
||||
"*://*.nouvelobs.com/*",
|
||||
"*://*.noz.de/*",
|
||||
"*://*.nrc.nl/*",
|
||||
"*://*.nrpyrenees.fr/*",
|
||||
"*://*.nrz.de/*",
|
||||
"*://*.ntnews.com.au/*",
|
||||
"*://*.nsctotal.com.br/*",
|
||||
"*://*.nv.ua/*",
|
||||
"*://*.nw.de/*",
|
||||
"*://*.nwitimes.com/*",
|
||||
"*://*.nwzonline.de/*",
|
||||
@@ -526,9 +614,11 @@
|
||||
"*://*.nzherald.co.nz/*",
|
||||
"*://*.nzz.ch/*",
|
||||
"*://*.observador.pt/*",
|
||||
"*://*.observer.co.uk/*",
|
||||
"*://*.ocbj.com/*",
|
||||
"*://*.ocregister.com/*",
|
||||
"*://*.oklahoman.com/*",
|
||||
"*://*.ole.com.ar/*",
|
||||
"*://*.omaha.com/*",
|
||||
"*://*.onet.pl/*",
|
||||
"*://*.oprahdaily.com/*",
|
||||
@@ -536,27 +626,37 @@
|
||||
"*://*.orlandosentinel.com/*",
|
||||
"*://*.ostsee-zeitung.de/*",
|
||||
"*://*.otz.de/*",
|
||||
"*://*.ouest-france.fr/*",
|
||||
"*://*.outdoorlife.com/*",
|
||||
"*://*.outlookbusiness.com/*",
|
||||
"*://*.outlookindia.com/*",
|
||||
"*://*.outsideonline.com/*",
|
||||
"*://*.ovb-online.de/*",
|
||||
"*://*.oxygenmag.com/*",
|
||||
"*://*.palmbeachpost.com/*",
|
||||
"*://*.paloaltoonline.com/*",
|
||||
"*://*.paris-normandie.fr/*",
|
||||
"*://*.parismatch.com/*",
|
||||
"*://*.parkiet.com/*",
|
||||
"*://*.parool.nl/*",
|
||||
"*://*.penews.com/*",
|
||||
"*://*.pastemagazine.com/*",
|
||||
"*://*.pb.pl/*",
|
||||
"*://*.pennlive.com/*",
|
||||
"*://*.petitbleu.fr/*",
|
||||
"*://*.philanthropy.com/*",
|
||||
"*://*.philomag.com/*",
|
||||
"*://*.philomag.de/*",
|
||||
"*://*.philonomist.com/*",
|
||||
"*://*.philosophynow.org/*",
|
||||
"*://*.pilotonline.com/*",
|
||||
"*://*.pionline.com/*",
|
||||
"*://*.piqd.de/*",
|
||||
"*://*.piratewires.com/*",
|
||||
"*://*.plasticsnews.com/*",
|
||||
"*://*.pnp.de/*",
|
||||
"*://*.politicaexterior.com/*",
|
||||
"*://*.politico.com/*",
|
||||
"*://*.politis.fr/*",
|
||||
"*://*.polityka.pl/*",
|
||||
"*://*.popsci.com/*",
|
||||
"*://*.popularmechanics.com/*",
|
||||
@@ -571,62 +671,72 @@
|
||||
"*://*.project-syndicate.org/*",
|
||||
"*://*.prospectmagazine.co.uk/*",
|
||||
"*://*.public.fr/*",
|
||||
"*://*.publico.es/*",
|
||||
"*://*.puck.news/*",
|
||||
"*://*.pzc.nl/*",
|
||||
"*://*.quora.com/*",
|
||||
"*://*.quotidiano.net/*",
|
||||
"*://*.quotidianodipuglia.it/*",
|
||||
"*://*.qz.com/*",
|
||||
"*://*.rechargenews.com/*",
|
||||
"*://*.record.pt/*",
|
||||
"*://*.reforme.net/*",
|
||||
"*://*.repubblica.it/*",
|
||||
"*://*.republicain-lorrain.fr/*",
|
||||
"*://*.reuters.com/*",
|
||||
"*://*.reviewjournal.com/*",
|
||||
"*://*.revistaoeste.com/*",
|
||||
"*://*.revue21.fr/*",
|
||||
"*://*.revueconflits.com/*",
|
||||
"*://*.rhein-zeitung.de/*",
|
||||
"*://*.rheinpfalz.de/*",
|
||||
"*://*.richmond.com/*",
|
||||
"*://*.rnd.de/*",
|
||||
"*://*.roadandtrack.com/*",
|
||||
"*://*.rollingstone.com/*",
|
||||
"*://*.rp-online.de/*",
|
||||
"*://*.rp.pl/*",
|
||||
"*://*.rubbernews.com/*",
|
||||
"*://*.rugbypass.com/*",
|
||||
"*://*.rugbyrama.fr/*",
|
||||
"*://*.ruhrnachrichten.de/*",
|
||||
"*://*.rundschau-online.de/*",
|
||||
"*://*.runnersworld.com/*",
|
||||
"*://*.saarbruecker-zeitung.de/*",
|
||||
"*://*.sabado.pt/*",
|
||||
"*://*.sacbee.com/*",
|
||||
"*://*.saltwire.com/*",
|
||||
"*://*.saechsische.de/*",
|
||||
"*://*.sandiegouniontribune.com/*",
|
||||
"*://*.schwaebische.de/*",
|
||||
"*://*.scholastic.com/*",
|
||||
"*://*.schwarzwaelder-bote.de/*",
|
||||
"*://*.schweizermonat.ch/*",
|
||||
"*://*.science-et-vie.com/*",
|
||||
"*://*.science.org/*",
|
||||
"*://*.sciencenews.org/*",
|
||||
"*://*.sciencesetavenir.fr/*",
|
||||
"*://*.scientificamerican.com/*",
|
||||
"*://*.scmp.com/*",
|
||||
"*://*.scotsman.com/*",
|
||||
"*://*.sdbj.com/*",
|
||||
"*://*.seattletimes.com/*",
|
||||
"*://*.seekingalpha.com/*",
|
||||
"*://*.semana.com/*",
|
||||
"*://*.sfchronicle.com/*",
|
||||
"*://*.sfstandard.com/*",
|
||||
"*://*.sfvbj.com/*",
|
||||
"*://*.shreveportbossieradvocate.com/*",
|
||||
"*://*.shz.de/*",
|
||||
"*://*.si.com/*",
|
||||
"*://*.silive.com/*",
|
||||
"*://*.skimag.com/*",
|
||||
"*://*.sky.it/*",
|
||||
"*://*.slate.com/*",
|
||||
"*://*.slideshare.net/*",
|
||||
"*://*.sloanreview.mit.edu/*",
|
||||
"*://*.sltrib.com/*",
|
||||
"*://*.smartcompany.com.au/*",
|
||||
"*://*.smh.com.au/*",
|
||||
"*://*.sn.at/*",
|
||||
"*://*.sofrep.com/*",
|
||||
"*://*.sourcingjournal.com/*",
|
||||
"*://*.spectator.co.uk/*",
|
||||
"*://*.spacenews.com/*",
|
||||
"*://*.spectator.com.au/*",
|
||||
"*://*.spectator.com/*",
|
||||
"*://*.spektrum.de/*",
|
||||
"*://*.spglobal.com/*",
|
||||
"*://*.spiegel.de/*",
|
||||
@@ -635,34 +745,39 @@
|
||||
"*://*.standaard.be/*",
|
||||
"*://*.standard.co.uk/*",
|
||||
"*://*.standard.net.au/*",
|
||||
"*://*.standardmedia.co.ke/*",
|
||||
"*://*.star-telegram.com/*",
|
||||
"*://*.staradvertiser.com/*",
|
||||
"*://*.startribune.com/*",
|
||||
"*://*.statesman.com/*",
|
||||
"*://*.statista.com/*",
|
||||
"*://*.statnews.com/*",
|
||||
"*://*.stcatharinesstandard.ca/*",
|
||||
"*://*.stereogum.com/*",
|
||||
"*://*.stern.de/*",
|
||||
"*://*.stltoday.com/*",
|
||||
"*://*.stocknews.com/*",
|
||||
"*://*.straitstimes.com/*",
|
||||
"*://*.stratfor.com/*",
|
||||
"*://*.studocu.com/*",
|
||||
"*://*.study.com/*",
|
||||
"*://*.stuttgarter-nachrichten.de/*",
|
||||
"*://*.stuttgarter-zeitung.de/*",
|
||||
"*://*.stylist.co.uk/*",
|
||||
"*://*.sudinfo.be/*",
|
||||
"*://*.sudouest.fr/*",
|
||||
"*://*.sueddeutsche.de/*",
|
||||
"*://*.suedkurier.de/*",
|
||||
"*://*.sun-sentinel.com/*",
|
||||
"*://*.suomensotilas.fi/*",
|
||||
"*://*.superdeporte.es/*",
|
||||
"*://*.sustainableplastics.com/*",
|
||||
"*://*.svz.de/*",
|
||||
"*://*.swarajyamag.com/*",
|
||||
"*://*.sydsvenskan.se/*",
|
||||
"*://*.syracuse.com/*",
|
||||
"*://*.tagblatt.ch/*",
|
||||
"*://*.t3n.de/*",
|
||||
"*://*.tagesanzeiger.ch/*",
|
||||
"*://*.tagesspiegel.de/*",
|
||||
"*://*.tampabay.com/*",
|
||||
"*://*.tdg.ch/*",
|
||||
"*://*.techinasia.com/*",
|
||||
"*://*.technologyreview.com/*",
|
||||
"*://*.techtarget.com/*",
|
||||
@@ -673,17 +788,21 @@
|
||||
"*://*.tes.com/*",
|
||||
"*://*.texasmonthly.com/*",
|
||||
"*://*.the-american-interest.com/*",
|
||||
"*://*.the-independent.com/*",
|
||||
"*://*.the-scientist.com/*",
|
||||
"*://*.the-tls.co.uk/*",
|
||||
"*://*.the-star.co.ke/*",
|
||||
"*://*.the-tls.com/*",
|
||||
"*://*.theadvocate.com.au/*",
|
||||
"*://*.theadvocate.com/*",
|
||||
"*://*.theage.com.au/*",
|
||||
"*://*.theamericanconservative.com/*",
|
||||
"*://*.theamericanscholar.org/*",
|
||||
"*://*.theartnewspaper.com/*",
|
||||
"*://*.theathletic.com/*",
|
||||
"*://*.theatlantic.com/*",
|
||||
"*://*.theaustralian.com.au/*",
|
||||
"*://*.thebaffler.com/*",
|
||||
"*://*.thebaltimorebanner.com/*",
|
||||
"*://*.theblaze.com/*",
|
||||
"*://*.thebookseller.com/*",
|
||||
"*://*.thebulletin.org/*",
|
||||
"*://*.thechronicle.com.au/*",
|
||||
@@ -692,47 +811,53 @@
|
||||
"*://*.thecut.com/*",
|
||||
"*://*.thedailybeast.com/*",
|
||||
"*://*.thediplomat.com/*",
|
||||
"*://*.thedispatch.com/*",
|
||||
"*://*.theepochtimes.com/*",
|
||||
"*://*.theglobeandmail.com/*",
|
||||
"*://*.thehill.com/*",
|
||||
"*://*.thehindu.com/*",
|
||||
"*://*.thehindubusinessline.com/*",
|
||||
"*://*.theimpression.com/*",
|
||||
"*://*.theinformation.com/*",
|
||||
"*://*.theintercept.com/*",
|
||||
"*://*.thejuggernaut.com/*",
|
||||
"*://*.thelampmagazine.com/*",
|
||||
"*://*.thelawyersdaily.ca/*",
|
||||
"*://*.thelawyer.com/*",
|
||||
"*://*.theleaflet.in/*",
|
||||
"*://*.thelogic.co/*",
|
||||
"*://*.themandarin.com.au/*",
|
||||
"*://*.themarker.com/*",
|
||||
"*://*.themarket.ch/*",
|
||||
"*://*.themercury.com.au/*",
|
||||
"*://*.thenation.com/*",
|
||||
"*://*.thenewatlantis.com/*",
|
||||
"*://*.theneweuropean.co.uk/*",
|
||||
"*://*.thenewslens.com/*",
|
||||
"*://*.thenewsminute.com/*",
|
||||
"*://*.thenewworld.co.uk/*",
|
||||
"*://*.thepeterboroughexaminer.com/*",
|
||||
"*://*.thepointmag.com/*",
|
||||
"*://*.theprovince.com/*",
|
||||
"*://*.thequint.com/*",
|
||||
"*://*.therecord.com/*",
|
||||
"*://*.thesaturdaypaper.com.au/*",
|
||||
"*://*.thescottishsun.co.uk/*",
|
||||
"*://*.thespec.com/*",
|
||||
"*://*.thespectator.com/*",
|
||||
"*://*.thestage.co.uk/*",
|
||||
"*://*.thestar.com/*",
|
||||
"*://*.thestate.com/*",
|
||||
"*://*.thetimes.co.uk/*",
|
||||
"*://*.thesun.co.uk/*",
|
||||
"*://*.thetimes.com/*",
|
||||
"*://*.theverge.com/*",
|
||||
"*://*.theweek.com/*",
|
||||
"*://*.thewest.com.au/*",
|
||||
"*://*.thewrap.com/*",
|
||||
"*://*.thisismoney.co.uk/*",
|
||||
"*://*.thueringer-allgemeine.de/*",
|
||||
"*://*.tijd.be/*",
|
||||
"*://*.timeshighereducation.com/*",
|
||||
"*://*.timesofindia.com/*",
|
||||
"*://*.timesunion.com/*",
|
||||
"*://*.tirebusiness.com/*",
|
||||
"*://*.tlz.de/*",
|
||||
"*://*.tokyo-np.co.jp/*",
|
||||
"*://*.topagrar.com/*",
|
||||
"*://*.torontosun.com/*",
|
||||
"*://*.towardsdatascience.com/*",
|
||||
@@ -743,11 +868,11 @@
|
||||
"*://*.tri-cityherald.com/*",
|
||||
"*://*.triathlete.com/*",
|
||||
"*://*.trouw.nl/*",
|
||||
"*://*.tt.com/*",
|
||||
"*://*.tubantia.nl/*",
|
||||
"*://*.tucson.com/*",
|
||||
"*://*.tulsaworld.com/*",
|
||||
"*://*.tuttosport.com/*",
|
||||
"*://*.tvn24.pl/*",
|
||||
"*://*.twincities.com/*",
|
||||
"*://*.unherd.com/*",
|
||||
"*://*.uol.com.br/*",
|
||||
@@ -761,6 +886,7 @@
|
||||
"*://*.variety.com/*",
|
||||
"*://*.varmatin.com/*",
|
||||
"*://*.vegetariantimes.com/*",
|
||||
"*://*.vice.com/*",
|
||||
"*://*.vikatan.com/*",
|
||||
"*://*.vn.at/*",
|
||||
"*://*.vn.nl/*",
|
||||
@@ -768,13 +894,17 @@
|
||||
"*://*.vogue.com/*",
|
||||
"*://*.voguebusiness.com/*",
|
||||
"*://*.vol.at/*",
|
||||
"*://*.volksfreund.de/*",
|
||||
"*://*.volkskrant.nl/*",
|
||||
"*://*.volksstimme.de/*",
|
||||
"*://*.vosgesmatin.fr/*",
|
||||
"*://*.vox.com/*",
|
||||
"*://*.vulture.com/*",
|
||||
"*://*.warontherocks.com/*",
|
||||
"*://*.washingtonexaminer.com/*",
|
||||
"*://*.washingtonpost.com/*",
|
||||
"*://*.watoday.com.au/*",
|
||||
"*://*.waz.de/*",
|
||||
"*://*.weekendavisen.dk/*",
|
||||
"*://*.weeklytimesnow.com.au/*",
|
||||
"*://*.wellandtribune.ca/*",
|
||||
"*://*.welt.de/*",
|
||||
@@ -794,11 +924,13 @@
|
||||
"*://*.wr.de/*",
|
||||
"*://*.wsj.com/*",
|
||||
"*://*.wwd.com/*",
|
||||
"*://*.wyborcza.biz/*",
|
||||
"*://*.wyborcza.pl/*",
|
||||
"*://*.wysokieobcasy.pl/*",
|
||||
"*://*.ynet.co.il/*",
|
||||
"*://*.yogajournal.com/*",
|
||||
"*://*.yorkshirepost.co.uk/*",
|
||||
"*://*.zeit.de/*",
|
||||
"*://*.zerohedge.com/*",
|
||||
"*://*.amplitude.com/*",
|
||||
"*://*.ampproject.org/*",
|
||||
"*://*.axate.io/*",
|
||||
@@ -807,9 +939,8 @@
|
||||
"*://*.ensighten.com/*",
|
||||
"*://*.evolok.net/*",
|
||||
"*://*.fewcents.co/*",
|
||||
"*://*.ippen.space/*",
|
||||
"*://*.loader-cdn.azureedge.net/*",
|
||||
"*://*.matheranalytics.com/*",
|
||||
"*://*.memberstack.com/*",
|
||||
"*://*.newsmemory.com/*",
|
||||
"*://*.omeda.com/*",
|
||||
"*://*.onecount.net/*",
|
||||
@@ -821,40 +952,42 @@
|
||||
"*://*.sophi.io/*",
|
||||
"*://*.steadyhq.com/*",
|
||||
"*://*.tinypass.com/*",
|
||||
"*://*.weborama.fr/*",
|
||||
"*://*.wallkit.net/*",
|
||||
"*://*.zephr.com/*",
|
||||
"*://*.amazonaws.com/*",
|
||||
"*://*.bitbucket.org/*",
|
||||
"*://*.adobedtm.com/*",
|
||||
"*://*.blink.net/*",
|
||||
"*://*.bwbx.io/*",
|
||||
"*://*.californiatimes.com/*",
|
||||
"*://*.cedscdn.it/*",
|
||||
"*://*.cedsdigital.it/*",
|
||||
"*://*.cloudfront.net/*",
|
||||
"*://*.corriereobjects.it/*",
|
||||
"*://*.danzz.ch/*",
|
||||
"*://*.emol.cl/*",
|
||||
"*://*.epochbase.com/*",
|
||||
"*://*.epochbase.eu/*",
|
||||
"*://*.flip-pay.com/*",
|
||||
"*://*.ftspecialist-us.com/*",
|
||||
"*://*.gjirafa.tech/*",
|
||||
"*://*.glanacion.com/*",
|
||||
"*://*.go.com/*",
|
||||
"*://*.hadrianpaywall.com/*",
|
||||
"*://*.kinja-static.com/*",
|
||||
"*://*.masthead.me/*",
|
||||
"*://*.medscapestatic.com/*",
|
||||
"*://*.mcclatchy.com/*",
|
||||
"*://*.ndcmediagroep.nl/*",
|
||||
"*://*.nhst.tech/*",
|
||||
"*://*.nyt.com/*",
|
||||
"*://*.pasedigital.cl/*",
|
||||
"*://*.wbmdstatic.com/*",
|
||||
"*://*.prisa.com/*",
|
||||
"*://*.townnews.com/*",
|
||||
"*://*.wgchrrammzv.com/*",
|
||||
"*://*.wyleex.com/*",
|
||||
"*://archive.fo/*",
|
||||
"*://archive.is/*",
|
||||
"*://archive.li/*",
|
||||
"*://archive.md/*",
|
||||
"*://archive.ph/*",
|
||||
"*://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"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
|
||||
try {
|
||||
window.localStorage.clear();
|
||||
sessionStorage.clear();
|
||||
window.localStorage.clear();
|
||||
window.sessionStorage.clear();
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<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="opt-in.css"/>
|
||||
<script src="opt-in.js"></script>
|
||||
@@ -12,7 +12,38 @@
|
||||
|
||||
<body>
|
||||
<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 id="opt-in-prompt">
|
||||
@@ -23,34 +54,6 @@
|
||||
<div id="optin-container">
|
||||
<button id="optin-enable">Enable</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>
|
||||
<p>
|
||||
<div style='float:left;padding-bottom:50px'>
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
|
||||
var manifestData = ext_api.runtime.getManifest();
|
||||
var ext_manifest_version = manifestData.manifest_version;
|
||||
var navigator_ua = navigator.userAgent;
|
||||
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)) && !(navigator_ua_mobile && (url_loc === 'chrome') && !yandex_browser);
|
||||
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));
|
||||
|
||||
window.addEventListener("load", function () {
|
||||
document.getElementById("button-close").addEventListener("click", function () {
|
||||
ext_api.storage.local.set({
|
||||
"optInShown": true,
|
||||
"customShown": true
|
||||
"customShown": true,
|
||||
"fetchShown": true
|
||||
});
|
||||
window.close();
|
||||
});
|
||||
@@ -19,6 +21,7 @@ window.addEventListener("load", function () {
|
||||
ext_api.storage.local.get("optIn", function (result) {
|
||||
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 () {
|
||||
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) {
|
||||
|
||||
document.querySelector('#custom-enable').addEventListener('click', function (event) {
|
||||
@@ -58,6 +68,8 @@ window.addEventListener("load", function () {
|
||||
ext_api.storage.local.set({
|
||||
"customOptIn": true
|
||||
});
|
||||
if (ext_manifest_version === 3)
|
||||
mv3_remove_perm_msg.innerText = '';
|
||||
} else {
|
||||
custom_enabled.innerText = 'NO';
|
||||
}
|
||||
@@ -69,13 +81,17 @@ window.addEventListener("load", function () {
|
||||
|
||||
document.querySelector('#custom-disable').addEventListener('click', function (event) {
|
||||
ext_api.permissions.remove({
|
||||
origins: ["*://*/*", "<all_urls>"]
|
||||
origins: ["*://*/*"]
|
||||
}, function (removed) {
|
||||
if (removed) {
|
||||
custom_enabled.innerText = 'NO';
|
||||
ext_api.storage.local.set({
|
||||
"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({
|
||||
"customShown": true
|
||||
@@ -104,22 +120,33 @@ window.addEventListener("load", function () {
|
||||
update_enabled.innerText = 'NO';
|
||||
});
|
||||
|
||||
var counter_enabled = document.getElementById('counter-enabled');
|
||||
ext_api.storage.local.get({counter: true}, function (result) {
|
||||
counter_enabled.innerText = result.counter ? 'YES' : 'NO';
|
||||
if (typeof browser === 'object') { // fetch consent (Firefox only)
|
||||
|
||||
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({
|
||||
"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({
|
||||
"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';
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<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%;">
|
||||
<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).
|
||||
@@ -27,6 +28,7 @@
|
||||
</div>
|
||||
<div style="clear:both;"></div>
|
||||
<strong style="color:red;"><div id="perm-custom"></div></strong>
|
||||
<strong style="color:red;"><div id="nofix"></div></strong>
|
||||
<div style="clear:both;"></div>
|
||||
<br>
|
||||
<div id="status_top"></div>
|
||||
|
||||
@@ -56,6 +56,7 @@ function renderOptions() {
|
||||
perm_custom.innerText = '';
|
||||
} else {
|
||||
perm_custom.textContent = ">> check host (domain) permissions for custom/updated sites";
|
||||
perm_custom.style.margin = '10px';
|
||||
}
|
||||
});
|
||||
|
||||
@@ -69,18 +70,24 @@ function renderOptions() {
|
||||
},
|
||||
"default": {
|
||||
sites: defaultSites,
|
||||
title: '* Default settings',
|
||||
default_sites: true
|
||||
},
|
||||
"custom": {
|
||||
sites: sites_custom,
|
||||
title: '* Custom (new) sites',
|
||||
default_sites: false
|
||||
}
|
||||
};
|
||||
for (let site_type in site_types) {
|
||||
labelEl = document.createElement('label');
|
||||
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));
|
||||
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);
|
||||
let sites_arr = site_types[site_type].sites;
|
||||
for (let key in sites_arr) {
|
||||
@@ -152,6 +159,12 @@ function handleSearch() {
|
||||
else
|
||||
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');
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<h2>Custom Sites</h2>
|
||||
<div id="custom-update"></div>
|
||||
<div style="width:90%;">
|
||||
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>
|
||||
@@ -58,8 +59,9 @@
|
||||
<button id="sort">Sort</button>
|
||||
<button id="export">Export</button>
|
||||
<button id="import">Import file</button>
|
||||
<button id="import_local">Import from local</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>
|
||||
</span>
|
||||
|
||||
|
||||
@@ -3,13 +3,12 @@ var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
|
||||
var manifestData = ext_api.runtime.getManifest();
|
||||
var navigator_ua = navigator.userAgent;
|
||||
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)) && !(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));
|
||||
|
||||
var useragent_options = ['', 'googlebot', 'bingbot', 'facebookbot'];
|
||||
var referer_options = ['', 'facebook', 'google', 'twitter'];
|
||||
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) {
|
||||
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 = 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({
|
||||
sites_custom: sortJson(sites_custom)
|
||||
@@ -120,9 +119,15 @@ function import_json(result) {
|
||||
});
|
||||
}
|
||||
|
||||
// Import custom sites from online
|
||||
function import_online_options(e) {
|
||||
let url = 'https://bitbucket.org/bpc-updates/bpc_updates/downloads/sites_custom.json';
|
||||
function randomInt(max) {
|
||||
return Math.floor(Math.random() * Math.floor(max));
|
||||
}
|
||||
|
||||
// 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 {
|
||||
fetch(url)
|
||||
.then(response => {
|
||||
@@ -272,13 +277,14 @@ function edit_options() {
|
||||
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="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('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('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_ext"]').checked = (edit_site.block_js_ext > 0 || edit_site.block_javascript_ext > 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);
|
||||
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_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="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_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_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('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 || '';
|
||||
@@ -327,7 +333,8 @@ var perm_origins;
|
||||
function renderOptions() {
|
||||
ext_api.storage.local.get({
|
||||
sites_custom: {},
|
||||
sites_updated: {}
|
||||
sites_updated: {},
|
||||
sites_custom_upd_version: ''
|
||||
}, function (items) {
|
||||
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();
|
||||
@@ -357,6 +364,7 @@ function renderOptions() {
|
||||
'group': 0,
|
||||
'allow_cookies': 1,
|
||||
'remove_cookies': 1,
|
||||
'cs_clear_lclstrg (clear localStorage)': 1,
|
||||
'useragent': 0,
|
||||
'useragent_custom': 0,
|
||||
'referer': 0,
|
||||
@@ -372,9 +380,9 @@ function renderOptions() {
|
||||
'amp_redirect': 0,
|
||||
'ld_json': 0,
|
||||
'ld_json_next': 0,
|
||||
'ld_json_source': 0,
|
||||
'ld_json_url': 0,
|
||||
'ld_archive_is': 0,
|
||||
'ld_google_webcache': 0,
|
||||
'add_ext_link': 0,
|
||||
'add_ext_link_type': 0,
|
||||
'cs_code': 0,
|
||||
@@ -402,11 +410,11 @@ function renderOptions() {
|
||||
} else {
|
||||
if (!['cs_code', 'group', 'referer_custom', 'useragent_custom'].includes(key)) {
|
||||
inputEl = document.createElement('input');
|
||||
inputEl.size = 25;
|
||||
inputEl.size = 35;
|
||||
} else {
|
||||
inputEl = document.createElement('textarea');
|
||||
inputEl.rows = 5;
|
||||
inputEl.cols = 25;
|
||||
inputEl.cols = 35;
|
||||
}
|
||||
let placeholders = {
|
||||
title: 'Example',
|
||||
@@ -415,12 +423,12 @@ function renderOptions() {
|
||||
block_js_inline: '\\.example\\.com\\/article\\/',
|
||||
block_regex: '\\.example\\.com\\/js\\/',
|
||||
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_next: 'div.paywall|div.article',
|
||||
ld_json_source: 'div.paywall|div.article|filter|json_key',
|
||||
ld_json_url: 'div.paywall|div.article',
|
||||
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',
|
||||
cs_code: 'for dev: check imported examples',
|
||||
};
|
||||
@@ -452,28 +460,32 @@ function renderOptions() {
|
||||
|
||||
let isDefaultSite = defaultSites_domains.includes(domain);
|
||||
optionEl.text = isDefaultSite ? '*' : '';
|
||||
optionEl.text += key + ': ' + domain +
|
||||
optionEl.text += key;
|
||||
if (!navigator_ua_mobile) {
|
||||
optionEl.text += ': ' + domain +
|
||||
(sites_custom[key]['allow_cookies'] > 0 ? ' | allow_cookies' : '') +
|
||||
(sites_custom[key]['remove_cookies'] > 0 ? ' | remove_cookies' : '') +
|
||||
(sites_custom[key]['cs_clear_lclstrg'] > 0 ? ' | cs_clear_lclstrg' : '') +
|
||||
(sites_custom[key]['useragent'] ? ' | useragent: ' + sites_custom[key]['useragent'] : '') +
|
||||
(sites_custom[key]['useragent_custom'] ? ' | useragent_custom' : '') +
|
||||
(sites_custom[key]['googlebot'] > 0 ? ' | googlebot' : '') +
|
||||
(sites_custom[key]['referer'] ? ' | referer: ' + sites_custom[key]['referer'] : '') +
|
||||
(sites_custom[key]['referer_custom'] ? ' | referer_custom' : '') +
|
||||
(sites_custom[key]['random_ip'] ? ' | random_ip: ' + sites_custom[key]['random_ip'] : '') +
|
||||
((sites_custom[key]['block_js'] > 0 || sites_custom[key]['block_javascript'] > 0) ? ' | block_js' : '') +
|
||||
((sites_custom[key]['block_js_ext'] > 0 || sites_custom[key]['block_javascript_ext'] > 0) ? ' | block_js_ext' : '') +
|
||||
((sites_custom[key]['block_js'] > 0) ? ' | block_js' : '') +
|
||||
((sites_custom[key]['block_js_ext'] > 0) ? ' | block_js_ext' : '') +
|
||||
(sites_custom[key]['block_js_inline'] ? ' | block_js_inline' : '') +
|
||||
(sites_custom[key]['block_regex'] ? ' | block_regex' : '') +
|
||||
(sites_custom[key]['amp_unhide'] > 0 ? ' | amp_unhide' : '') +
|
||||
(sites_custom[key]['amp_redirect'] ? ' | amp_redirect' : '') +
|
||||
(sites_custom[key]['ld_json'] ? ' | ld_json' : '') +
|
||||
(sites_custom[key]['ld_json_next'] ? ' | ld_json_next' : '') +
|
||||
(sites_custom[key]['ld_json_source'] ? ' | ld_json_source' : '') +
|
||||
(sites_custom[key]['ld_json_url'] ? ' | ld_json_url' : '') +
|
||||
(sites_custom[key]['ld_archive_is'] ? ' | ld_archive_is' : '') +
|
||||
(sites_custom[key]['ld_google_webcache'] ? ' | ld_google_webcache' : '') +
|
||||
(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;
|
||||
selectEl.add(optionEl);
|
||||
}
|
||||
@@ -498,6 +510,19 @@ function renderOptions() {
|
||||
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');
|
||||
@@ -542,7 +567,8 @@ document.getElementById('sort').addEventListener('click', sort_options);
|
||||
document.getElementById('export').addEventListener('click', export_options);
|
||||
document.getElementById('import').onclick = function () {importInput.click()}
|
||||
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('delete').addEventListener('click', delete_options);
|
||||
document.getElementById('delete_default').addEventListener('click', delete_default_options);
|
||||
|
||||
@@ -6,25 +6,22 @@
|
||||
<link rel="stylesheet" href="options_all.css"/>
|
||||
<link rel="stylesheet" href="popup_switch.css"/>
|
||||
<style>
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
div {
|
||||
margin: 10px;
|
||||
}
|
||||
body {text-align: center;}
|
||||
div {margin: 10px;}
|
||||
</style>
|
||||
</head>
|
||||
<body style="width:290px">
|
||||
<div><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span"> </span></div>
|
||||
<div><a href="options.html" target="_blank">Options</a> |
|
||||
<a href="options_custom.html" target="_blank">Custom</a> |
|
||||
<a href="/README.html" target="_blank">Help</a> |
|
||||
<a href="https://twitter.com/Magnolia1234B" target="_blank">X (Twitter)</a></div>
|
||||
<div><a href="/changelog.txt" target="_blank">Changelog</a> |
|
||||
<button id="clear_cookies" title="clear cookies (and local storage) for current site">clear cookies<br>(& permission)</button> |
|
||||
<body style="width:300px">
|
||||
<div><strong>Bypass Paywalls Clean <span id="version"></span></strong><span id="site_switch_span"> </span></div>
|
||||
<div><a href="options.html" target="_blank">Options</a>
|
||||
<a href="options_custom.html" target="_blank">Custom</a>
|
||||
<a href="/README.html" target="_blank">Help</a>
|
||||
<a href="https://x.com/Magnolia1234B" target="_blank">X</a>
|
||||
<a href="https://xcancel.com/Magnolia1234B" target="_blank">Nitter</a></div>
|
||||
<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>
|
||||
<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>
|
||||
<script id="popup" src="version.js"></script>
|
||||
<script src="popup.js"></script>
|
||||
|
||||
@@ -1,13 +1,35 @@
|
||||
var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
var url_loc = (typeof browser === 'object') ? 'firefox' : 'chrome';
|
||||
var manifestData = ext_api.runtime.getManifest();
|
||||
var navigator_ua = navigator.userAgent;
|
||||
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)) && !(navigator_ua_mobile && (url_loc === 'chrome') && !yandex_browser);
|
||||
var ext_manifest_version = manifestData.manifest_version;
|
||||
var custom_switch = ((manifestData.optional_permissions && manifestData.optional_permissions.length) || (manifestData.optional_host_permissions && manifestData.optional_host_permissions.length));
|
||||
|
||||
// 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) {
|
||||
if (domain && !matchDomain(['webcache.googleusercontent.com'], domain)) {
|
||||
if (domain) {
|
||||
var site_switch_span = document.getElementById('site_switch_span');
|
||||
let labelEl = document.createElement('label');
|
||||
labelEl.setAttribute('class', 'switch');
|
||||
@@ -82,17 +104,12 @@ function showArchiveLinks() {
|
||||
if (tabs && tabs[0] && /^http/.test(tabs[0].url)) {
|
||||
let url = tabs[0].url;
|
||||
let hostname = urlHost(url);
|
||||
if (!matchDomain(['hbrchina.org'], hostname))
|
||||
url = url.split(/[#\?]/)[0];
|
||||
let url_enc = encodeURIComponent(url);
|
||||
let archive_array = {
|
||||
'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,
|
||||
'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
|
||||
'Clearthis.page': 'https://clearthis.page?u=' + url_enc,
|
||||
'Google Search Tool\n(see help - troubleshooting)': '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');
|
||||
if (archive_id) {
|
||||
archive_id.appendChild(document.createTextNode('Open tab in:'));
|
||||
@@ -100,7 +117,7 @@ function showArchiveLinks() {
|
||||
let elem_div = document.createElement('div');
|
||||
let elem = document.createElement('a');
|
||||
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.title = elem.href;
|
||||
elem.target = '_blank';
|
||||
@@ -115,11 +132,9 @@ function showArchiveLinks() {
|
||||
showArchiveLinks();
|
||||
|
||||
function matchDomain(domains, hostname = window.location.hostname) {
|
||||
let matched_domain = false;
|
||||
if (typeof domains === 'string')
|
||||
domains = [domains];
|
||||
domains.some(domain => (hostname === domain || hostname.endsWith('.' + domain)) && (matched_domain = domain));
|
||||
return matched_domain;
|
||||
return domains.find(domain => hostname === domain || hostname.endsWith('.' + domain)) || false;
|
||||
}
|
||||
|
||||
function urlHost(url) {
|
||||
|
||||
@@ -2,7 +2,7 @@ var ext_api = (typeof browser === 'object') ? browser : chrome;
|
||||
|
||||
var manifestData = ext_api.runtime.getManifest();
|
||||
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 version_str = 'v' + manifestData.version;
|
||||
var version_span = document.querySelector('span#version');
|
||||
@@ -28,6 +28,7 @@ function show_warning() {
|
||||
version_span_new.appendChild(par);
|
||||
}
|
||||
}
|
||||
|
||||
function show_update(ext_version_new, check = true) {
|
||||
if (ext_version_new) {
|
||||
ext_api.management.getSelf(function (result) {
|
||||
@@ -42,7 +43,7 @@ function show_update(ext_version_new, check = true) {
|
||||
if (installType === 'development')
|
||||
anchorEl.href = ext_url;
|
||||
else {
|
||||
anchorEl.href = ext_url + '/-/releases';
|
||||
anchorEl.href = ext_url;
|
||||
ext_version_new = ext_version_new.replace(/\d$/, '0');
|
||||
}
|
||||
anchorEl.innerText = 'New release v' + ext_version_new;
|
||||
@@ -52,8 +53,8 @@ function show_update(ext_version_new, check = true) {
|
||||
show_warning();
|
||||
} else if (check) {
|
||||
anchorEl = document.createElement('a');
|
||||
anchorEl.text = 'Check Twitter for latest update';
|
||||
anchorEl.href = 'https://twitter.com/Magnolia1234B';
|
||||
anchorEl.text = 'Check X/Twitter for latest update';
|
||||
anchorEl.href = 'https://x.com/Magnolia1234B';
|
||||
anchorEl.target = '_blank';
|
||||
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) {
|
||||
if (!popup) {
|
||||
let manifest_new = 'https://bitbucket.org/bpc-updates/bpc_updates/downloads/manifest.json';
|
||||
fetch(manifest_new)
|
||||
.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;
|
||||
ext_api.runtime.sendMessage({
|
||||
request: 'check_update'
|
||||
});
|
||||
show_update(ext_version_new);
|
||||
} else
|
||||
show_update(ext_version_new, false);
|
||||
}
|
||||
|
||||
@@ -1,24 +1,92 @@
|
||||
{
|
||||
"DigiTimes Asia": {
|
||||
"domain": "digitimes.com",
|
||||
"Algemeen Dagblad (+ regional/ADR)": {
|
||||
"domain": "###_nl_dpg_adr",
|
||||
"group": [
|
||||
"ad.nl",
|
||||
"bd.nl",
|
||||
"bndestem.nl",
|
||||
"destentor.nl",
|
||||
"ed.nl",
|
||||
"gelderlander.nl",
|
||||
"pzc.nl",
|
||||
"tubantia.nl"
|
||||
],
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.piano\\.io",
|
||||
"useragent": "googlebot",
|
||||
"upd_version": "3.6.4.5"
|
||||
"block_regex": "temptation\\.{domain}",
|
||||
"ld_archive_is": "article>header svg.premium-indicator|article>section",
|
||||
"cs_block": 1,
|
||||
"upd_version": "4.2.8.1"
|
||||
},
|
||||
"El Español": {
|
||||
"domain": "elespanol.com",
|
||||
"Apollo Magazine": {
|
||||
"domain": "apollo-magazine.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)",
|
||||
"cs_code": "[{\"cond\":\"div.content-not-granted-paywall\", \"rm_class\":\"content-not-granted-paywall\"}]",
|
||||
"upd_version": "3.6.4.3"
|
||||
"block_regex": "\\.tinypass\\.com",
|
||||
"upd_version": "4.2.7.5"
|
||||
},
|
||||
"NDTV Profit": {
|
||||
"domain": "ndtvprofit.com",
|
||||
"Het Laatste Nieuws": {
|
||||
"domain": "hln.be",
|
||||
"allow_cookies": 1,
|
||||
"amp_redirect": "div[class^='hard-paywall']",
|
||||
"amp_unhide": 1,
|
||||
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
|
||||
"upd_version": "3.6.4.5"
|
||||
"block_regex": "temptation\\.hln\\.be",
|
||||
"ld_archive_is": "article>header svg.premium-indicator|article>section",
|
||||
"cs_block": 1,
|
||||
"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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<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>
|
||||
</gupdate>
|
||||
|
||||
Reference in New Issue
Block a user