Fix MediaNama (modal)

master
magnolia1234 2021-08-10 17:23:42 +02:00
parent c2ddb5fb74
commit 4c2e4a62cc
5 changed files with 12 additions and 3 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 - Chrome
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

@ -38,5 +38,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.3.2.0"
"version": "2.3.2.1"
}

View File

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