Created
May 10, 2017 20:02
-
-
Save hylophile/7aa52716a6ffe469133138a70817d5b4 to your computer and use it in GitHub Desktop.
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
| // ==UserScript== | |
| // @name htw autologin | |
| // @namespace lsf-htw-berlin | |
| // @include https://lsf.htw-berlin.de/* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| x=document.getElementsByName("submit").item(0); | |
| if(x.value === "Jetzt einloggen") { | |
| x.dispatchEvent(new MouseEvent('click')); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment