mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Clarin
This commit is contained in:
parent
e14fd0863d
commit
4e2d824166
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
Fix Challenges.fr
|
Fix Challenges.fr
|
||||||
|
Fix Clarin
|
||||||
Fix The New Yorker (update)
|
Fix The New Yorker (update)
|
||||||
|
|
||||||
* v2.5.2.0 (2022-01-16)
|
* v2.5.2.0 (2022-01-16)
|
||||||
|
@ -1800,7 +1800,7 @@ else if (matchDomain('thetimes.co.uk')) {
|
|||||||
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
else if (!matchDomain(['belfasttelegraph.co.uk', 'independent.ie']))
|
||||||
csDone = true;
|
csDone = true;
|
||||||
|
|
||||||
} else if (window.location.hostname.match(/\.(br|cl|pe)$/) || matchDomain(['elespectador.com', 'elmercurio.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
|
} else if (window.location.hostname.match(/\.(br|cl|pe)$/) || matchDomain(['clarin.com', 'elespectador.com', 'elmercurio.com', 'latercera.com', 'lasegunda.com', 'valor.globo.com'])) {//south america
|
||||||
|
|
||||||
if (matchDomain('abril.com.br')) {
|
if (matchDomain('abril.com.br')) {
|
||||||
if (window.location.pathname.endsWith('/amp/')) {
|
if (window.location.pathname.endsWith('/amp/')) {
|
||||||
@ -1810,6 +1810,11 @@ if (matchDomain('abril.com.br')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('clarin.com')) {
|
||||||
|
let ads = document.querySelectorAll('.ad-slot');
|
||||||
|
removeDOMElement(...ads);
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain(['elcomercio.pe', 'gestion.pe'])) {
|
else if (matchDomain(['elcomercio.pe', 'gestion.pe'])) {
|
||||||
let paywall = document.querySelector('.story-content__nota-premium');
|
let paywall = document.querySelector('.story-content__nota-premium');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
|
@ -574,7 +574,6 @@
|
|||||||
"*://*.qiota.com/*",
|
"*://*.qiota.com/*",
|
||||||
"*://*.tinypass.com/*",
|
"*://*.tinypass.com/*",
|
||||||
"*://*.tribdss.com/*",
|
"*://*.tribdss.com/*",
|
||||||
"*://*.adobedtm.com/*",
|
|
||||||
"*://*.amazonaws.com/*",
|
"*://*.amazonaws.com/*",
|
||||||
"*://*.apnarm.net.au/*",
|
"*://*.apnarm.net.au/*",
|
||||||
"*://*.bntech.io/*",
|
"*://*.bntech.io/*",
|
||||||
@ -602,5 +601,5 @@
|
|||||||
"*://*.wsj.net/*",
|
"*://*.wsj.net/*",
|
||||||
"*://*.zephr.com/*"
|
"*://*.zephr.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.5.2.2"
|
"version": "2.5.2.3"
|
||||||
}
|
}
|
||||||
|
5
sites.js
5
sites.js
@ -229,8 +229,7 @@ var defaultSites = {
|
|||||||
"Clarín": {
|
"Clarín": {
|
||||||
domain: "clarin.com",
|
domain: "clarin.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /js\.matheranalytics\.com\//,
|
block_regex: /\.clarin\.com\/commons\/js\/auth0\.js/
|
||||||
referer: "facebook"
|
|
||||||
},
|
},
|
||||||
"Commentary Magazine": {
|
"Commentary Magazine": {
|
||||||
domain: "commentary.org",
|
domain: "commentary.org",
|
||||||
@ -1588,7 +1587,7 @@ var defaultSites = {
|
|||||||
"The Telegraph": {
|
"The Telegraph": {
|
||||||
domain: "telegraph.co.uk",
|
domain: "telegraph.co.uk",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js|\.telegraph\.co\.uk\/.+\/piano.+\.js|assets\.adobedtm\.com\/.+\.js)/
|
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad)-.+\.js)/
|
||||||
},
|
},
|
||||||
"The Times": {
|
"The Times": {
|
||||||
domain: "thetimes.co.uk",
|
domain: "thetimes.co.uk",
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
{
|
{
|
||||||
|
"Clarín": {
|
||||||
|
"domain": "clarin.com",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "\\.clarin\\.com\\/commons\\/js\\/auth0\\.js"
|
||||||
|
},
|
||||||
"Mainichi Shimbun": {
|
"Mainichi Shimbun": {
|
||||||
"domain": "mainichi.jp",
|
"domain": "mainichi.jp",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
@ -14,11 +19,6 @@
|
|||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"block_regex": "\\.businessoffashion\\.com\\/zephr\\/feature-decisions"
|
"block_regex": "\\.businessoffashion\\.com\\/zephr\\/feature-decisions"
|
||||||
},
|
},
|
||||||
"The Indian Express": {
|
|
||||||
"domain": "indianexpress.com",
|
|
||||||
"allow_cookies": 1,
|
|
||||||
"block_regex": "(\\/indianexpress\\.com\\/.+\\/indianexpress\\/js\\/(evolok\\/.+|min\\/premiumContent)\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad)-.+\\.js)"
|
|
||||||
},
|
|
||||||
"The Jerusalem Post": {
|
"The Jerusalem Post": {
|
||||||
"domain": "jpost.com",
|
"domain": "jpost.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user