diff --git a/friendica_comments.js b/friendica_comments.js index 4ad3040..6367490 100644 --- a/friendica_comments.js +++ b/friendica_comments.js @@ -1,5 +1,5 @@ var article = document.getElementsByTagName("article")[0].innerHTML; -var article_name= article.substring(article.indexOf('
')+3,article.indexOf('
')+33); var search = friendica_domain + "/search?search=" + article_name.replace(/ /gi,'+'); var http, http2 = null; var ergebnis = ""; @@ -14,8 +14,8 @@ if (http !== null) { function SearchFriendica() { if (http.readyState == 4 && http.status==200) { var SearchResult= http.responseText; - var start = SearchResult.indexOf('