By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

FireFox Javascript customization Autocomplete

Expert 100+
P: 1,071
I know it is possible to 'tweak' certain aspects of Firefox's html display.
for example, you can create a JS file so that all frames are re-sizable. So heres my Question.
Im looking for a way to disable autocomplete="off" in forms. I hate running into those, when i just want to be able to save my passwords there.
So is this possible in firefox?
Feb 23 '07 #1
Share this Question
Share on Google+
2 Replies

P: 1
anyone know?
Hi kestrel,

I saw your post now only, when I am also in the same situation to find a solution to "block" the autocomplete feature of firefox in my web page. But finally I could figure out the solution from the following site.

A sample html page is given here.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE></TITLE>
  6. <SCRIPT language="Javascript">
  7. function blockAutoComplete() {
  8.     document.forms[0].elements["txtOne"].setAttribute("autocomplete","off");
  9. }
  10. </SCRIPT>
  12. </HEAD>
  14. <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#800000" ALINK="#FF00FF" onLoad="blockAutoComplete()">
  16. <FORM NAME="form1" action="Test.htm">
  18. <b>See, for first text box auto complete is blocked and for second one it is enabled.</b><br/><br/>
  19. First text box :
  20. <INPUT TYPE="TEXT" NAME="txtOne" VALUE=""></INPUT>
  21. <br/><br/>
  22. Second text box :
  23. <INPUT TYPE="TEXT" NAME="txtTwo" VALUE=""></INPUT>
  24. <br/><br/>
  25. <INPUT TYPE="SUBMIT" NAME="btSubmit" VALUE="Submit"></INPUT>
  26. </FORM>
  28. </BODY>
  29. </HTML>
May 30 '07 #2

Expert 5K+
P: 7,435
Firefox auto:config Scroll near the bottom for "signon. prefillForms"
May 31 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.