mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Fix Forbes (menu)
This commit is contained in:
parent
05137b5ad8
commit
29831f8ea5
5 changed files with 9 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -51,5 +51,5 @@
|
|||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.3.1.1"
|
||||
"version": "3.3.1.2"
|
||||
}
|
||||
|
|
|
@ -792,5 +792,5 @@
|
|||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.3.1.1"
|
||||
"version": "3.3.1.2"
|
||||
}
|
||||
|
|
3
sites.js
3
sites.js
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue