Created
April 14, 2019 10:15
-
-
Save bkhanale/55752aecfa8920ef519d62d299ecf4ce to your computer and use it in GitHub Desktop.
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
// ==UserScript== | |
// @name New Userscript | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://hib.iiit-bh.ac.in/Hibiscus/Login/?client=iiit&sub=OK | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
javascript:document.getElementsByName('uid')[0].value="username"; | |
document.getElementsByName('pwd')[0].value="password"; | |
var str=document.getElementById('txtCaptchaDiv').innerHTML; | |
str=str.slice(0,-7); | |
document.getElementsByName('txtInput')[0].value=eval(str); | |
document.getElementsByName('sub')[0].click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment