mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 08:13:42 +02:00
Add Spectator.com.au & TheCourier.com.au
This commit is contained in:
parent
947906c825
commit
3941b8dc27
4 changed files with 9 additions and 11 deletions
|
@ -103,11 +103,13 @@
|
||||||
[The Australian](https://www.theaustralian.com.au) -
|
[The Australian](https://www.theaustralian.com.au) -
|
||||||
[The Australian Financial Review](https://www.afr.com) -
|
[The Australian Financial Review](https://www.afr.com) -
|
||||||
[The Canberra Times](https://www.canberratimes.com.au) -
|
[The Canberra Times](https://www.canberratimes.com.au) -
|
||||||
|
[The Courier](https://www.thecourier.com.au) -
|
||||||
[The Courier-Mail](https://www.couriermail.com.au) –
|
[The Courier-Mail](https://www.couriermail.com.au) –
|
||||||
[The Daily Telegraph](https://www.dailytelegraph.com.au) –
|
[The Daily Telegraph](https://www.dailytelegraph.com.au) –
|
||||||
[The Examiner](https://www.examiner.com.au) -
|
[The Examiner](https://www.examiner.com.au) -
|
||||||
[The Mercury Tasmania](https://www.themercury.com.au) -
|
[The Mercury Tasmania](https://www.themercury.com.au) -
|
||||||
[The Saturday Paper](https://www.thesaturdaypaper.com.au) -
|
[The Saturday Paper](https://www.thesaturdaypaper.com.au) -
|
||||||
|
[The Spectator Australia](https://www.spectator.com.au) -
|
||||||
[The Sydney Morning Herald](https://www.smh.com.au) –
|
[The Sydney Morning Herald](https://www.smh.com.au) –
|
||||||
[The Weekly Times](https://www.weeklytimesnow.com.au) –
|
[The Weekly Times](https://www.weeklytimesnow.com.au) –
|
||||||
[Townsville Bulletin](https://www.townsvillebulletin.com.au)
|
[Townsville Bulletin](https://www.townsvillebulletin.com.au)
|
||||||
|
|
|
@ -143,6 +143,8 @@ var blockedRegexes = {
|
||||||
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
|
||||||
'sloanreview.mit.edu': /.+\.tinypass\.com\/.+/,
|
'sloanreview.mit.edu': /.+\.tinypass\.com\/.+/,
|
||||||
'spectator.co.uk': /.+\.tinypass\.com\/.+/,
|
'spectator.co.uk': /.+\.tinypass\.com\/.+/,
|
||||||
|
'spectator.com.au': /.+\.tinypass\.com\/.+/,
|
||||||
|
'thecourier.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/,
|
||||||
'thedailybeast.com': /.+\.tinypass\.com\/.+/,
|
'thedailybeast.com': /.+\.tinypass\.com\/.+/,
|
||||||
'theglobeandmail.com': /theglobeandmail\.com\/pb\/resources\/scripts\/build\/chunk-bootstraps\/.+\.js/,
|
'theglobeandmail.com': /theglobeandmail\.com\/pb\/resources\/scripts\/build\/chunk-bootstraps\/.+\.js/,
|
||||||
'thenation.com': /thenation\.com\/.+\/paywall-script\.php/,
|
'thenation.com': /thenation\.com\/.+\/paywall-script\.php/,
|
||||||
|
|
|
@ -347,7 +347,9 @@ if (window.location.href.indexOf("theglobeandmail.com") !== -1) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.href.indexOf("newcastleherald.com.au") !== -1) {
|
if (window.location.href.indexOf("newcastleherald.com.au") !== -1
|
||||||
|
|| window.location.href.indexOf("examiner.com.au") !== -1
|
||||||
|
|| window.location.href.indexOf("thecourier.com.au") !== -1) {
|
||||||
const subscribe_truncate = document.querySelector('.subscribe-truncate');
|
const subscribe_truncate = document.querySelector('.subscribe-truncate');
|
||||||
if (subscribe_truncate)
|
if (subscribe_truncate)
|
||||||
subscribe_truncate.classList.remove('subscribe-truncate');
|
subscribe_truncate.classList.remove('subscribe-truncate');
|
||||||
|
@ -421,16 +423,6 @@ if (window.location.href.indexOf("thesaturdaypaper.com.au") !== -1) {
|
||||||
expand_button.click();
|
expand_button.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.href.indexOf("examiner.com.au") !== -1) {
|
|
||||||
const subscribe_truncate = document.querySelector('.subscribe-truncate');
|
|
||||||
if (subscribe_truncate)
|
|
||||||
subscribe_truncate.classList.remove('subscribe-truncate');
|
|
||||||
const subscriber_hider = document.querySelectorAll('.subscriber-hider');
|
|
||||||
for (let i = 0; i < subscriber_hider.length; i++) {
|
|
||||||
subscriber_hider[i].classList.remove('subscriber-hider');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// General Functions
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
|
|
@ -106,6 +106,7 @@
|
||||||
"The Business Journals": "bizjournals.com",
|
"The Business Journals": "bizjournals.com",
|
||||||
"The Canberra Times": "canberratimes.com.au",
|
"The Canberra Times": "canberratimes.com.au",
|
||||||
"The Christian Science Monitor": "csmonitor.com",
|
"The Christian Science Monitor": "csmonitor.com",
|
||||||
|
"The Courier": "thecourier.com.au",
|
||||||
"The Courier-Mail": "couriermail.com.au",
|
"The Courier-Mail": "couriermail.com.au",
|
||||||
"The Daily Beast (free articles only)": "thedailybeast.com",
|
"The Daily Beast (free articles only)": "thedailybeast.com",
|
||||||
"The Daily Telegraph": "dailytelegraph.com.au",
|
"The Daily Telegraph": "dailytelegraph.com.au",
|
||||||
|
@ -131,6 +132,7 @@
|
||||||
"The Saturday Paper": "thesaturdaypaper.com.au",
|
"The Saturday Paper": "thesaturdaypaper.com.au",
|
||||||
"The Seattle Times": "seattletimes.com",
|
"The Seattle Times": "seattletimes.com",
|
||||||
"The Spectator": "spectator.co.uk",
|
"The Spectator": "spectator.co.uk",
|
||||||
|
"The Spectator Australia": "spectator.com.au",
|
||||||
"The Sydney Morning Herald": "smh.com.au",
|
"The Sydney Morning Herald": "smh.com.au",
|
||||||
"The Telegraph": "telegraph.co.uk",
|
"The Telegraph": "telegraph.co.uk",
|
||||||
"The Times": "thetimes.co.uk",
|
"The Times": "thetimes.co.uk",
|
||||||
|
|
Loading…
Reference in a new issue