Update index.html

This commit is contained in:
bihlink 2022-07-06 02:14:03 +02:00 committed by GitHub
parent 57ec8c7c7d
commit 1140d401ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 13 deletions

View File

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