diff --git a/changelog.txt b/changelog.txt index 9966551..47145f7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index 74b63d1..d5a4a24 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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]'); diff --git a/sites.js b/sites.js index add9efd..25f3648 100644 --- a/sites.js +++ b/sites.js @@ -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", diff --git a/sites_updated.json b/sites_updated.json index 00ea2c5..f3fc190 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -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,