Fix-update Australian Financial Review (videos)

master
magnolia1234 2021-05-29 08:00:16 +02:00
parent 340dfb3f81
commit 25c4e5f424
5 changed files with 6 additions and 16 deletions

View File

@ -266,7 +266,7 @@ var blockedRegexes = {
'adweek.com': /\.lightboxcdn\.com\//,
'apollo-magazine.com': /\.tinypass\.com\//,
'augsburger-allgemeine.de':/(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js)/,
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
'afr.com': /api\.afr\.com\/graphql\?query=.+PaywallRuleQuery/,
'alternatives-economiques.fr': /\.poool\.fr\//,
'americanbanker.com': /\.tinypass\.com\//,
'asiatimes.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|analytics)-.+\.(m)?js/,

View File

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Chrome
Post-release
Add Hindustan Times (India)
Add Honolulu Star-Advertiser (local USA)
Fix-update Australian Financial Review (videos)
Fix-update Exame (domain)
Fix-update GElocal.it (social)
Fix-update WaPo (comments)

View File

@ -88,20 +88,9 @@ if (matchDomain(['medium.com', 'towardsdatascience.com']) || document.querySelec
}
}
else if (window.location.hostname.match(/\.(com|net)\.au$/) || matchDomain(['afr.com'])) {//australia
else if (window.location.hostname.match(/\.(com|net)\.au$/)) {//australia
if (matchDomain('afr.com')) {
let hidden_images = document.querySelectorAll('img[src*=".gif"]');
for (let hidden_image of hidden_images) {
var data_src = hidden_image.getAttribute('data-src');
if (data_src)
hidden_image.setAttribute('src', data_src);
}
let plista = document.querySelector('div[data-plista-placement="underArticle_Group"]');
removeDOMElement(plista);
}
else if (matchDomain('thesaturdaypaper.com.au')) {
if (matchDomain('thesaturdaypaper.com.au')) {
let paywall = document.querySelector('div.paywall-hard-always-show');
removeDOMElement(paywall);
}

View File

@ -30,5 +30,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.2.2.4"
"version": "2.2.2.5"
}

View File

@ -507,5 +507,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.2.2.4"
"version": "2.2.2.5"
}