diff --git a/static/index.html b/static/index.html index ac27ad8..a3b6e22 100644 --- a/static/index.html +++ b/static/index.html @@ -85,19 +85,7 @@ return document.getElementById(id).value; } - var instype = val('instancetype'); - if (instype == "wordpress") { - var inUrl = 'https://' + val('urlin') + '/author/' + val('usernamein'); - } - else if(instype == "misskey") { - var inUrl = 'https://' + val('urlin') + '/@' + val('usernamein'); - } - else if(instype == "mastodon") { - var inUrl = 'https://' + val('urlin') + '/users/' + val('usernamein'); - } - else { - var inUrl = 'https://' + val('urlin') + '/users/' + val('usernamein'); - } + var inUrl = 'https://' + val('urlin') + '/users/' + val('usernamein'); var showBoosts = (!document.getElementById('hideboosts').checked).toString(); var showReplies = (!document.getElementById('hidereplies').checked).toString();