Skip to content

Complete the UiTM SuFO forms and submit automatically.

License

Notifications You must be signed in to change notification settings

hollowsxd/uitmasufo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uitmasufo

Complete the UiTM SuFO\Exit forms and submit automatically.

Instructions

  1. Open UiTM iLearn v3
  2. Open SuFO section\Exit Survey
  3. Choose lecturers of your choice and proceed to evaluate

4.1. Paste the code below in your browsers console (F12)

SuFO

for(y=0; y<=23; y++){
	var min=2; 
    	var max=6;  
    	var random =Math.floor(Math.random() * (+max - +min)) + +min; 
	
    var questionNo = document.getElementsByName('data[AnalyticSufo][answer'+y+']');
        questionNo[random].checked = true
	document.getElementsByClassName('btn btn-success btn-flat')[0].click()
}

Exit Survey

for(y=0; y<=23; y++){
	var min=2; 
    	var max=6;  
    	var random =Math.floor(Math.random() * (+max - +min)) + +min;
	
    var questionNo = document.getElementsByName('data['+y+'][check]');
        questionNo[random].checked = true
	document.getElementsByClassName('btn btn-success btn-flat')[0].click()
}
  1. Profit

Credit

Inspired by afiqiqmal

About

Complete the UiTM SuFO forms and submit automatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published