From dcfc66dca69d8a0afcc973db685d905460eff5e1 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 3 Oct 2020 10:08:07 +0200 Subject: [PATCH] Fix-update Australian Financial Review (images) --- README.md | 3 +-- background.js | 2 +- changelog.txt | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d65f195..18a06cc 100644 --- a/README.md +++ b/README.md @@ -349,8 +349,7 @@ Also you can enable Googlebot user-agent or disable Javascript for (sub)domain(s * This add-on works best alongside the adblocker [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/). * Make sure the (new) site is checked under Options. * You will be logged out for most of the sites you have checked. -* If you live in the EU, also consider installing the extension [I don't care about cookies](https://addons.mozilla.org/en-US/firefox/addon/i-dont-care-about-cookies) in order to remove cookie warnings (or use filter Easylist Cookies/[I don't care about cookies custom filter](https://www.i-dont-care-about-cookies.eu/abp) in uBlock Origin). - +* If you live in the EU, also consider installing the extension [I don't care about cookies](https://addons.mozilla.org/en-US/firefox/addon/i-dont-care-about-cookies) in order to remove cookie warnings (or add filter [Easylist Cookies](https://easylist-downloads.adblockplus.org/easylist-cookie.txt) | [I don't care about cookies custom filter](https://www.i-dont-care-about-cookies.eu/abp) to uBlock Origin). ### Changelog-releases * Visit the [changelog page](https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/src/master/changelog.txt). diff --git a/background.js b/background.js index 821c48a..60d898d 100644 --- a/background.js +++ b/background.js @@ -608,7 +608,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) { }); } - if (!['image', 'font', 'stylesheet'].includes(details.type)) { + if (!['image', 'font', 'stylesheet'].includes(details.type) || matchUrlDomain('afr.com', details.url)) { if (tabId !== -1) { ext_api.tabs.get(tabId, function (currentTab) { if (isSiteEnabled(currentTab) || medium_custom_domain) { diff --git a/changelog.txt b/changelog.txt index 9cacafe..61f037a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,7 @@ Add Neue Ruhr Zeitung Add Westdeutsche Allgemeine Zeitung Add Westfalenpost Add Westfaelische Rundschau +Fix-update Australian Financial Review (images) Fix-update Domani (Italy) Fix-update Globe and Mail (FF for Android v68) Fix-update WSJ