TheDesk Airi (ver.9)

This commit is contained in:
cutls
2018-03-27 11:39:35 +09:00
parent a84a1da29b
commit d3a8302e46
43 changed files with 2703 additions and 5621 deletions

View File

@@ -109,17 +109,7 @@ function multiDel(target) {
//サポートインスタンス
function support() {
var start = "https://dl.thedesk.top/mastodon_data.json?eu=ai";
fetch(start, {
method: 'GET',
headers: {
'content-type': 'application/json'
},
}).then(function(response) {
return response.json();
}).catch(function(error) {
todo(error);
console.error(error);
}).then(function(json) {
var json=JSON.parse(localStorage.getItem("instance"));
console.log(json);
Object.keys(json).forEach(function(key) {
var instance = json[key];
@@ -129,7 +119,6 @@ function support() {
$("#support").append(templete);
}
});
});
}
//URL指定してポップアップ