Last active
May 6, 2022 23:09
-
-
Save jishnu7/6088983 to your computer and use it in GitHub Desktop.
Bookmarklet to input sum value in Calicut university results page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:( | |
function() { | |
var document = window.frames.mainFrame.document, | |
fst = document.getElementById('fst').value, | |
snd = document.getElementById('snd').value; | |
document.getElementById('sum').value = parseInt(fst, 10) + parseInt(snd, 10); | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment