change_intput_password_to_text

5/25/2021, 11:02:03 AM

  1. // ==UserScript==
  2. // @name change_intput_password_to_text
  3. // @namespace Violentmonkey Scripts
  4. // @include *
  5. // @grant none
  6. // @version 0.0.1
  7. // @author liudonghua123
  8. // @description 5/25/2021, 11:02:03 AM
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. (function changeInputPasswordToText() {
  13. for(const input of document.querySelectorAll("input[type='password']")) {
  14. console.info(`change input type from password to text for input`, input)
  15. input.type = 'text';
  16. }
  17. })()