From 8b28585d9d6e098a32636421a2199feb6fd1a660 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 2 Sep 2022 18:57:57 +0200 Subject: [PATCH] Fix WSJ (mobile layout) --- background.js | 2 +- changelog.txt | 1 + manifest.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/background.js b/background.js index 3b224d1b..33aa090d 100644 --- a/background.js +++ b/background.js @@ -994,7 +994,7 @@ if (matchUrlDomain(change_headers, details.url) && !['font', 'image', 'styleshee !(matchUrlDomain(['economictimes.com', 'economictimes.indiatimes.com'], details.url) && !details.url.split(/\?|#/)[0].endsWith('.cms')) && !(matchUrlDomain('theaustralian.com.au', details.url) && !details.url.startsWith('https://www.theaustralian.com.au/the-oz/')) && !(matchUrlDomain('uol.com.br', details.url) && !matchUrlDomain('folha.uol.com.br', details.url)) && - !(matchUrlDomain('wsj.com', details.url) && enabledSites.includes('#options_disable_gb_wsj')); + !(matchUrlDomain('wsj.com', details.url) && (enabledSites.includes('#options_disable_gb_wsj') || !details.url.includes('/articles/'))); var bingbotEnabled = matchUrlDomain(use_bing_bot, details.url) && !(matchUrlDomain('stratfor.com', details.url) && details.url.match(/(\/(\d){4}-([a-z]||-)+-forecast(-([a-z]|-)+)?|-forecast-(\d){4}-([a-z]|[0-9]||-)+)$/)); diff --git a/changelog.txt b/changelog.txt index 7917920a..0989923a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -9,6 +9,7 @@ Remove Dark Reading (no paywall) Fix Australian Community Media (overlay) Fix L'Opinion.fr Fix The Toronto Star +Fix WSJ (mobile layout) * v2.8.2.0 (2022-08-28) Add New Scientist diff --git a/manifest.json b/manifest.json index 348e74c6..e24535f1 100644 --- a/manifest.json +++ b/manifest.json @@ -702,5 +702,5 @@ "*://gcm.omerlocdn.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.8.2.5" + "version": "2.8.2.6" }