请问该如何才能看到这个网页源码 用Firefox可以看到所有源码啊。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 firefox不能看到这个他代码屏蔽了,可能很难办到 你用以下的这个代码粘贴到地址栏中,回车,然后你可以在那个插入的框中运行JS,这是我写的一个有时用来做点小动作的东东来的,可以当作一个网址加入收藏家,以后打开一个网页后,点下收藏夹,点这个链接你就可以在当前的网页加入JS运行框,但是要是它有一个不明 是什么机制就不行,你只要一改了它的网页它就会中转,而对于这样的网页你得用一个HTA文件来用OPEN打开后,得到句把,这样你可以任意在你的这个HTA文件中来操作它了,插入框的事件方法:输入地址栏后回车;就会在讠网页插入和得到当前的源代码 ;//javascript:var y=" style='width:100%'>",o,x=document;x.body.insertAdjacentHTML("afterBegin","<div id=d name=d style='z-index:9;position:absolute'><textarea rows=20 ondblclick=this.value='' oncontextmenu=eval(this.value)"+y+x.all[0].outerHTML+"</textarea><input onmousedown='o=this;o.setCapture();x=event.x-d.offsetLeft;y=event.y-d.offsetTop' onmousemove='if(o==this){d.style.left=event.x-x;d.style.top=event.y-y}' onmouseup='o.releaseCapture();o=0'"+y+"</div>");alert()//另给你一个HTA文件:///<input onkeypress="if(event.keyCode == 13)createwin(800,500,this.value)" id=urlinput value="http://www." style="width:100%;" title="id=urlinput;请在此输入网页地址;窗口ID=win"><textarea onkeypress="if(event.keyCode==19)eval(this.value)" style="width:100%;height:100%" id=command title="id=command 弹出窗口ID=win 全局JS窗口:jsweb;在此输入命令后按CTRL+S" oncontextmenu='js.style.display=""'>jsweb.document.open();jsweb.document.write( '<script' + '>\n' +'var topwin = null;\n' +'</script' + '>\n' );jsweb.topwin = window;jsweb.document.write(js.value);jsweb.document.close();</textarea><textarea id=js style="width:100%;height:100%;displayer:none" oncontextmenu='js.style.display="none"' title="id=js"><script>function unload(){ try{ if(topwin.win.document.body.readyState == "complete"){ if(topwin.win.status == "qidizi")return false; var wa = topwin.win.document.all; for(var i = 0; i < wa.length;i++){ wa[i].style.display = ""; wa[i].style.color = "black"; } topwin.win.status = "qidizi"; } }catch(e){;}}setInterval("unload()",1000);</script></textarea><iframe id=jsweb style="display:none" src=""></iframe><script language ='javascript'><!--var win = null;function createwin(w,h,u){ try{ win.location.href = u; }catch(e){ win = window.open("",'win','width=' + w + ',height=' + h + ',menubar=no,toolbar=no,location=yes,directories=no,status=yes,scrollbars=yes,resizable=yes'); win.location.href = u; }}function forx(n){ if(n == null) return false; js.value = ""; for (var v in eval(n)) { js.value += n + '.' + v + ' = ' + eval( n + '.' + v) + '\n'; }}//--></script> 不错 还请问这个 hta文件要怎么用?如果分不够,另开贴加 要是懂JS的话瞧下就可以了,但是要是不懂的话,了解是不必要的,因为要得到别人的东东就是用JS来操作的,只不过是我那里提供,一个你打开的远程网页的窗口对象,一个可以运行代码的输入框,然后你就可以像在它的网页中运行JS一样来操作, 想问下js的document.write对浏览器版本的支持问题 求助!子窗口传不了值到父窗口!求助! select动态添加删除选项,添加的option只出现在最后一个select? javascript如何调用帮助文件???????????????? 帮我改一下错.关于表单检测的 动态数据存数据 两段js代码写在一起冲突了,找不到原因,求解决…… 对不起,hrong(黄蓉_逍遥拳修炼中),请回复一下 怎样限制input框的录入内容 一个简单问题? [惊喜]:FlashVml(璀灿之星)4.0发布、蓝丽网、蓝丽技术论坛恢复! 小女子请教大侠一个问题,感激ing
这个他代码屏蔽了,可能很难办到
//
javascript:var y=" style='width:100%'>",o,x=document;x.body.insertAdjacentHTML("afterBegin","<div id=d name=d style='z-index:9;position:absolute'><textarea rows=20 ondblclick=this.value='' oncontextmenu=eval(this.value)"+y+x.all[0].outerHTML+"</textarea><input onmousedown='o=this;o.setCapture();x=event.x-d.offsetLeft;y=event.y-d.offsetTop' onmousemove='if(o==this){d.style.left=event.x-x;d.style.top=event.y-y}' onmouseup='o.releaseCapture();o=0'"+y+"</div>");alert()
//另给你一个HTA文件:
///
<input onkeypress="if(event.keyCode == 13)createwin(800,500,this.value)" id=urlinput value="http://www." style="width:100%;" title="id=urlinput;请在此输入网页地址;窗口ID=win">
<textarea onkeypress="if(event.keyCode==19)eval(this.value)" style="width:100%;height:100%" id=command title="id=command 弹出窗口ID=win 全局JS窗口:jsweb;在此输入命令后按CTRL+S" oncontextmenu='js.style.display=""'>jsweb.document.open();
jsweb.document.write(
'<script' + '>\n'
+'var topwin = null;\n'
+'</script' + '>\n'
);
jsweb.topwin = window;
jsweb.document.write(js.value);
jsweb.document.close();
</textarea>
<textarea id=js style="width:100%;height:100%;displayer:none" oncontextmenu='js.style.display="none"' title="id=js">
<script>
function unload(){
try{
if(topwin.win.document.body.readyState == "complete"){
if(topwin.win.status == "qidizi")return false;
var wa = topwin.win.document.all;
for(var i = 0; i < wa.length;i++){
wa[i].style.display = "";
wa[i].style.color = "black";
}
topwin.win.status = "qidizi";
}
}catch(e){;}
}
setInterval("unload()",1000);</script>
</textarea>
<iframe id=jsweb style="display:none" src=""></iframe>
<script language ='javascript'>
<!--
var win = null;
function createwin(w,h,u){
try{
win.location.href = u;
}catch(e){
win = window.open("",'win','width=' + w + ',height=' + h + ',menubar=no,toolbar=no,location=yes,directories=no,status=yes,scrollbars=yes,resizable=yes');
win.location.href = u;
}
}function forx(n)
{
if(n == null) return false;
js.value = "";
for (var v in eval(n))
{
js.value += n + '.' + v + ' = ' + eval( n + '.' + v) + '\n';
}
}
//-->
</script>
还请问这个 hta文件要怎么用?
如果分不够,另开贴加