Skip to content

Instantly share code, notes, and snippets.

@wktk
Last active January 29, 2018 20:47
Show Gist options
  • Save wktk/f70a90ecfd8b73a734b8153271cec2bf to your computer and use it in GitHub Desktop.
Save wktk/f70a90ecfd8b73a734b8153271cec2bf to your computer and use it in GitHub Desktop.
shinsei_bank_helper.user.js
// ==UserScript==
// @name Shinsei Bank Helper
// @description Disables Security-keyboard for use with password managers
// @namespace https://gist.github.com/wktk/f70a90ecfd8b73a734b8153271cec2bf
// @match https://*.shinseibank.com/FLEXCUBEAt/LiveConnect.dll*
// @version 1
// @grant none
// ==/UserScript==
(() => {
const form = document.frmLogonInput;
// Disable software keyboard
form.chksecmod.checked = false;
form.fldUserPass.readOnly = false;
form.fldUserNumId.readOnly = false;
setInterval(() => {
// Login View
if (form.fldUserID) {
// Submit the form when all the fields are filled
if (form.fldUserID.value !== '' && form.fldUserNumId.value !== '' && form.fldUserPass.value !== '') {
form.submit();
}
}
}, 2000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment