Fix-update Australian Financial Review (videos)

This commit is contained in:
magnolia1234 2021-05-29 08:00:38 +02:00
parent 18b87c055b
commit 6276987410
4 changed files with 5 additions and 15 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 - Firefox
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

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