SSC CHSL 2020 TIER 1 SCIPT
1. Open Answer key page
2. Press F12 or fn+F12 (depends on your keyboard)
3. Select the Console option which is beside Elements in the tool bar.
Or use shortcut Ctrl+Shift+J in Chrome and Ctrl+Shift+K in Firefox.
4. Copy and paste the code given below.
5. Press Enter to check your result.
Script:
for(var right=0,notAttempted=0,i=0;i<200;i++)" -- "===document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent&¬Attempted++,document.getElementsByClassName("question-pnl")[i].getElementsByClassName("rightAns")[0].textContent[0]===document.getElementsByClassName("question-pnl")[i].getElementsByClassName("bold")[5].textContent&&right++;wrong=200-notAttempted-right,marks=right-.25*wrong,console.log("Attempted : "+(200-notAttempted)+"\nRight Answers : "+right+"\nWrong Answers : "+wrong+"\nMarks : "+marks);
>>Click here to continue<<