This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

set running instance of firefox to "work offline" from CMD/CLI

  • 1 reply
  • 1 has this problem
  • 2 views
  • Last reply by guigs

more options

I too need a CMD / CLI to set firefox offline and set it online - not just necessarily starting a new instance offline

   I use CMD to switch using different NIC's for work and personal browsing.
   netsh does this brilliantly - and script-able with an icon for double click; perfect solution.
   Now the issue is, when i make office NIC offline, and iPhone NIC online and for a few minutes i need to switch (offline iPhone and online NIC); i have to remember to make firefox offline.
       If i don't, and firefox is in online mode, it will then communicate with work NIC, and the proxy server at work will be hit with blocked sites.
   If there is CMD equivalent, i can add to my script, so that when i execute the work NIC online function, one line will set the firefox browser offline as well. All this assuming only 1 instance of firefox is running ;)
I too need a CMD / CLI to set firefox offline and set it online - not just necessarily starting a new instance offline I use CMD to switch using different NIC's for work and personal browsing. netsh does this brilliantly - and script-able with an icon for double click; perfect solution. Now the issue is, when i make office NIC offline, and iPhone NIC online and for a few minutes i need to switch (offline iPhone and online NIC); i have to remember to make firefox offline. If i don't, and firefox is in online mode, it will then communicate with work NIC, and the proxy server at work will be hit with blocked sites. If there is CMD equivalent, i can add to my script, so that when i execute the work NIC online function, one line will set the firefox browser offline as well. All this assuming only 1 instance of firefox is running ;)

Modified by RoyJ

All Replies (1)

more options

Modified by guigs