Jlab Cheater

jlab cheat (fake results to print and give your teacher ;) )

  1. // ==UserScript==
  2. // @name Jlab Cheater
  3. // @description jlab cheat (fake results to print and give your teacher ;) )
  4. // @include http://education.jlab.org/solquiz/results.php*
  5. // @version 0.0.1.20140525024113
  6. // @namespace https://gf.qytechs.cn/users/2178
  7. // ==/UserScript==
  8. var NumOfQs = document.getElementsByClassName('resultquestion').length
  9. var oC=document.getElementsByClassName('resultincorrect').length
  10. var oR=document.getElementsByClassName('resultcorrect').length
  11. for (var i=1;i<NumOfQs;i++) {
  12. if (!document.getElementsByClassName('resultincorrect')){
  13. break;
  14. }
  15. if (document.getElementsByClassName('resultincorrect').length!=0){
  16. document.getElementsByClassName('resultincorrect')[0].innerHTML='Correct!';
  17. document.getElementsByClassName('resultincorrect')[0].setAttribute('class','resultcorrect');
  18. }
  19. }
  20. document.getElementsByClassName('sectionscore1')[0].innerHTML='You answered '+NumOfQs+' questions out of '+NumOfQs+' correctly!';
  21. document.getElementsByClassName('sectionscore2')[0].innerHTML='Score for this section: 100.00%';
  22. document.getElementById('totalscore').innerHTML='Total Score: 100.00%';
  23. document.getElementById('timeindex').contentEditable='true';
  24. alert('Dont forget to edit the time it took you to finish so that it is believable ;)\nIt is right below "Results" in big letters. (Just click and type)\nYour score is really '+oC/NumOfQs*100+'%.\nThere is no way to tell this is a fake just print it.\nIt will be a perfect fake.\nDON\'T EMAIL RESULTS IT WILL SEND THE ORIGINAL GRADE!!!\nTo see why paste javascript:alert(unescape(document.cookie)) into your address bar.');

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址