1
crab 2013-01-12 15:11:33 +08:00
网址发下看看啊。
|
2
jimmy2010 2013-01-12 15:18:09 +08:00
虚拟机里播放呢
|
3
d0a1ccec 2013-01-12 15:22:51 +08:00
chrome浏览器,审核代码,把弹窗js删除
|
4
d0a1ccec 2013-01-12 15:23:50 +08:00
或者直接抓到视频下载地址, 下载到本地看
|
5
hyh1048576 2013-01-12 15:28:17 +08:00
你不能播放的时候一直按着回车键吗
|
6
brucmao OP @hyh1048576 我现在是用个橡皮擦把回车键压住...
@d0a1ccec 不是想看这个视频,关键是要把这个视频看完才算学习完,下载到本地没意义 @crab http://cq.chinahrt.com/ 要注册的,然后在我的课程里观看,并且是IE only |
7
qinxg 2013-01-12 16:58:27 +08:00
用高版本IE或装IE开发人员工具都可以的。。不过看这个框框好像不是dom原生的啊
|
8
brucmao OP IE8查看源文件结果
<html> <head> <style> body{ margin:0px; padding:0px;} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type='text/javascript' src='../resource/mtmcode.js'></script> <link href="/chinahrt/resource/style/common/ymPrompt.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="/chinahrt/resource/js/ymPrompt.js"></script> <title>科学素养与科研方法</title> <script type="text/javascript"> function init() { API = this.document.APIAdapter; } </script> <script language="JavaScript" type="text/javascript"> function pauseDialog(){ if(this.document.hasFocus()){ window.showModelessDialog("/chinahrt/hrt/course/scorm/course_player/showMessage.html","提示信息","dialogWidth:469px;dialogHeight:194px;scroll:no;status:no"); //ymPrompt.alert({title:'温馨提示',message:'您的学习已持续2分钟,要继续学习吗?'}); //ymPrompt.win({message:'/chinahrt/hrt/course/scorm/course_player/showMessage.html',width:500,height:300,title:'温馨提示',iframe:true}); } } function ff(){ alert(); } //禁用所有子frame中的右键 function noRight(doc){ //frames的集合 var fs = doc.frames; for(var i=0;i<fs.length;i++){ var f = fs[i]; // alert(f.name); var d = f.document; var b = d.body; if(null==b){ b = d.getElementsByTagName("body")[0]; } b.oncontextmenu=bodyNoRight; // b.onload=noRight(d); noRight(d); if(f.name=="rightFrame"){ f.parent.onload=fNoRight(f); } } } function bodyNoRight(){ return false; } function fNoRight(f){ f.document.body.oncontextmenu=bodyNoRight; } </script> </head> <body oncontextmenu="return false"> <span id="tt"></span> <iframe id="playFram" name="playFram" onload="noRight(this.document)" src="http://cqzj.chinahrt.com:80/chinahrt/hrt/course/scorm/course_player/api.jsp?url=/chinahrt/data/course/12c3da7a120658bf7fc1c8e492692800/2011-12-01/C1322720036549/sco0800.htm&userId=262663&courseNumber=C1322720036549&scoId=0800&sessionId=1357982293390" height="100%" width="100%" scrolling="no" marginheight="0" frameborder="0" > </iframe> <script>window.setInterval(pauseDialog,1000*60*5);</script> <!-- <script>window.setInterval(pauseDialog,1000*60*20);</script> --> </body> </html> @qinxg |
9
qinxg 2013-01-12 18:37:38 +08:00
在开发人员工具脚本里写
function pauseDialog(){} 就可以了 |
11
jiyinyiyong 2013-01-12 22:00:18 +08:00
function pauseDialog(){}
代码在调试工具的控制台里执行一遍, 就会把原先的函数覆盖.. 应该是不用其他操作才对 |