Jump to content

Need help


Shaan Bhasin

Recommended Posts

Hi

 

Can anyone explains me what coding should i change in attached code file to remove the notification that opens up small dialog box that asks to "Remember password" and "not now" and by making a default selection for remember password without prompting to ask.

 

Thanks..

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/248344-need-help/
Share on other sites

Sorry dude but I am NOT reading through a 1500 line javascript file which does not include all the dependencies to fix an annoying popup..

Having said that I'm feeling a little generous so I had a quick squizz

 

What you are looking for is most likely in, but without prior knowledge of this system I am of little help.

__pwmgr : null, // Password Manager service
    get _pwmgr() {
        if (!this.__pwmgr)
            this.__pwmgr = Cc["@Godzilla.org/login-manager;1"].
                           getService(Ci.nsILoginManager);
        return this.__pwmgr;
    }

Link to comment
https://forums.phpfreaks.com/topic/248344-need-help/#findComment-1276747
Share on other sites

@ Buddski : I know that it is beginning from here;

What basically it do is ask for the confirmation to save the login details by showing a small dialogue box by confirming "Remember it" or "Never tell me again" If a user press "Remember now" only then it will save the information otherwise it will not; now what i want is it change the code in a manner that it will automatically pre-press the "remember now" button or select it by default without confirming.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/248344-need-help/#findComment-1278311
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.