Is it possible to stop the chat input box from remembering history? It is highly irritating :D

Tried a quick fix using autocomplete="off" in the <form> tag of the html and it worked fine in terms of turning off the autocomplete however it stopped the chat entry box from clearing on submit so feel there would be a further tweak required.

Recommended Answers

All 7 Replies

Member Avatar for diafol

Depending on which browser you're using you could write some js to do this yourself, either with an extension or used with something like Greasemonkey.

If only one knew how to do such aha

<input type="text" value="" style="width:100%" name="message" id="chat-message">

Adding autocomplete="off" to the above text box line would allow chat to not remember inputs and also functions fully without any other changes.

AFAIK, it's not valid HTML, but I'm still in agreement with Mike. It's kinda annoying.

It's valid HTML5.

Okay, that's good to know. Maybe my memory was stuck in the HTML4 days...

Thanks for doing so Dani :)!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.