Fix-update Foreign Policy

master
magnolia1234 2021-06-16 07:38:02 +02:00
parent 2b73d99df8
commit 90e7faf1d7
5 changed files with 10 additions and 7 deletions

View File

@ -1361,6 +1361,8 @@ function remove_cookies_fn(domainVar, exclusions = false) {
currentWindow: true
}, function (tabs) {
if (tabs && tabs[0] && tabs[0].url.startsWith('http')) {
if (ext_api.runtime.lastError)
return;
let tabId = tabs[0].id;
let storeId = '0';
for (let store of cookieStores) {

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Remove The Northern Star (obsolete)
Fix-update Boston Globe (no opt-in)
Fix-update Foreign Policy
Fix-update The Spectator UK (amp)
* v2.2.5.0 (2021-06-13)

View File

@ -1863,11 +1863,11 @@ else if (matchDomain('foreignaffairs.com')) {
}
else if (matchDomain('foreignpolicy.com')) {
let placeholder = document.querySelector('div.loading-placeholder-smaller');
removeDOMElement(placeholder);
let sub_content = document.querySelector('div.sub_content:not(style)');
if (sub_content)
sub_content.setAttribute('style', 'display:block !important;');
let content_ungated = document.querySelector('div.content-ungated');
removeDOMElement(content_ungated);
let content_gated = document.querySelector('div.content-gated');
if (content_gated)
content_gated.classList.remove('content-gated');
}
else if (matchDomain('ft.com')) {

View File

@ -30,5 +30,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.2.5.2"
"version": "2.2.5.3"
}

View File

@ -513,5 +513,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.2.5.2"
"version": "2.2.5.3"
}