<p>Suppose someone worked for a company that put up an HTTP proxy preventing internet access without password authentication (NTLM, I think). Also suppose that this password rotated on a daily basis, which added very little security, but mostly served to annoy the employees. How would one get started writing a Firefox add-on that automatically entered these rotating passwords?</p>

<p><em>To clarify: This add-on would not just submit the password; the add-on would programmatically generate it with some knowledge of the password rotation scheme.</em></p>

[{'answer_id': 41183, 'author': 'Adam Lassek', 'author_id': 1249, 'author_profile': 'https://Stackoverflow.com/users/1249', 'pm_score': 3, 'selected': False, 'text': '<p>This is built into Firefox. Open up about:config, search for \'ntlm\'</p>\n\n<p>The setting you\'re looking for is called network.automatic-ntlm-auth.trusted-uris and accepts a comma-space delimited list of your proxy server uris.</p>\n\n<p>This will make FireFox automatically send hashed copies of your windows password to the proxy, which is disabled by default for obvious reasons. IE can do this automatically because it can use security zones to figure out whether a proxy server is trusted or not.</p>\n\n<p><a href="https://sivel.net/2007/05/firefox-ntlm-sso/" rel="nofollow noreferrer">Blog post discussing this</a></p>\n'}, {'answer_id': 41186, 'author': 'Shog9', 'author_id': 811, 'author_profile': 'https://Stackoverflow.com/users/811', 'pm_score': 2, 'selected': False, 'text': "<p>It's your lucky day - no need for an add-on!</p>\n\n<h2>How to configure Firefox for automatic NTLM authentication</h2>\n\n<ol>\n<li>In Firefox, type about:config into the address bar and hit enter.  You should see a huge list of configuration properties. </li>\n<li>Find the setting named network.negotiate-auth.delegation-uris (the easiest way to do this is to type that into the filter box at top). </li>\n<li>Double-click this line, and enter the names of all servers for which network authentication is desired, separated by commas.  Then press ‘OK’ to confirm.      </li>\n<li>Find the setting network.negotiate-auth.trusted-uris, and set it to the same value used in #3. </li>\n<li>Find the setting network.ntlm.send-lm-response, and set it to true. </li>\n<li>Skip steps 7 and 8 if you aren't using a proxy.</li>\n<li>Open the options dialog (Tools->Options menu), and on the Advanced page, Network tab, press the Connection Settings button to get the proxy configuration dialog:  </li>\n<li>Make sure the correct proxy server is configured, and that the same list of servers is listed in the No Proxy for: entryfield as were set in step #3. </li>\n<li>Done. </li>\n</ol>\n"}]
['https://Stackoverflow.com/questions/41169', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/816/']