I used 

var html = document.body.innerHTML;
html = html.replace( /maxlength/g, 'maxlength="150"' );
document.body.innerHTML = html;

But then the other functions on the page (selection field or checkbox e.d.) 
do not work .
Test page 
https://www.marktplaats.nl/syi/201/224/plaatsAdvertentie.html?bucket=37&origin=HEADER


Op zaterdag 16 augustus 2014 15:25:49 UTC+2 schreef Gebruiker:
>
> Please help me to replace a line with a new text
>
> <input id="" class="l-stretchable-fixed invalid" type="text" maxlength="" 
> value="" name="title">
> into
>
> <input id="" class="l-stretchable-fixed invalid" type="text" maxlength
> ="100" value="" name="title">
>

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to