From 0d6e3f92c6c816a2276220b76cd35bc749c805fb Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 15 Oct 2021 16:06:02 +0200 Subject: [PATCH] Fix Tech in Asia (visual story) --- changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index cbe4667..13dd40c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Add Westfaelische Nachrichten (Germany) Fix GElocal.it Fix National Review Fix Ruhr Nachrichten (amp) +Fix Tech in Asia (visual story) Update options: enable new sites by default * v2.3.9.0 (2021-10-10) diff --git a/contentScript.js b/contentScript.js index bad9e90..a0bb93f 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2462,7 +2462,7 @@ else if (matchDomain('techinasia.com')) { if (paywall) { paywall.classList.remove('paywall-content'); let url = window.location.href; - let url_xhr = url.replace('.com/', '.com/wp-json/techinasia/2.0/posts/'); + let url_xhr = url.replace('.com/', '.com/wp-json/techinasia/2.0/posts/').replace('/visual-story/', '/'); fetch(url_xhr) .then(response => { if (response.ok) { diff --git a/manifest.json b/manifest.json index dbe9423..1d2eb71 100644 --- a/manifest.json +++ b/manifest.json @@ -566,5 +566,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.3.9.4" + "version": "2.3.9.5" } \ No newline at end of file