검사눌러야되고 크롬아니면 안되
코드
console.warn("[Ldroid] 곧 5초마다 영상이 자동으로 100% 찍힙니다.") let isbtnc = false; $.confirm = function(msg){ console.log("========[Ldroid] 영상 시청 완료창을 강제로 삭제했습니다!========"); if(msg.content == "학습을 완료하였습니다. 다음 영상을 보시겠습니까?"){ console.count("========[Ldroid] 다음 영상으로 넘어갑니다!========"); } else if (msg.content == "학습을 완료하였습니다. 마지막 영상 입니다."){ console.log("========[Ldroid] 마지막 영상입니다!========"); if (!isbtnc){ isbtnc = true; } else { self.close(); } } } let tsi = setInterval(function(){ document.getElementById('player1_html5').play(); // 처음 시작 지점으로 이동 document.getElementById('player1_html5').setCurrentTime(document.getElementById('player1_html5').duration); // 영상 끝지점 시간 으로 이동 totalTime = (Math.ceil(new Date().getTime() / 1000) + document.getElementById('player1_html5').duration) * 1000; // 학습터 서버에 전송될 시간(밀리초) 영상 시청시작한 시간에서 영상 을 다본후의 시간 계산후 서버에 전송(의심 방지) setTimeout(function() { next_lrn_factor_innb = $('a[data-lrnfactorinnb="'+this_lrn_factor_innb+'"]').closest('li').next().find('a.item').data('lrnfactorinnb'); next_thema_innb = $('a[data-lrnfactorinnb="'+this_lrn_factor_innb+'"]').closest('li').next().find('a.item').data('themainnb'); if(typeof ( next_lrn_factor_innb ) == 'undefined'){ next_lrn_factor_innb = $('a[data-lrnfactorinnb="'+this_lrn_factor_innb+'"]').closest('li.content_item').next().find('a').data('lrnfactorinnb'); next_thema_innb = $('a[data-lrnfactorinnb="'+this_lrn_factor_innb+'"]').closest('li.content_item').next().find('a').data('themainnb'); } if(typeof(next_lrn_factor_innb ) != 'undefined'){ data_setting(next_lrn_factor_innb, next_thema_innb); } }, 4000); },5000);
내가만든걱아니고 유튜브보다가 뜨길래 나혼자알기 아까워서 공유하는거야 출처:https://youtu.be/w4JPx8JhOPU 이형님영상가서 좋아요하나씩 드리자