Skip to content

Instantly share code, notes, and snippets.

@jroper
Created November 14, 2017 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jroper/a1d0a3ee59353116ebe35d2ce58f5bc1 to your computer and use it in GitHub Desktop.
Save jroper/a1d0a3ee59353116ebe35d2ce58f5bc1 to your computer and use it in GitHub Desktop.
CUA WAC password field enabler - for use with password managers.
// ==UserScript==
// @name CUA WAC password field enabler
// @namespace https://jazzy.id.au
// @version 0.1
// @description Enable the WAC password field so that a password manager can fill it.
// @author James Roper
// @match https://ob.cua.com.au/ib/*/*Login*.action
// @grant none
// ==/UserScript==
(function() {
var wac = document.getElementById("wac");
if (wac) {
wac.removeAttribute("readonly");
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment