Fix Tech in Asia (visual story)

This commit is contained in:
magnolia1234 2021-10-15 16:06:02 +02:00
parent 877d1ee7e4
commit 0d6e3f92c6
3 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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) {

View file

@ -566,5 +566,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.9.4"
"version": "2.3.9.5"
}