Posted By

M49di on 07/08/19


Tagged


Versions (?)

Alfarabi autofill script


 / Published in: JavaScript
 

URL: https://alfarabi.mans.edu.eg/login

8ayar fe el variable "score" 34an tedy score 8er 5, The score ranges from 0 to 5, You could also past the whole code in the URL bar if you don't want to use the bookmark method -------UPDATE------- the page wouldn't reload just click on it after it finishes the first request.

  1. javascript:var score = 5;
  2. var estbyan = document.getElementsByClassName("glyphicons hasSubmenu check");
  3. estbyan[0].click();
  4. var madah = document.getElementsByClassName("glyphicons dropMenu");
  5. madah[0].click();
  6. var five = document.getElementsByClassName("radio");
  7. for(var i=score+4; i<five.length; i=i+5)
  8. {
  9. five[i].click();
  10. }
  11. var doctor = document.getElementsByClassName("checker");
  12. for(var i=0; i<doctor.length; i++)
  13. {
  14. doctor[i].click();
  15. }
  16. var save = document.getElementsByClassName("btn btn-icon btn-primary glyphicons circle_ok center");
  17. save[0].click();

Report this snippet  

You need to login to post a comment.