Site Notice
hello, world
Difference between revisions of "Short url"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要 (第1部分)) |
([InPageEdit] 没有编辑摘要 (第1部分)) |
||
Line 8: | Line 8: | ||
<script> | <script> | ||
function getTencent() { | function getTencent() { | ||
− | $('.tc-s-url).attr('src','https://sa.sogou.com/gettiny?url='+$('#tencent .urlRequest').val()); | + | $('.tc-s-url').attr('src','https://sa.sogou.com/gettiny?url='+$('#tencent .urlRequest').val()); |
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 02:32, 22 November 2019
腾讯
- url.cn
<html> <div id="tencent"> <iframe style="border:none; width:100%; height:1.4em;" class="tc-s-url"></iframe> <input placeholder="https://wjghj.cn" value="https://wjghj.cn" class="urlRequest"/> <button onclick="getTencent()">生成</button> </div> <script> function getTencent() {
$('.tc-s-url').attr('src','https://sa.sogou.com/gettiny?url='+$('#tencent .urlRequest').val());
} </script> </html>