You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<meta charset="utf-8" /> |
|
<title>Ushio - Proxy</title> |
|
<link rel="stylesheet" media="screen" href="css/login.css"> |
|
<script type="text/javascript">block_aplayer = true; lang = ['zh', 'en'];</script> |
|
<script src="https://cdn.yimian.xyz/ushio-js/ushio-head.min.js"></script> |
|
<script type="text/javascript">page.proj = 'iotcat/ushio-proxy';</script> |
|
<script>//page.auth = ['any'];</script> |
|
</head> |
|
<body> |
|
<!-- particles.js container --> |
|
<div id="particles-js" style="display: flex;align-items: center;justify-content: center"> |
|
<canvas class="particles-js-canvas-el" style="width: 100%; height: 100%;" width="472" height="625"></canvas> |
|
</div> |
|
<div class="apTitle"><span class=".zh">请输入链接:</span><span class=".en">Input the link you want to proxy</span></div> |
|
<div class="logcon"><input type="text" id="url" placeholder="https://xxx.xx/xx/xx"> |
|
<button type="button" id="btn"><span class=".zh">生成</span><span class=".en">Generate</span></button> |
|
</div> |
|
|
|
|
|
|
|
<!-- scripts --> |
|
<script src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script> |
|
<script> |
|
$('#btn').click(function(){ |
|
//window.location.href="./get/?url="+window.btoa($('#url').val());; |
|
if($('#url').val().indexOf("proxy.yimian.xyz") == -1){ |
|
if($('#url').val().substr(0, 4) != 'http'){ |
|
$('#url').val('http://'+$('#url').val()); |
|
} |
|
$('#url').val("https://proxy.yimian.xyz/get/?url="+window.btoa($('#url').val())); |
|
} |
|
}) |
|
</script> |
|
|
|
</body> |
|
</html>
|
|
|