mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 01:44:15 +01:00
Fix PEI Media (identify site)
This commit is contained in:
parent
4cf61887ad
commit
cc836edfa9
3 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@ Add Revue Conflits
|
||||||
Remove Cellesche Zeitung (fix obsolete)
|
Remove Cellesche Zeitung (fix obsolete)
|
||||||
Fix Automobilwoche.de (js)
|
Fix Automobilwoche.de (js)
|
||||||
Fix Faz.net (json)
|
Fix Faz.net (json)
|
||||||
|
Fix PEI Media (identify site)
|
||||||
Fix The Art Newspaper (js)
|
Fix The Art Newspaper (js)
|
||||||
Fix The New Republic (modal)
|
Fix The New Republic (modal)
|
||||||
Fix The West Australian
|
Fix The West Australian
|
||||||
|
|
|
@ -330,7 +330,7 @@ else {
|
||||||
// Australian Seven West Media
|
// Australian Seven West Media
|
||||||
if (matchDomain('thewest.com.au') || document.querySelector('li > a[href*=".sevenwestmedia.com.au"]')) {
|
if (matchDomain('thewest.com.au') || document.querySelector('li > a[href*=".sevenwestmedia.com.au"]')) {
|
||||||
window.setTimeout(function () {
|
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) {
|
if (breach_screen) {
|
||||||
let scripts = document.querySelectorAll('script:not([src], [type])');
|
let scripts = document.querySelectorAll('script:not([src], [type])');
|
||||||
let json_script;
|
let json_script;
|
||||||
|
|
|
@ -102,7 +102,7 @@ window.setTimeout(function () {
|
||||||
else if (hostname.match(/\.com$/)) {
|
else if (hostname.match(/\.com$/)) {
|
||||||
if (document.querySelector('link[href*=".com/wp-content/themes/madavor/"]'))
|
if (document.querySelector('link[href*=".com/wp-content/themes/madavor/"]'))
|
||||||
group = '###_usa_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';
|
group = '###_usa_pei';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue