TheDesk Riina (ver.1)

This commit is contained in:
cutls
2018-02-18 14:43:11 +09:00
parent 51097abce6
commit 4588b646a9
16 changed files with 321 additions and 63 deletions

View File

@@ -1,5 +1,14 @@
//ユーザーデータ表示
localStorage.removeItem("history");
//コード受信
if(location.search){
var m = location.search.match(/\?mode=([a-zA-Z-0-9]+)\&code=([a-zA-Z-0-9]+)/);
var mode=m[1];
var codex=m[2];
if(mode=="user"){
udg(codex,0);
}
}
function udg(user, acct_id) {
if (!user) {
user = localStorage.getItem("user-id_"+acct_id);