Fix Forbes (menu)

This commit is contained in:
magnolia1234 2023-08-29 18:48:00 +02:00
parent 05137b5ad8
commit 29831f8ea5
5 changed files with 9 additions and 4 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix Forbes (menu)
Fix Star Tribune (css)
* v3.3.1.0 (2023-08-27)

View file

@ -3732,6 +3732,11 @@ else if (matchDomain('firstthings.com')) {
removeDOMElement(paywall);
}
else if (matchDomain('forbes.com')) {
waitDOMAttribute('body', 'body', 'class', node => node.removeAttribute('class'), true);
csDoneOnce = true;
}
else if (matchDomain('foreignaffairs.com')) {
window.setTimeout(function () {
let paywall = document.querySelector('.paywall');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.1.1"
"version": "3.3.1.2"
}

View file

@ -792,5 +792,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.1.1"
"version": "3.3.1.2"
}

View file

@ -656,8 +656,7 @@ var defaultSites = {
"Forbes": {
domain: "forbes.com",
allow_cookies: 1,
block_js_inline: /\.forbes\.com\/sites\//,
block_regex: /(\.tinypass\.com\/|\.blueconic\.net\/)/
block_regex: /(\.forbes\.com\/zephr\/feature|cdn\.ampproject\.org\/v\d\/amp-access-.+\.js)/
},
"Foreign Affairs": {
domain: "foreignaffairs.com",