Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.