Fix-update American Banker

This commit is contained in:
magnolia1234 2021-05-04 22:13:32 +02:00
parent b0623d76ad
commit f49877534c
3 changed files with 9 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add The Economic Times (text/India) Add The Economic Times (text/India)
Fix-update American Banker
Fix-update El Mercurio (Chile) Fix-update El Mercurio (Chile)
* v2.1.9.0 (2021-05-02) * v2.1.9.0 (2021-05-02)

View File

@ -1559,9 +1559,13 @@ if (matchDomain('adweek.com')) {
} }
else if (matchDomain('americanbanker.com')) { else if (matchDomain('americanbanker.com')) {
let paywall = document.querySelector('.embargo-content'); let inline_gate = document.querySelector('.inline-gate');
if (paywall) if (inline_gate) {
paywall.classList.remove('embargo-content'); inline_gate.classList.remove('inline-gate');
let inline_gated = document.querySelectorAll('.inline-gated');
for (let elem of inline_gated)
elem.classList.remove('inline-gated');
}
} }
else if (matchDomain('americanaffairsjournal.org')) { else if (matchDomain('americanaffairsjournal.org')) {

View File

@ -509,5 +509,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.1.9.2" "version": "2.1.9.3"
} }