We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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
  • 12 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