Site Notice

hello, world

Short url

From Project-EPB Commons
Revision as of 00:40, 22 November 2019 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

此页收集一些短网址生成api

腾讯

  • url.cn

<html> <div id="tencent"> <pre class="urlFinal">https://url.cn/</pre> <input placeholder="https://wjghj.cn" class="urlRequest"/><button onclick="getTencent()">生成</button> function getTencent() {

 $.ajax({
   url: 'https://sa.sogou.com/gettiny?url='+$('#tencent .urlRequest').val(),
   dataType: 'jsonp',
   type: 'get',
   success: function(data) {
     $('#tencent .urlFinal').html(data);
   }
 });

} </html>