Fix Tech in Asia (visual story)

master
magnolia1234 2021-10-15 16:05:53 +02:00
parent 4645938bd8
commit 2884ae04fb
4 changed files with 4 additions and 3 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

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.3.9.4"
"version": "2.3.9.5"
}

View File

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