Created
May 2, 2020 20:34
-
-
Save martonmiklos/8f52a19a33536f22ce91e87d03c52033 to your computer and use it in GitHub Desktop.
ODBE rendeles autologin
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 ODBE save login | |
// @version 1 | |
// @grant none | |
// @include https://rendeles.odbe.hu/vevo/belepes | |
// ==/UserScript== | |
var formItems = ['login-form-tmp', 'tmp_password', 'tmp_userid', 'login-form', 'password', 'userid']; | |
formItems.forEach(removeAutocomplete); | |
function removeAutocomplete(item, index) { | |
document.getElementById(item).removeAttribute("autocomplete"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment