Fix PEI Media (identify site)

merge-requests/14/head
magnolia1234 1 year ago
parent 4cf61887ad
commit cc836edfa9

@ -8,6 +8,7 @@ Add Revue Conflits
Remove Cellesche Zeitung (fix obsolete)
Fix Automobilwoche.de (js)
Fix Faz.net (json)
Fix PEI Media (identify site)
Fix The Art Newspaper (js)
Fix The New Republic (modal)
Fix The West Australian

@ -330,7 +330,7 @@ else {
// Australian Seven West Media
if (matchDomain('thewest.com.au') || document.querySelector('li > a[href*=".sevenwestmedia.com.au"]')) {
window.setTimeout(function () {
let breach_screen = document.querySelector('div[data-testid*="BreachScreen"]:not(.paywall), div[class*="StyledBreachWallContent"]');
let breach_screen = document.querySelector('div.paywall div[data-testid*="BreachScreen"], div[class*="StyledBreachWallContent"]');
if (breach_screen) {
let scripts = document.querySelectorAll('script:not([src], [type])');
let json_script;

@ -102,7 +102,7 @@ window.setTimeout(function () {
else if (hostname.match(/\.com$/)) {
if (document.querySelector('link[href*=".com/wp-content/themes/madavor/"]'))
group = '###_usa_madavor';
else if (document.querySelector('script#wp-parsely-pei-events-js'))
else if (document.querySelector('img[data-src*="/wp-content/plugins/pragmatic-pei-rebranding/"]'))
group = '###_usa_pei';
}
}

Loading…
Cancel
Save