mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix-update Foreign Policy
This commit is contained in:
parent
ebdc468dd6
commit
d32f66a847
@ -1361,6 +1361,8 @@ function remove_cookies_fn(domainVar, exclusions = false) {
|
|||||||
currentWindow: true
|
currentWindow: true
|
||||||
}, function (tabs) {
|
}, function (tabs) {
|
||||||
if (tabs && tabs[0] && tabs[0].url.startsWith('http')) {
|
if (tabs && tabs[0] && tabs[0].url.startsWith('http')) {
|
||||||
|
if (ext_api.runtime.lastError)
|
||||||
|
return;
|
||||||
let tabId = tabs[0].id;
|
let tabId = tabs[0].id;
|
||||||
let storeId = '0';
|
let storeId = '0';
|
||||||
for (let store of cookieStores) {
|
for (let store of cookieStores) {
|
||||||
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||||||
Post-release
|
Post-release
|
||||||
Remove The Northern Star (obsolete)
|
Remove The Northern Star (obsolete)
|
||||||
Fix-update Boston Globe (no opt-in)
|
Fix-update Boston Globe (no opt-in)
|
||||||
|
Fix-update Foreign Policy
|
||||||
Fix-update The Spectator UK (amp)
|
Fix-update The Spectator UK (amp)
|
||||||
|
|
||||||
* v2.2.5.0 (2021-06-13)
|
* v2.2.5.0 (2021-06-13)
|
||||||
|
@ -1863,11 +1863,11 @@ else if (matchDomain('foreignaffairs.com')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('foreignpolicy.com')) {
|
else if (matchDomain('foreignpolicy.com')) {
|
||||||
let placeholder = document.querySelector('div.loading-placeholder-smaller');
|
let content_ungated = document.querySelector('div.content-ungated');
|
||||||
removeDOMElement(placeholder);
|
removeDOMElement(content_ungated);
|
||||||
let sub_content = document.querySelector('div.sub_content:not(style)');
|
let content_gated = document.querySelector('div.content-gated');
|
||||||
if (sub_content)
|
if (content_gated)
|
||||||
sub_content.setAttribute('style', 'display:block !important;');
|
content_gated.classList.remove('content-gated');
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('ft.com')) {
|
else if (matchDomain('ft.com')) {
|
||||||
|
@ -525,5 +525,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.2.5.2"
|
"version": "2.2.5.3"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user