shabhay 0 Posted January 12 Report Share Posted January 12 **// ==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 ! Quote Link to post Share on other sites
Ingolme 1,035 Posted January 15 Report Share Posted January 15 It removes the "readonly" attribute on all form elements of the website. Which means that you will be able to fill in form fields which were disabled previously. Quote Link to post Share on other sites
jonny0000 0 Posted January 18 Report Share Posted January 18 I am learning coding and having little experience but dont understand what is this. Quote Link to post Share on other sites
ava2021 0 Posted March 6 Report Share Posted March 6 **// ==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. Quote Link to post Share on other sites
Ingolme 1,035 Posted March 6 Report Share Posted March 6 I am suspicious of this script and the website it is targeted to. What exactly do you need this script for? For now, I will remove links to the site as it looks like advertising. Quote Link to post Share on other sites
Hitesh31 0 Posted March 6 Report Share Posted March 6 (edited) I have some issue on my website. When i open my website in any browser all the html codes shows first for two seconds after that sites gets upload. I have checked in mobile and other devices also but its happening the same issue. Can anyone here fix the issue please . The HTML Error you can see on my website by just opening it. Thanks Hitesh Edited March 14 by Ingolme Removed advertising link Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.