Jump to content

ava2021

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ava2021

  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);
    })();

    This script is not working anymore can anyone help me to change it. Or get me a script that can work on local viking.

×
×
  • Create New...