<p>At home we have a proxy server. At work we don't. Firefox irritates in this regard: whenever I launch it, it defaults to the proxy server. If I do Tools>Options>Settings and select "No proxy", no problem. However, if I shutdown Firefox and restart it, I have to do the Tools>Options>Settings thing all over again because the "No proxy" setting doesn't "stick". </p>

<p>How do I make it stick? Alternatively, can someone suggest a bit of javascript that I can assign to a button on my toolbar which will toggle between the two states?</p>

[{'answer_id': 69610, 'author': 'Gilles', 'author_id': 10024, 'author_profile': 'https://Stackoverflow.com/users/10024', 'pm_score': 2, 'selected': True, 'text': '<p>Use <a href="http://foxyproxy.mozdev.org/" rel="nofollow noreferrer">FoxyProxy</a>, much more flexible to configure</p>\n'}, {'answer_id': 69619, 'author': 'Allan Wind', 'author_id': 9706, 'author_profile': 'https://Stackoverflow.com/users/9706', 'pm_score': 0, 'selected': False, 'text': '<p>I used a local automatic proxy configuration script for years with great success.  The trick was identifying from the URL or IP address where I was.</p>\n\n<p>/Allan</p>\n'}, {'answer_id': 160345, 'author': 'benc', 'author_id': 2910, 'author_profile': 'https://Stackoverflow.com/users/2910', 'pm_score': 1, 'selected': False, 'text': '<p>The problem was a recent windows-only regression in Firefox.</p>\n\n<p>It was hard to track down, basically I got lucky...</p>\n\n<p>Here\'s the meta bug:</p>\n\n<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=448634" rel="nofollow noreferrer">https://bugzilla.mozilla.org/show_bug.cgi?id=448634</a></p>\n\n<p>Here\'s where the fix was put in.</p>\n\n<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=446536" rel="nofollow noreferrer">https://bugzilla.mozilla.org/show_bug.cgi?id=446536</a></p>\n\n<p>I haven\'t had time to verify it, my windows system is dead right now, so I have to do it via bugmail.</p>\n'}]
['https://Stackoverflow.com/questions/69602', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/426/']