Created
July 4, 2017 10:16
-
-
Save aigor/3c12561934810f3268a2eb11f8ee146a to your computer and use it in GitHub Desktop.
Chrome register/login
This file contains hidden or 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 field = function(name, password){ document.getElementById(name).value = password; }; | |
| var pass = 'Pa55w0rd'; | |
| field('adminPassword', pass); | |
| field('adminConfirmPassword', pass); | |
| field('supervisorPassword', pass); | |
| field('supervisorConfirmPassword', pass); | |
| document.getElementsByTagName('input')[5].removeAttribute('disabled'); | |
| })(); | |
| javascript:(function(){ | |
| var field = function(name, password){ document.getElementById(name).value = password; }; | |
| field('username', 'admin'); | |
| field('password', 'Pa55w0rd'); | |
| document.getElementById("login-form").submit(); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment