diff --git a/changelog.txt b/changelog.txt index e3cc69a..a06f269 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Chrome Post-release Add The Economic Times (text/India) +Fix-update American Banker Fix-update El Mercurio (Chile) * v2.1.9.0 (2021-05-02) diff --git a/contentScript.js b/contentScript.js index 26e9270..37f8fdc 100755 --- a/contentScript.js +++ b/contentScript.js @@ -1559,9 +1559,13 @@ if (matchDomain('adweek.com')) { } else if (matchDomain('americanbanker.com')) { - let paywall = document.querySelector('.embargo-content'); - if (paywall) - paywall.classList.remove('embargo-content'); + let inline_gate = document.querySelector('.inline-gate'); + if (inline_gate) { + 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')) { diff --git a/custom/manifest.json b/custom/manifest.json index 0cef9b6..a8a8fdb 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -30,5 +30,5 @@ "webRequestBlocking", "" ], - "version": "2.1.9.2" + "version": "2.1.9.3" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index fd00927..01242ce 100755 --- a/manifest.json +++ b/manifest.json @@ -497,5 +497,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.1.9.2" + "version": "2.1.9.3" } \ No newline at end of file