Remove disabled all input

зачем оно нужно

  1. // ==UserScript==
  2. // @name Remove disabled all input
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description зачем оно нужно
  6. // @author S30N1K
  7. // @match *://*/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (() => {
  12. document.onreadystatechange = () => {
  13. if (document.readyState === "complete") {
  14. setImmediate(() => {
  15. const allInput = document.querySelectorAll("input")
  16. for (const input of allInput) {
  17. input.removeAttribute("disabled")
  18. }
  19. })
  20. }
  21. }
  22. })()