From 1140d401babcfbbb151c67d260baa3314bef7f26 Mon Sep 17 00:00:00 2001 From: bihlink <95501288+bihlink@users.noreply.github.com> Date: Wed, 6 Jul 2022 02:14:03 +0200 Subject: [PATCH] Update index.html --- static/index.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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();