Fix-update Foreign Policy

merge-requests/2/head
magnolia1234 3 years ago
parent ebdc468dd6
commit d32f66a847

@ -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) {

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
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)

@ -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')) {

@ -525,5 +525,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.2.5.2"
"version": "2.2.5.3"
}
Loading…
Cancel
Save