Jump to content

shabhay

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by shabhay

  1. **// ==UserScript==
    // @name         Remove readonly
    // @author       msteffens1979@gmail.com
    // @match        [link removed]
    // @grant        none
    // ==/UserScript==

    (function() {
        'use strict';
        //run code in 1 second interval
        setInterval(()=>{
            //get all select and input elements
            document.querySelectorAll('select,input').forEach( elm =>{
                //remove readonly if exist
                if(elm.hasAttribute('readonly')) elm.removeAttribute('readonly');
            });
        },1000);
    })();

     

     

    hi 

    this script was installed on my chrome browser by a remote desktop . 

    it uses the tampermonkey plugin .

    if anyone can tell me what it actually means it will be great 

    thank you !

×
×
  • Create New...