function sendYen631(){ if("" != ""){//console.log(" = "+""); open("", "_blank"); }else{ var isOK = confirm("円ボタンにPolcaのURLが設定されていません。OKで設定画面を表示します。"); if(isOK){ open("https://crypto-app.tokyo/ouentip/?isYen=true&mention0=Tetsuya_K&lang=", "_blank"); } } } function shuffle(array) { var n = array.length, t, i; while (n) { i = Math.floor(Math.random() * n--); t = array[n]; array[n] = array[i]; array[i] = t; } return array; } function sendNageC631(type){ var mainMsg = "\n投げ銭おくります!"; var suffix = ""; var SP = encodeURIComponent(" "); //var url = "https://crypto-app.tokyo/ouentip/\n#応援チップ"; var url = "https://crypto-app.tokyo/ouentip/link.php?id=631&m=Tetsuya_K&yURL=\n#応援チップ"; var myMention = "@"+"Tetsuya_K"; var price = { BTC:"0.00003", ETH:"0.0004", LTC:"0.002", ZEC:"0.001", DASH:"0.001", BCH:"35円", XP:"1000",//¥0.0315 WAVES:"0.05",//¥668.11 VERGE:"10",//4.42//@vergetips tip @hitoriblog 10 MONA:(10/554).toFixed(2),//Math.round(10/554,2), ZENY:10, NEM:1, XRP:(35/100).toFixed(2), PINK:"3", NUKO:"100",//@tipnem tip @siratakixxxxx 100 nuko KUMA:"10000"//¥0.000633 }[type];//枚数。10円くらい? var hashTagArray = { BTC:"#BTC #ビットコイン", ETH:"#ETH #イーサリアム", LTC:"#LTC #ライトコイン", ZEC:"#Zcash #ジーキャッシュ", DASH:"#DASH #ダッシュ", BCH:"#BCH #ビットコインキャッシュ", XP:"#XP #XPコイン", WAVES:"#WAVES #仮想通貨", VERGE:"#VERGE #バージコイン", MONA:"#MONA #モナコイン", ZENY:"#ZENY #ビットゼニー", NEM:"#NEM #XEM", XRP:"#XRP #リップル", PINK:"#PINK #ピンクコイン", NUKO:"#NUKO #ネコニウム", KUMA:"#kumacoin #クマコイン", JPY:"" }; var targetMention = {WAVES:"tipwaves",BTC:"cointip_jp",ETH:"tipether",BCH:"bch_tip",MONA:"tipmona",ZENY:"zenytips",NEM:"tipnem",XRP:"tipxrp", XP:"tip_XPchan", PINK:"pinkcointips", VERGE:"vergetips", NUKO:"tipnem", KUMA:"tipsensu", XAP:"tipxrp"}[type]; if(type=="NEM"){ suffix = " xem "; }else if(type=="ETH"){ suffix = " ETH "; }else if(type=="WAVES"){ suffix = " WAVES "; }else if(type=="NUKO"){ suffix = " nuko "; } url2 = "https://twitter.com/intent/tweet?text=@"+targetMention+" tip "+ myMention+" "+price+suffix+encodeURIComponent(mainMsg+"\n\n"+url); //tip 通貨コード 投げ銭額 投げ銭先 if(type=="KUMA"){ url2 = "https://twitter.com/intent/tweet?text=@tipsensu"+SP+encodeURIComponent("tip KUMA")+SP+price+SP+myMention+encodeURIComponent(mainMsg+"\n\n"+url); }else if(type=="LTC"||type=="ZEC"||type=="DASH"){ url2 = "https://twitter.com/intent/tweet?text=@cointippy"+SP+price+SP+type+encodeURIComponent(" to ")+myMention+encodeURIComponent(mainMsg+"\n\n"+url); } if(type=="Make"){ setRedirectLink('https://crypto-app.tokyo/ouentip/',false); }else if(type=="Pretend"){ var netaArray = ["5000兆","1億","100万","1","777","114514","666"]; if(false){ netaArray = ["1 trillion","1 billion","1 million","1","777","100","666"]; } shuffle(netaArray); var twMongonArray_jp = [[1,"もどき"],[0,"によく似たダンボール"],[0,"によく似た下手くそな手作りメダル"],[0,"っぽいチューリップの球根"],[0,"によく似た電子のごみくず"], [0,"によく似た子供銀行券"],[1,"!と、こだまするやまびこ"],[1,"!と駅前で叫んでる変なおじさん"],[1,"!と叫んでるJKコスプレイヤー"],[1,"!と叫んでるバグったVtuber"], [0,"を買いまくってた上司からの着信"] ]; shuffle(twMongonArray_jp); if(false){ twMongonArray_jp[0][0] = 1; } url2 = "https://twitter.com/intent/tweet?text=@Hisashi_vc tip "+myMention+" "+(twMongonArray_jp[0][0]?netaArray[0]:"") +(true?"ビットコイン"+twMongonArray_jp[0][1]+"が、感動のあまり投げつけられました!":" poor handmade medals similar to Bitcoin was thrown in too much emotion!")+encodeURIComponent("\n\n"+url+" #"+["ビットコイン","仮想通貨","Bitcoin","暗号通貨"][Math.floor(4*Math.random())]); setRedirectLink(url2,true); }else if(type=="BTC"||type=="ETH"||type=="LTC"||type=="ZEC"||type=="DASH"||type=="BCH"||type=="MONA"||type=="ZENY"||type=="NEM"|| type=="XRP"||type=="XP"||type=="WAVES"||type=="VERGE"||type=="PINK"||type=="NUKO"||type=="KUMA"){ url2 += encodeURIComponent(" "+hashTagArray[type]); setRedirectLink(url2,true); } } function setRedirectLink(url,isBlank){ if(true&&isBlank){ window.open(url, '_blank', 'width=600, height=500, menubar=no, toolbar=no, scrollbars=yes'); }else{ location.href = url; } } function setNandemoBtn631(){ var s = ""; s += ''; s += '
'; s += ''; s += ''; s += '
'; s += '
'; s += '@Tetsuya_K
応援チップ
'; s += '
'; s += '
'; s += '送りたいコインを選択してください'; s += '

'; s += ''; s += ''; s += ''; s += ''; s += ''; s += '

'; s += '

'; s += ''; s += ''; s += ''; s += ''; s += ''; s += '

'; s += '

'; s += ''; s += ''; s += ''; s += ''; s += ''; s += '

'; s += '

'; s += ' '; s += ' '; s += ''; s += ''; s += '

'; s += '
'; document.getElementById("allNagesenID631").innerHTML = s; } setNandemoBtn631();