Fix Medium (cookies)

master
magnolia1234 2021-09-29 20:42:43 +02:00
parent 10c42a7e06
commit 1beeba0412
6 changed files with 10 additions and 4 deletions

View File

@ -42,7 +42,7 @@ If you're familiar with Git(Hub)-clients you can also clone this repo and update
5. If dragging crx-file does not work, try 'load unpacked' installation (above).
* By default BPC has limited permissions, but you can opt-in to enable custom sites (and also clear cookies/block general paywall-scripts for non-listed sites).
* In Windows 'whitelist' BPC (run as administrator one of the reg-files in [whitelist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/whitelist)
* In Windows 'whitelist' BPC: run as administrator one of the reg-files in [whitelist-downloads](https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean/-/tree/master/whitelist)
If you already have 'whitelisted' extensions than you should change "1" to a new key (also change name of HLM-key for beta/developer versions of browsers).
Example Chrome-regfile:
Windows Registry Editor Version 5.00

View File

@ -204,7 +204,7 @@ var cookies_select_domains = Object.keys(remove_cookies_select_hold).concat(Obje
// Removes cookies after page load
// remove_cookies are completed with domains of custom sites (default allow/remove_cookies)
var remove_cookies_default = ['scientificamerican.com'];
var remove_cookies_default = ['medium.com', 'scientificamerican.com'];
var remove_cookies = remove_cookies_default.concat(cookies_select_domains);
allow_cookies = allow_cookies.concat(cookies_select_domains);

View File

@ -5,6 +5,7 @@ Post-release
Remove Gazet van Antwerpen (obsolete)
Fix El Periodico de Catalunya (amp)
Fix Foreign Affairs (timing)
Fix Medium (cookies)
Fix Telerama.fr (mobile)
Fix VeloNews

View File

@ -2189,6 +2189,11 @@ else if (matchDomain('newstatesman.com')) {
removeDOMElement(tns_modal_wrapper);
}
else if (matchDomain('newrepublic.com')) {
let pw_opups = document.querySelector('div#pwPopups');
removeDOMElement(pw_opups);
}
else if (matchDomain('newyorker.com')) {
let paywall_bar = document.querySelector('.paywall-bar');
removeDOMElement(paywall_bar);

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.3.7.2"
"version": "2.3.7.3"
}

View File

@ -548,5 +548,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.7.2"
"version": "2.3.7.3"
}