Fix Australia News Corp (amp)
parent
4608e7d01e
commit
ff0156c0b6
|
@ -6,6 +6,7 @@ Add Diario Cordoba
|
||||||
Add La Opinion A Coruna
|
Add La Opinion A Coruna
|
||||||
Add La Opinion de Zamora
|
Add La Opinion de Zamora
|
||||||
Fix Alma Talent sites (js-ads)
|
Fix Alma Talent sites (js-ads)
|
||||||
|
Fix Australia News Corp (amp)
|
||||||
Fix Madsack Mediengruppe
|
Fix Madsack Mediengruppe
|
||||||
|
|
||||||
* v2.6.2.0 (2022-03-27)
|
* v2.6.2.0 (2022-03-27)
|
||||||
|
|
|
@ -302,10 +302,10 @@ else {
|
||||||
let amp_ads_sel = 'amp-ad, amp-embed, [id^="ad-mrec-"], .story-ad-container';
|
let amp_ads_sel = 'amp-ad, amp-embed, [id^="ad-mrec-"], .story-ad-container';
|
||||||
let comments;
|
let comments;
|
||||||
if (window.location.hostname.startsWith('amp.')) {
|
if (window.location.hostname.startsWith('amp.')) {
|
||||||
amp_unhide_access_hide('="access AND subscriber"', '', amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
|
amp_unhide_subscr_section(amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
|
||||||
comments = document.querySelector('#story-comments, .comments-wrapper');
|
comments = document.querySelector('#story-comments, .comments-wrapper');
|
||||||
} else if (window.location.href.includes('?amp')) {
|
} else if (window.location.href.includes('?amp')) {
|
||||||
amp_unhide_access_hide('="subscriber AND status=\'logged-in\'"', '="status=\'logged-out\'"', amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
|
amp_unhide_subscr_section(amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
|
||||||
comments = document.querySelector('#comments-load');
|
comments = document.querySelector('#comments-load');
|
||||||
let amp_iframe_sizers = document.querySelectorAll('amp-iframe > i-amphtml-sizer');
|
let amp_iframe_sizers = document.querySelectorAll('amp-iframe > i-amphtml-sizer');
|
||||||
removeDOMElement(...amp_iframe_sizers)
|
removeDOMElement(...amp_iframe_sizers)
|
||||||
|
|
|
@ -41,5 +41,5 @@
|
||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
],
|
],
|
||||||
"version": "2.6.2.2"
|
"version": "2.6.2.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -654,5 +654,5 @@
|
||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.6.2.2"
|
"version": "2.6.2.3"
|
||||||
}
|
}
|
||||||
|
|
2
sites.js
2
sites.js
|
@ -129,7 +129,7 @@ var defaultSites = {
|
||||||
"weeklytimesnow.com.au"
|
"weeklytimesnow.com.au"
|
||||||
],
|
],
|
||||||
allow_cookies: 1,
|
allow_cookies: 1,
|
||||||
block_regex: /(\.com\.au\/remote\/identity\/rampart\/latest\/rampart\.js|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad)-.+\.js)/
|
block_regex: /(\.com\.au\/remote\/identity\/rampart\/latest\/rampart\.js|cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js)/
|
||||||
},
|
},
|
||||||
"Australian Community Media (daily)": {
|
"Australian Community Media (daily)": {
|
||||||
domain: "###_au_comm_media",
|
domain: "###_au_comm_media",
|
||||||
|
|
|
@ -1,4 +1,26 @@
|
||||||
{
|
{
|
||||||
|
"Australia News Corp": {
|
||||||
|
"domain": "###_au_news_corp",
|
||||||
|
"group": [
|
||||||
|
"adelaidenow.com.au",
|
||||||
|
"cairnspost.com.au",
|
||||||
|
"codesports.com.au",
|
||||||
|
"couriermail.com.au",
|
||||||
|
"dailytelegraph.com.au",
|
||||||
|
"geelongadvertiser.com.au",
|
||||||
|
"goldcoastbulletin.com.au",
|
||||||
|
"heraldsun.com.au",
|
||||||
|
"ntnews.com.au",
|
||||||
|
"theaustralian.com.au",
|
||||||
|
"thechronicle.com.au",
|
||||||
|
"themercury.com.au",
|
||||||
|
"townsvillebulletin.com.au",
|
||||||
|
"weeklytimesnow.com.au"
|
||||||
|
],
|
||||||
|
"allow_cookies": 1,
|
||||||
|
"block_regex": "(\\.com\\.au\\/remote\\/identity\\/rampart\\/latest\\/rampart\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad|subscriptions)-.+\\.js)",
|
||||||
|
"amp_unhide": 1
|
||||||
|
},
|
||||||
"Badische Neueste Nachrichten": {
|
"Badische Neueste Nachrichten": {
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
"domain": "bnn.de",
|
"domain": "bnn.de",
|
||||||
|
|
Loading…
Reference in New Issue