Tags: password

08/26/09

  11:26:03 pm, by The Dreamer   , 109 words  
Categories: Software

Password AutoFill on Password form's with disabled Username field

In addition to previous hack to nsLoginManager.js -- Remember Password Override for Firefox 3.0

I came up with another hack to do:

Change:

        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly ||
            usernameField && (usernameField.disabled ||
                              usernameField.readOnly)) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];
        }

To:

        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];
        }

Because there's a certain site and prompts for Username first, and then on the second page provides a disabled Username field prefilled in and prompts for password. The disabled Username field was preventing autofill of saved password....

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 19 years 8 months 22 days 12 hours 35 minutes and 16 seconds until the end of time.
And, it has been 5 years 4 months 5 days 1 hour 27 minutes and 40 seconds since The Doctor saved us all from the end of the World!

Search

April 2018
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 2
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime