Tags: remember

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 20 years 2 months 27 days 17 hours 45 minutes and 27 seconds until the end of time.
And, it has been 4 years 10 months 20 hours 17 minutes and 29 seconds since The Doctor saved us all from the end of the World!

Search

October 2017
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 31          
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
blogging software

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

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