shabhay Posted January 12, 2021 Share Posted January 12, 2021 **// ==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 ! Link to comment Share on other sites More sharing options...
Ingolme Posted January 15, 2021 Share Posted January 15, 2021 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. Link to comment Share on other sites More sharing options...
jonny0000 Posted January 18, 2021 Share Posted January 18, 2021 I am learning coding and having little experience but dont understand what is this. Link to comment Share on other sites More sharing options...
ava2021 Posted March 6, 2021 Share Posted March 6, 2021 **// ==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. Link to comment Share on other sites More sharing options...
Ingolme Posted March 6, 2021 Share Posted March 6, 2021 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. Link to comment Share on other sites More sharing options...
Hitesh31 Posted March 6, 2021 Share Posted March 6, 2021 (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, 2021 by Ingolme Removed advertising link Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now