Fix MediaNama (modal)

This commit is contained in:
magnolia1234 2021-08-10 17:24:03 +02:00
parent 36467d361b
commit 72b957b2d9
4 changed files with 11 additions and 2 deletions

View File

@ -23,11 +23,12 @@ const restrictions = {
'faz.net': /^((?!\/.+\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/,
'foreignaffairs.com': /.+\.foreignaffairs\.com\/(articles|fa-caching|interviews|reviews|sites)\/.+/,
'ft.com': /.+\.ft\.com\/content\//,
'medianama.com': /\.medianama\.com\/(\d){4}\/(\d){2}\//,
'medianama.com': /\.medianama\.com\/((\d){4}\/(\d){2}|wp-content)\//,
'timesofindia.com': /.+\.timesofindia\.com\/($|toi-plus(\/.+)?|.+\.cms)/,
'nknews.org': /^((?!nknews\.org\/pro\/).)*$/,
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
'seekingalpha.com': /.+\/seekingalpha\.com\/($|(amp\/)?(article|news)\/|samw\/)/,
'statista.com': /^((?!\.statista\.com\/(outlook|study)\/).)*$/,
'sueddeutsche.de': /^((?!projekte\.sueddeutsche\.de\/).)*$/,
'techinasia.com': /\.techinasia\.com\/.+/,
'wsj.com': /^((?!\/cn\.wsj\.com\/).)*$/

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix MediaNama (modal)
* v2.3.2.0 (2021-08-08)
Add Inc42 (India)

View File

@ -2134,6 +2134,13 @@ else if (matchDomain('marketwatch.com')) {
removeDOMElement(...ads);
}
else if (matchDomain('medianama.com')) {
window.setTimeout(function () {
let modal = document.querySelector('div.modal');
removeDOMElement(modal);
}, 500); // Delay (in milliseconds)
}
else if (matchDomain('mexiconewsdaily.com')) {
window.setTimeout(function () {
let popup = document.querySelector('div.pigeon-widget-prompt');

View File

@ -542,5 +542,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.2.0"
"version": "2.3.2.1"
}