console
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit"/>
<meta name="author" content="JSRUN.NET">
<meta id="viewport" name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_86871_g3icb8f87n.css"/>
<link rel="stylesheet" type="text/css" href="//cdn.jsrun.top/css/light-style.css?v=20170822"/>
<link rel="stylesheet" type="text/css" href="//cdn.jsrun.top/css/page.css?v=20210206"/>
<link rel="icon" href="/res/favicon.ico"/>
<script type="text/javascript" src="/res/ads/adview_pic_cpc_cpm_cpa_guanggao_gg_ads_300x250.js"></script>
<script src="//cdn.jsrun.top/js/jquery.3.3.1.min.js"></script>
<script type="text/javascript" src="//cdn.jsrun.top/js/Global.min.js?v=20210118"></script><title>bobobo demo源码预览下载- JSRUN</title>
<script>
var slug = "Lg3Kp";
var unlogin = false;
var username = "lloo77";
var emailVerified = false;
</script>
</head>
<body style="overflow: hidden;">
<div id="powered">
Powered by JSRUN
</div>
<div id="exampleTop">
<div class="top">
<div class="ct">
<a href="/user/lloo77">
<div class="avatar">
<img src="//cdn.jsrun.top/avatar/30121_1587441812842.png">
</div>
<div class="un">
<span class="u">
mgsdyl
(lloo77)
</span>
<div style="clear: both;"></div>
</div>
</a>
<div id="close"><i style="font-size: 20px;" class="iconfont icon-close"></i></div>
<div class="des">
bobobo
</div>
<div class="btns">
<a class="btn" href="/Lg3Kp/edit">编辑源码</a>
<a class="btn" href="/download?slug=Lg3Kp" target="_blank">下载源码</a>
<a class="btn" href="/square">更多项目</a>
<a class="btn like" href="/Lg3Kp/appreciate">
<i style="font-size: 12px;"
class="iconfont icon-up"></i>
<span id="appreciateCount">0</span>
</a>
<div style="clear: both;"></div>
</div>
</div>
<div class="section">
<div class="comment">
<textarea id="replyComment" cols="30" rows="2"></textarea>
<button class="replyComment">留言</button>
</div>
</div>
<div style="clear: both;"></div>
</div>
<style>
#exampleTop .bottom{
border-radius: 9px;
margin-top: 5px;
}
.bottom a{
border: 1px dashed #d0d0d0;
color: #7d7d7d;
text-decoration: none;
font-size: 12px;
padding: 0 5px;
margin: 2px;
border-radius: 3px;
}
.bottom a:hover{
background: #f3f3f3;
}
.bottom img {
width: 12px;
}
</style>
<div class="bottom" style="background: #fff;box-shadow: 1px 6PX 8px #00000017;">
<a href="/new">
JS在线编辑
</a>
<a href="http://js.">
JS在线运行
</a>
<a href="http://php.">
PHP在线运行
</a>
<a href="http://java.">
Java在线运行
</a>
<a href="http://json.jsrun.net">
JSON解析格式化
</a>
<a href="http://c.">
C语言在线运行
</a>
<a href="http://py.">
Python在线运行
</a>
<a href="http://go.">
Go语言在线运行
</a>
<a href="http://dart.">
Dart在线运行
</a>
</div>
<div class="bottom">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="ca-pub-9929988558625915"
data-ad-slot="7739080417"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div id="iframeLoading">
<div class="sk-wave">
<div class="sk-rect sk-rect1"></div>
<div class="sk-rect sk-rect2"></div>
<div class="sk-rect sk-rect3"></div>
<div class="sk-rect sk-rect4"></div>
<div class="sk-rect sk-rect5"></div>
</div>
</div>
<div id="ifm">
<script>
(function () {
var createEmbedFrame;
createEmbedFrame = function () {
var iframe, target, uid, uriEmbedded;
uid = "JSREMB_" + (~~(new Date().getTime() / 86400000));
uriEmbedded = "//rs.jsrun.pro/Lg3Kp/result/light";
target = document.querySelector("#ifm");
iframe = document.createElement("iframe");
iframe.src = uriEmbedded;
iframe.id = uid;
iframe.stylesheet = "";
iframe.width = "100%";
iframe.height = "0";
iframe.frameBorder = "0";
iframe.allowtransparency = true;
iframe.sandbox = "allow-modals allow-forms allow-popups allow-scripts allow-same-origin";
iframe.allow="microphone;camera;midi;encrypted-media;"
target.parentNode.insertBefore(iframe, target.nextSibling);
iframe.width = document.documentElement.clientWidth;
iframe.height = document.documentElement.clientHeight;
window.onresize = function () {
iframe.width = document.documentElement.clientWidth;
iframe.height = document.documentElement.clientHeight;
};
iframe.onload = function () {
document.getElementById("iframeLoading").style.display = "none";
};
};
setTimeout(createEmbedFrame, 5);
document.getElementById("powered").onclick = function () {
document.getElementById("exampleTop").style.display = "block";
localStorage.codeShowInfo = "true";
};
document.getElementById("close").onclick = function () {
document.getElementById("exampleTop").style.display = "none";
localStorage.codeShowInfo = "false";
};
if (localStorage.codeShowInfo === "false") {
document.getElementById("exampleTop").style.display = "none";
}
}).call(this);
</script>
</div>
<style>
.danmu {
background-color: rgba(0, 0, 0, 0.336);
height: 20px;
line-height: 24px;
padding: 5px 10px;
border-radius: 20px;
position: fixed;
overflow: hidden;
z-index: 99999999999;
}
</style>
<script>
var body = document.body;
var winH = body.clientHeight;
var comments = [];
var commentsIndex = 0;
function insert() {
if (comments.length === 0) {
clearInterval(timerDanmu);
return;
}
if (commentsIndex >= comments.length) {
clearInterval(timerDanmu);
setTimeout(function () {
commentsIndex = 0;
startDanmu();
}, 15000);
return;
}
var newli = document.createElement('div');
newli.innerHTML = comments[commentsIndex++];
newli.className = 'danmu';
newli.style.color = '#FFF';
var newliT = Math.floor(Math.random() * (body.offsetHeight / 3 * 2));
var newliL = body.clientWidth;
newli.style.left = newliL + 'px';
newli.style.top = newliT + 'px';
body.appendChild(newli);
move(newli);
}
function move(obj) {
var timer1 = setInterval(function () {
var newliW = obj.clientWidth;
var run = obj.offsetLeft;
run -= 3;
if (run <= -newliW) {
body.removeChild(obj);
clearInterval(timer1);
}
obj.style.left = run + 'px';
}, 20);
}
var timerDanmu;
function startDanmu() {
clearInterval(timerDanmu);
timerDanmu = setInterval(function () {
insert();
}, 1000);
}
startDanmu();
window.onfocus = function () {
clearInterval(timerDanmu);
timerDanmu = setInterval(function () {
insert();
}, 1000);
};
</script>
<div style="display: none">
<script async src="//s4.cnzz.com/stat.php?id=1258872242&web_id=1258872242" language="JavaScript"></script>
</div>
<div id="jsrunCheck007"></div>
<script>
if (window != top && ("undefined" == typeof doNotCheckHref)) {
top.location.href = window.location.href;
}
</script>
</body>
</html>