mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 04:01:58 +01:00
Fix-update TheSaturdayPaper.com.au
This commit is contained in:
parent
8d9de28e68
commit
19c129a46c
1 changed files with 6 additions and 7 deletions
|
@ -6,8 +6,13 @@ if (!matchDomain(arr_localstorage_hold)){
|
|||
|
||||
// Content workarounds/domain
|
||||
|
||||
if (matchDomain("thesaturdaypaper.com.au")) {
|
||||
let paywall = document.querySelector('div.paywall-hard-always-show');
|
||||
removeDOMElement(paywall);
|
||||
}
|
||||
|
||||
// Australian Community Media newspapers
|
||||
if (window.location.hostname.endsWith(".com.au") || window.location.hostname.endsWith(".net.au")) {
|
||||
else if (window.location.hostname.endsWith(".com.au") || window.location.hostname.endsWith(".net.au")) {
|
||||
let au_sites = ['bendigoadvertiser.com.au', 'bordermail.com.au', 'canberratimes.com.au', 'centralwesterndaily.com.au', 'dailyadvertiser.com.au', 'dailyliberal.com.au', 'examiner.com.au', 'illawarramercury.com.au', 'newcastleherald.com.au', 'northerndailyleader.com.au', 'portnews.com.au', 'standard.net.au', 'theadvocate.com.au', 'thecourier.com.au', 'westernadvocate.com.au'];
|
||||
let au_piano_script = document.querySelector('script[src="https://cdn-au.piano.io/api/tinypass.min.js"]');
|
||||
if (matchDomain(au_sites) || au_piano_script) {
|
||||
|
@ -21,12 +26,6 @@ if (window.location.hostname.endsWith(".com.au") || window.location.hostname.end
|
|||
}
|
||||
}
|
||||
|
||||
else if (matchDomain("thesaturdaypaper.com.au")) {
|
||||
const expand_button = document.querySelector('.continue-reading-button');
|
||||
if (expand_button)
|
||||
expand_button.click();
|
||||
}
|
||||
|
||||
else if (matchDomain('rep.repubblica.it')) {
|
||||
window.setTimeout(function () {
|
||||
if (window.location.href.includes('/pwa/')) {
|
||||
|
|
Loading…
Reference in a new issue