HPID Password Autofill

Enable HPID password autofill

  1. // ==UserScript==
  2. // @name HPID Password Autofill
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0.0
  5. // @description Enable HPID password autofill
  6. // @author Allen
  7. // @match https://login.external.hp.com/*
  8. // @match https://login-itg.external.hp.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
  10. // @grant none
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. const passwordDom = document.getElementById("password");
  18. passwordDom.parentNode.replaceChild(passwordDom.cloneNode(true), passwordDom);
  19. })();