Fix Albuquerque Journal (css)

This commit is contained in:
magnolia1234 2023-10-28 09:26:19 +02:00
parent a1882358fa
commit a419123ca4
4 changed files with 11 additions and 2 deletions

View file

@ -6,6 +6,7 @@ Post-release
Remove CodeSports.com.au (fix obsolete)
Remove Hln.be (fix obsolete)
Remove VosgesMatin.fr (fix obsolete)
Fix Albuquerque Journal (css)
Fix Apollo Magazine
Fix Barron's (amp-redirect)
Fix Faz.net (json)

View file

@ -5453,7 +5453,7 @@ else if (matchDomain(usa_gannett_domains) || document.querySelector('img[srcset^
window.location.href = decodeURIComponent(window.location.href.split('?return=')[1]);
}
else if ((domain = matchDomain(usa_lee_ent_domains)) || matchDomain(ca_torstar_domains) || document.querySelector('script[src*=".townnews.com/"][src*="/tncms/"]')) {
else if ((domain = matchDomain(usa_lee_ent_domains)) || matchDomain(ca_torstar_domains.concat(['abqjournal.com'])) || document.querySelector('script[src*=".townnews.com/"][src*="/tncms/"]')) {
if (window.location.pathname.endsWith('.amp.html')) {
amp_unhide_access_hide('="hasAccess"', '="NOT hasAccess"', 'amp-ad, amp-embed, .amp-ads-container');
let elem_hidden = document.querySelectorAll('html[class], body[class]');

View file

@ -27,7 +27,8 @@ var defaultSites = {
"Albuquerque Journal": {
domain: "abqjournal.com",
allow_cookies: 1,
block_regex: /\.abqjournal\.com\/.+\/abq-pw-manager\.js/
block_regex: /\.abqjournal\.com\/.+\/tncms\/api\/access\.js/,
cs_dompurify: 1
},
"Algemeen Dagblad (+ regional; link to archive.is)": {
domain: "###_nl_dpg_adr",

View file

@ -1,4 +1,11 @@
{
"Albuquerque Journal": {
"domain": "abqjournal.com",
"allow_cookies": 1,
"block_regex": "\\.abqjournal\\.com\\/.+\\/tncms\\/api\\/access\\.js",
"cs_dompurify": 1,
"upd_version": "3.3.9.8"
},
"Amplitude": {
"domain": "amplitude.com",
"allow_cookies": 1,