Site Notice
hello, world
Difference between revisions of "Short url"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要 (第1部分)) |
([InPageEdit] 没有编辑摘要 (第1部分)) |
||
Line 13: | Line 13: | ||
alert(result.sUrl); | alert(result.sUrl); | ||
} | } | ||
− | + | ); | |
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 02:19, 22 November 2019
此页收集一些短网址生成api
腾讯
- url.cn
<html> <pre class="urlFinal">https://url.cn/</pre> <input placeholder="https://wjghj.cn" value="https://wjghj.cn" class="urlRequest"/> <button onclick="start($('.urlRequest').val())">生成</button> <script> function start(url) {
console.info(url); $.getJSON('https://doc.wjghj.cn/surl/?url='+url, function(result) { alert(result.sUrl); } );
} </script> </html>