In response to a previous question posed on Stackoverflow on how to launch Firefox with a proxy a user suggested using a .pac
(proxy auto config) file:
Set the path to your .pac file in the firefox settings, under auto-config proxy. Remember to use a file url..
To setup automatic file switching, simply configure firefox to point towards a single file
The problem I'm facing is that I need to tell FF to load the .pac file without needing to tweak any settings in the browser manually.
How can I instruct Firefox to load a .pac file on startup programmatically (preferably in Java as that is the programming language I'm using)?
Thanks