Home » » Simpan Password Otomatis pada Firefox

Simpan Password Otomatis pada Firefox

Written By Unknown on Jumat, 11 Januari 2013 | Jumat, Januari 11, 2013


 

1.  Keluar dari Firefox
2.  Buka Folder berikut >> C:\Program Files\Mozilla firefox\components
3.  Cari File "nsLoginManagerPrompter.js". Jika belum punya silahkan download :
http://dxr.mozilla.org/mozilla-central/toolkit/components/passwordmgr/nsLoginManagerPrompter.js.html 
4.  Buka file "nsLoginManagerPrompter.js" kedalam notepad, kalau bisa sih di notepad++. 
5.  Tekan tombol CTRL+F dan cari kode berikut : _showSaveLoginNotification : function (aNotifyObj, aLogin) 
6.  Lihat kode dibawahnya, dan hapus pada kode berikut :  

        // Ugh. We can't use the strings from the popup window, because they
        // have the access key marked in the string (eg "Mo&zilla"), along
        // with some weird rules for handling access keys that do not occur
        // in the string, for L10N. See commonDialog.js's setLabelForNode().
        var neverButtonText =
              this._getLocalizedString("notifyBarNeverRememberButtonText");
        var neverButtonAccessKey =
              this._getLocalizedString("notifyBarNeverRememberButtonAccessKey");
        var rememberButtonText =
              this._getLocalizedString("notifyBarRememberPasswordButtonText");
        var rememberButtonAccessKey =
              this._getLocalizedString("notifyBarRememberPasswordButtonAccessKey");

        var displayHost = this._getShortDisplayHost(aLogin.hostname);
        var notificationText;
        if (aLogin.username) {
            var displayUser = this._sanitizeUsername(aLogin.username);
            notificationText  = this._getLocalizedString(
                                        "rememberPasswordMsg",
                                        [displayUser, displayHost]);
        } else {
            notificationText  = this._getLocalizedString(
                                        "rememberPasswordMsgNoUsername",
                                        [displayHost]);
        }

        // The callbacks in |buttons| have a closure to access the variables
        // in scope here; set one to |this._pwmgr| so we can get back to pwmgr
        // without a getService() call.
        var pwmgr = this._pwmgr;

        // Notification is a PopupNotification
        if (aNotifyObj == this._getPopupNote()) {
            // "Remember" button
            var mainAction = {
                label:     rememberButtonText,
                accessKey: rememberButtonAccessKey,
                callback: function(aNotifyObj, aButton) {
                    pwmgr.addLogin(aLogin);
                    browser.focus();
                }
            };

            var secondaryActions = [
                // "Never for this site" button
                {
                    label:     neverButtonText,
                    accessKey: neverButtonAccessKey,
                    callback: function(aNotifyObj, aButton) {
                        pwmgr.setLoginSavingEnabled(aLogin.hostname, false);
                        browser.focus();
                    }
                }
            ];

            var notifyWin = this._getNotifyWindow();
            var chromeWin = this._getChromeWindow(notifyWin).wrappedJSObject;
            var browser = chromeWin.gBrowser.
                                    getBrowserForDocument(notifyWin.top.document);

            aNotifyObj.show(browser, "password-save", notificationText,
                            "password-notification-icon", mainAction,
                            secondaryActions, { timeout: Date.now() + 10000,
                                                persistWhileVisible: true });
        } else {
            var notNowButtonText =
                  this._getLocalizedString("notifyBarNotNowButtonText");
            var notNowButtonAccessKey =
                  this._getLocalizedString("notifyBarNotNowButtonAccessKey");
            var buttons = [
                // "Remember" button
                {
                    label:     rememberButtonText,
                    accessKey: rememberButtonAccessKey,
                    popup:     null,
                    callback: function(aNotifyObj, aButton) {
                        pwmgr.addLogin(aLogin);
                    }
                },

                // "Never for this site" button
                {
                    label:     neverButtonText,
                    accessKey: neverButtonAccessKey,
                    popup:     null,
                    callback: function(aNotifyObj, aButton) {
                        pwmgr.setLoginSavingEnabled(aLogin.hostname, false);
                    }
                },

                // "Not now" button
                {
                    label:     notNowButtonText,
                    accessKey: notNowButtonAccessKey,
                    popup:     null,
                    callback:  function() { /* NOP */ }
                }
            ];

            this._showLoginNotification(aNotifyObj, "password-save",
                                        notificationText, buttons);
        }

7.  Setelah menghapus kode diatas, masukkan kode berikut sebagai gantinya :
var pwmgr = this._pwmgr;
pwmgr.addLogin(aLogin);
Sehingga tampak seperti berikut : 

8.  Jika semua step diatas sudah, lalu simpan file diatas.

*Kesimpulan :
Saat anda sedang memasukkan password (pada apa saja yang anda kungjungi dari firefox),
maka tampilan gambar diatas tidak akan muncul dan akan otomatis mengklik buttonRemember.
Share this article :

4 komentar:

  1. saya dah coba dan semuanya benar,,saya coba ko ga bisa menyimpan otomatis ya boos,,jadi selalu ada peringatan apakah anda akan menyimpan paswod tersebut,,jadi kita harus selalu klik ya /tidak apakah harus pake mozila yg fersi englis,,bukan yg bahasa indo mohon bantuannnya

    BalasHapus
  2. bisakan program failnya di kirim bos yg udah jadi jadi gampang saya hanya memasukan nya aja boss,,he ee maksih sebelumnya boss,

    BalasHapus
  3. mau seting buat versi virofok yg terbaru dong

    BalasHapus
  4. maap baru komentar, ini bisa di pakai di mozilla yg lama, coba aja karna saya pakai mozila lama tapi bisa kok ..

    BalasHapus

W A R N I N G !
Komentar anda tidak boleh mengandung unsur :

*. memberi atau mempromosikan link di BLOG ini.
*.Spamming (SSpam coment).
*. menuliskan hal2 yg tidak layak / tidak etis secara moral / SARA / menyinggung perasaan orang lain / hate / racism
*. Jika sudah pintar jangan sombong.

Translate

Wordpress

 
Support : FACEBOOK | TWITTER | BLOGGER
Copyright © 2013. #DLN-Code 48 - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger