JustDoesGames

edu hack beta

May 28th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.65 KB | None | 0 0
  1. // EDU HACK REDDIT EDITON VERSION 1.0.2 //
  2. if (running == null) {
  3.     var running = null; console.log('Program Loading...');
  4.     var line = document.getElementById('activity-status');
  5.     var actt = document.getElementById('activity-title'); var actt_skip = false;
  6.     var iframe = document.getElementById('stageFrame'); console.clear();
  7.     for (i=0;i<1;i++) {
  8.         setInterval(function() {
  9.             if (running == null) { running = true; console.log('Program Loaded! Enjoy!'); if (iframe.contentWindow.document.getElementById('invis-o-div') != null) {iframe.contentWindow.document.getElementById('invis-o-div').remove();} }
  10.             if (iframe.contentWindow.document.getElementsByClassName('FrameRight')[0] != null) { iframe.contentWindow.document.getElementsByClassName('FrameRight')[0].onclick(); }
  11.             if (iframe.contentWindow.document.getElementById('invis-o-div') != null) { iframe.contentWindow.document.getElementById('invis-o-div').remove(); console.clear(); console.log('Removed Barrier');}
  12.             if (document.getElementsByClassName('footnav goRight')[0] != null) { document.getElementsByClassName('footnav goRight')[0].click();}
  13.             if (iframe.contentWindow.document.getElementById('btnCheck') != null) { if (actt_skip == true) { iframe.contentWindow.document.getElementById('btnCheck').onclick(); } }
  14.             if (line != null) { line.innerHTML = 'Script Active.'; line.style.color = '#777'; }
  15.             if (actt != null) { if (actt.innerHTML == 'Instruction' || actt.innerHTML == 'Warm-Up' || actt.innerHTML == 'Unit Test Review') {actt.style.color = '#59ff5b'; actt_skip = true;} else {actt.style.color = '#ff5959'; actt_skip = false;} }
  16.         },1000);
  17.     }
  18. } else {
  19.     console.log('Program already running!')
  20. }
Add Comment
Please, Sign In to add comment