16 lines
615 B
HTML
16 lines
615 B
HTML
<html>
|
|
<body background="https://cdn.luogu.org/images/bg-footer.png">
|
|
<h2 style="color:white">Luogu图床随机查看器</h2>
|
|
<p style="color:white">原作:@happyZYM 魔♂改:@wenge</p>
|
|
<hr/>
|
|
<script type="text/javascript">
|
|
var randnum;
|
|
randnum=Math.floor(Math.random()*40000);
|
|
var txt="https://cdn.luogu.org/upload/pic/"+randnum+".png";
|
|
var txt_ref="<a style=\"color:white\"href=\""+txt+"\" target=\"_blank\">"+txt+"</a>";
|
|
document.write("<p style=\"color:white\">地址:</p>"+txt_ref);
|
|
document.write("<p style=\"color:white\">图片:</p>");
|
|
document.write("<img src="+txt+">");
|
|
</script>
|
|
</html>
|