mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:17:46 +01:00
Fix Australia Nine sites
This commit is contained in:
parent
d9be47acc8
commit
a594d0b03a
4 changed files with 4 additions and 3 deletions
|
@ -572,7 +572,7 @@ function add_grouped_sites(init_rules) {
|
|||
|
||||
// rules only
|
||||
for (let domain of au_nine_domains)
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/;
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js/;
|
||||
for (let domain of es_unidad_domains) {
|
||||
allow_cookies.push(domain);
|
||||
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|consent)-.+\.js/;
|
||||
|
|
|
@ -6,6 +6,7 @@ Add Iltalehti.fi (Firefox-only)
|
|||
Add Marca (Spain)
|
||||
Grouping Quotidiano.net sites (Italy)
|
||||
Remove Le Un (obsolete)
|
||||
Fix Australia Nine sites
|
||||
Fix Commentary Magazine (new domain)
|
||||
Fix Gestion & El Comercio (Peru)
|
||||
Fix Grupo Vocento (Spain)
|
||||
|
|
|
@ -89,7 +89,7 @@ if (matchDomain('thesaturdaypaper.com.au')) {
|
|||
|
||||
else if (domain = matchDomain(["brisbanetimes.com.au", "smh.com.au", "theage.com.au", "watoday.com.au"])) {
|
||||
let url = window.location.href;
|
||||
let for_subscribers = document.querySelector('meta[content^="FOR SUBSCRIBERS"]');
|
||||
let for_subscribers = document.querySelector('meta[content^="FOR SUBSCRIBERS"], #paywall_prompt');
|
||||
if (for_subscribers) {
|
||||
window.setTimeout(function () {
|
||||
window.location.href = url.replace('www.', 'amp.');
|
||||
|
|
|
@ -540,5 +540,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.3.0.7"
|
||||
"version": "2.3.0.8"
|
||||
}
|
Loading…
Reference in a new issue