![]() ![]() If it changes, it notifies the popup-scripts (if running) and the registered content-scripts. Every two seconds, it calls the /connectivity/ path on the plugin's HTTP listener (see below) to update the current state. After unlocking, it saves the key and provides it to the content-scripts. It is only used because it is persistent through the whole browser-session and therefore prefectly suited to save the state of the addon. ![]() The background-script itself is not really interesting too. There is not much more interesting going on as the usual input validation and (un-)hiding the different parts. The popup gets the state from the background-script and displays the associated content. A content-script which runs once for each loaded page, searches for login-fields and retrieves data from Keepass and enters them.A popup which shows basic information to a user and provides the input fields required for setting up the connection and entering the ping.A background-script which runs as long as a browser-window is open.A secure and easy to use firefox-addon for Keepass.
0 Comments
Leave a Reply. |