mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:17:46 +01:00
Add Sabado.pt
Fix Cmjornal.pt & Record.pt (amp)
This commit is contained in:
parent
1e8be2553d
commit
fdd102dff9
7 changed files with 39 additions and 10 deletions
|
@ -707,7 +707,8 @@ Grouped in options:\
|
||||||
##### Portugal
|
##### Portugal
|
||||||
[Correio da Manhã](https://www.cmjornal.pt) -
|
[Correio da Manhã](https://www.cmjornal.pt) -
|
||||||
[Observador](https://observador.pt) -
|
[Observador](https://observador.pt) -
|
||||||
[Record](https://www.record.pt)
|
[Record](https://www.record.pt) -
|
||||||
|
[Sábado](https://www.sabado.pt)
|
||||||
|
|
||||||
##### Russia
|
##### Russia
|
||||||
[Wonderzine](https://www.wonderzine.com)
|
[Wonderzine](https://www.wonderzine.com)
|
||||||
|
|
|
@ -3,7 +3,9 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Sabado.pt
|
||||||
Fix Australia News Corp (amp-fix)
|
Fix Australia News Corp (amp-fix)
|
||||||
|
Fix Cmjornal.pt & Record.pt (amp)
|
||||||
|
|
||||||
* v3.2.4.0 (2023-07-09)
|
* v3.2.4.0 (2023-07-09)
|
||||||
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily (Hearst)
|
Add Delish, Elle Decor, Harper's Bazaar & Oprah Daily (Hearst)
|
||||||
|
|
|
@ -1214,8 +1214,8 @@ if (matchDomain(['ara.cat', 'arabalears.cat'])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(['cmjornal.pt', 'record.pt'])) {
|
else if (matchDomain(['cmjornal.pt', 'record.pt', 'sabado.pt'])) {
|
||||||
let paywall = document.querySelector('.bloqueio_exclusivos, .container_assinatura');
|
let paywall = document.querySelector('.bloqueio_exclusivos, .container_assinatura, .bloco_bloqueio');
|
||||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||||
let url = window.location.href;
|
let url = window.location.href;
|
||||||
if (!url.includes('/amp/')) {
|
if (!url.includes('/amp/')) {
|
||||||
|
@ -1224,7 +1224,7 @@ else if (matchDomain(['cmjornal.pt', 'record.pt'])) {
|
||||||
window.location.href = amphtml.href;
|
window.location.href = amphtml.href;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
amp_unhide_subscr_section('amp-ad, amp-embed, amp-consent, .detalheAds, .exclusivos_bar');
|
amp_unhide_access_hide('="subscriber"', '="NOT subscriber"', 'amp-ad, amp-embed, amp-consent, .detalheAds, .exclusivos_bar');
|
||||||
let amp_links = document.querySelectorAll('a[href^="https://www-cmjornal-pt.cdn.ampproject.org/c/s/"]');
|
let amp_links = document.querySelectorAll('a[href^="https://www-cmjornal-pt.cdn.ampproject.org/c/s/"]');
|
||||||
for (let amp_link of amp_links)
|
for (let amp_link of amp_links)
|
||||||
amp_link.href = amp_link.href.replace('www-cmjornal-pt.cdn.ampproject.org/c/s/', '');
|
amp_link.href = amp_link.href.replace('www-cmjornal-pt.cdn.ampproject.org/c/s/', '');
|
||||||
|
@ -1629,11 +1629,10 @@ else if (matchDomain('legrandcontinent.eu')) {
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain(['lejdd.fr', 'parismatch.com', 'public.fr'])) {
|
else if (matchDomain(['lejdd.fr', 'parismatch.com', 'public.fr'])) {
|
||||||
let poool_banner = document.querySelector('#poool-container');
|
let poool_banners = document.querySelectorAll('#poool-container, #poool-widget-content, #poool-widget');
|
||||||
let poool_widget = document.querySelector('#poool-widget-content');
|
|
||||||
let forbidden = document.querySelector('.forbidden');
|
let forbidden = document.querySelector('.forbidden');
|
||||||
let ads = document.querySelectorAll('div[class^="lmn-"]');
|
let ads = document.querySelectorAll('div[class^="lmn-"]');
|
||||||
removeDOMElement(poool_banner, poool_widget, forbidden, ...ads);
|
removeDOMElement(...poool_banners, forbidden, ...ads);
|
||||||
let bottom_hide = document.querySelector('.cnt[data-poool-mode="hide"]');
|
let bottom_hide = document.querySelector('.cnt[data-poool-mode="hide"]');
|
||||||
if (bottom_hide) {
|
if (bottom_hide) {
|
||||||
bottom_hide.removeAttribute('data-poool-mode');
|
bottom_hide.removeAttribute('data-poool-mode');
|
||||||
|
|
|
@ -51,5 +51,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.2.4.1"
|
"version": "3.2.4.2"
|
||||||
}
|
}
|
||||||
|
|
|
@ -549,6 +549,7 @@
|
||||||
"*://*.rugbyrama.fr/*",
|
"*://*.rugbyrama.fr/*",
|
||||||
"*://*.rundschau-online.de/*",
|
"*://*.rundschau-online.de/*",
|
||||||
"*://*.runnersworld.com/*",
|
"*://*.runnersworld.com/*",
|
||||||
|
"*://*.sabado.pt/*",
|
||||||
"*://*.sacbee.com/*",
|
"*://*.sacbee.com/*",
|
||||||
"*://*.saltwire.com/*",
|
"*://*.saltwire.com/*",
|
||||||
"*://*.sandiegouniontribune.com/*",
|
"*://*.sandiegouniontribune.com/*",
|
||||||
|
@ -758,5 +759,5 @@
|
||||||
"*://*.wyleex.com/*",
|
"*://*.wyleex.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "3.2.4.1"
|
"version": "3.2.4.2"
|
||||||
}
|
}
|
||||||
|
|
7
sites.js
7
sites.js
|
@ -1721,7 +1721,7 @@ var defaultSites = {
|
||||||
"Record.pt": {
|
"Record.pt": {
|
||||||
domain: "record.pt",
|
domain: "record.pt",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/
|
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
|
||||||
},
|
},
|
||||||
"Reuters": {
|
"Reuters": {
|
||||||
domain: "reuters.com",
|
domain: "reuters.com",
|
||||||
|
@ -1764,6 +1764,11 @@ var defaultSites = {
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /\.blueconic\.net\//
|
block_regex: /\.blueconic\.net\//
|
||||||
},
|
},
|
||||||
|
"Sábado (not video)": {
|
||||||
|
domain: "sabado.pt",
|
||||||
|
allow_cookies: 1,
|
||||||
|
block_regex: /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/
|
||||||
|
},
|
||||||
"Saltwire Network": {
|
"Saltwire Network": {
|
||||||
domain: "saltwire.com",
|
domain: "saltwire.com",
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
|
|
|
@ -5,6 +5,12 @@
|
||||||
"useragent": "bingbot",
|
"useragent": "bingbot",
|
||||||
"upd_version": "3.1.3.3"
|
"upd_version": "3.1.3.3"
|
||||||
},
|
},
|
||||||
|
"Correio da Manhã": {
|
||||||
|
"domain": "cmjornal.pt",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"amp_unhide": 1,
|
||||||
|
"upd_version": "3.2.4.2"
|
||||||
|
},
|
||||||
"Delish": {
|
"Delish": {
|
||||||
"domain": "delish.com",
|
"domain": "delish.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
@ -122,12 +128,27 @@
|
||||||
"useragent": "googlebot",
|
"useragent": "googlebot",
|
||||||
"upd_version": "3.1.9.6"
|
"upd_version": "3.1.9.6"
|
||||||
},
|
},
|
||||||
|
"Record.pt": {
|
||||||
|
"domain": "record.pt",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js",
|
||||||
|
"amp_unhide": 1,
|
||||||
|
"upd_version": "3.2.4.2"
|
||||||
|
},
|
||||||
"Rugbyrama.fr": {
|
"Rugbyrama.fr": {
|
||||||
"domain": "rugbyrama.fr",
|
"domain": "rugbyrama.fr",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"ld_json": "div.paywall|div.article-full__body-content",
|
"ld_json": "div.paywall|div.article-full__body-content",
|
||||||
"upd_version": "3.2.3.3"
|
"upd_version": "3.2.3.3"
|
||||||
},
|
},
|
||||||
|
"Sábado (not video)": {
|
||||||
|
"domain": "sabado.pt",
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-access-.+\\.js",
|
||||||
|
"amp_redirect": ".bloco_bloqueio",
|
||||||
|
"amp_unhide": 1,
|
||||||
|
"new_site": 1
|
||||||
|
},
|
||||||
"Stuttgarter Zeitung": {
|
"Stuttgarter Zeitung": {
|
||||||
"domain": "stuttgarter-zeitung.de",
|
"domain": "stuttgarter-zeitung.de",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
|
Loading…
Reference in a new issue