Ken2812221(留言墙 | 貢獻) 小无编辑摘要 标签:sourceedit |
Ken2812221(留言墙 | 貢獻) 小无编辑摘要 标签:sourceedit |
||
第38行: | 第38行: | ||
$.getJSON( |
$.getJSON( |
||
− | "zh.tos.wikia.com/api.php", |
+ | "http://zh.tos.wikia.com/api.php", |
{ |
{ |
||
action: 'edit', |
action: 'edit', |
||
appendText: '123', |
appendText: '123', |
||
− | title: 'User:Ken2812221 |
+ | title: 'User:Ken2812221', |
token: token |
token: token |
||
}, |
}, |
2015年7月11日 (六) 04:13的版本
編號 | 等級 | 技能回合數 | 昇華等級 | |
---|---|---|---|---|
隊長 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
隊員1 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
隊員2 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
隊員3 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
隊員4 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
隊友 | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> | <input type="number" min="1" max="9999" /> |
<textarea></textarea> <script> (function NewTeam(){ if(typeof jQuery == "undefined") { setTimeout(NewTeam, 100); return; }
if(typeof mw == "undefined") { setTimeout(NewTeam, 100); return; }
var token = mw.user.tokens.get( 'editToken' );
$.getJSON( "http://zh.tos.wikia.com/api.php", { action: 'edit', appendText: '123', title: 'User:Ken2812221', token: token }, function(data){ window.asdjkfhksjd = data; } ); })(); </script>