Remove CodeSports.com.au

merge-requests/16/head
magnolia1234 8 months ago
parent 8a2fa6bc0a
commit 0f42b8b420

@ -838,7 +838,6 @@ Grouped in options:\
Grouped in options:\
*Australia News Corp* sites like\
[Cairns Post](https://www.cairnspost.com.au) -
[Code Sports](https://www.codesports.com.au) -
[Geelong Advertiser](https://www.geelongadvertiser.com.au) -
[Gold Coast Bulletin](https://www.goldcoastbulletin.com.au) -
[Herald Sun](https://www.heraldsun.com.au) -

@ -730,7 +730,7 @@ ext_api.webRequest.onBeforeRequest.addListener(function (details) {
);
// Australia News Corp redirect subscribe to amp
var au_news_corp_no_amp_fix = ['codesports.com.au'];
var au_news_corp_no_amp_fix = [];
var au_news_corp_subscr = au_news_corp_domains.filter(domain => !au_news_corp_no_amp_fix.includes(domain)).map(domain => '*://www.' + domain + '/subscribe/*');
ext_api.webRequest.onBeforeRequest.addListener(function (details) {
if (!isSiteEnabled(details) || details.url.includes('/digitalprinteditions') || !(details.url.includes('dest=') && details.url.split('dest=')[1].split('&')[0])) {

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Remove CodeSports.com.au (fix obsolete)
Fix Apollo Magazine
Fix Barron's (amp-redirect)
Fix Harvard Business Review (cookie)

@ -424,7 +424,7 @@ else {
hideDOMElement(story_generic_iframe, blocker, ...overlays, ...ads);
} else if (window.location.hostname.endsWith('.com.au')) {
// Australia News Corp
let au_news_corp_domains = ['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'];
let au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.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'];
if (matchDomain(au_news_corp_domains)) {
if (window.location.hostname.startsWith('amp.') || window.location.search.match(/[&\?]amp/)) {
let figure_stretch = document.querySelectorAll('figure.stretch');
@ -443,13 +443,6 @@ else {
}
removeDOMElement(comments);
} else {
if (matchDomain('codesports.com.au')) {
let lazy_images = document.querySelectorAll('img.lazyload[data-src]:not([src])');
for (let elem of lazy_images) {
elem.src = elem.getAttribute('data-src');
elem.classList.remove('lazyload');
}
}
let ads = document.querySelectorAll('.header_ads-container, .ad-block, .ad-container');
hideDOMElement(...ads);
}

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.9.4"
"version": "3.3.9.5"
}

@ -158,7 +158,6 @@
"*://*.cmjornal.pt/*",
"*://*.cnbc.com/*",
"*://*.cntraveler.com/*",
"*://*.codesports.com.au/*",
"*://*.columbian.com/*",
"*://*.commentary.org/*",
"*://*.commercialappeal.com/*",
@ -807,5 +806,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.9.4"
"version": "3.3.9.5"
}

@ -115,7 +115,6 @@ var defaultSites = {
group: [
"adelaidenow.com.au",
"cairnspost.com.au",
"codesports.com.au",
"couriermail.com.au",
"dailytelegraph.com.au",
"geelongadvertiser.com.au",
@ -135,11 +134,6 @@ var defaultSites = {
domain: "cairnspost.com.au",
allow_cookies: 1,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/
}, {
domain: "codesports.com.au",
allow_cookies: 1,
block_js_inline: /\.codesports\.com\.au\/.+\/news-story\//,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/
}, {
domain: "geelongadvertiser.com.au",
allow_cookies: 1,

@ -8,7 +8,6 @@
"group": [
"adelaidenow.com.au",
"cairnspost.com.au",
"codesports.com.au",
"couriermail.com.au",
"dailytelegraph.com.au",
"geelongadvertiser.com.au",
@ -23,14 +22,7 @@
],
"allow_cookies": 1,
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js",
"exception": [{
"domain": "codesports.com.au",
"allow_cookies": 1,
"block_js_inline": "\\.codesports\\.com\\.au\\/.+\\/news-story\\/",
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js"
}
],
"upd_version": "3.3.8.3"
"upd_version": "3.3.9.5"
},
"Bloomberg": {
"domain": "bloomberg.com",

Loading…
Cancel
Save