Skip to content

Instantly share code, notes, and snippets.

@jishnu7
Last active May 6, 2022 23:09
Show Gist options
  • Save jishnu7/6088983 to your computer and use it in GitHub Desktop.
Save jishnu7/6088983 to your computer and use it in GitHub Desktop.
Bookmarklet to input sum value in Calicut university results page.
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