Ceisteanna leis an gclib seo á dtaispeáint: Taispeáin gach ceist
  • Cartlannaithe

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

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 wo… (tuilleadh eolais)

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 ;)

Asked by RoyJ 6 bliana ó shin

Last reply by guigs 6 bliana ó shin

  • Cartlannaithe

width and height command line args stopped working in Fireforx

Tried running: /Applications/Firefox.app/Contents/MacOS/firefox-bin -width 800 -height 600 (worked in 57) after updating to 61.0.2 it was no longer supported. Also tried … (tuilleadh eolais)

Tried running: /Applications/Firefox.app/Contents/MacOS/firefox-bin -width 800 -height 600 (worked in 57) after updating to 61.0.2 it was no longer supported. Also tried with no luck: /Applications/Firefox.app/Contents/MacOS/firefox-bin --window-size 800,600

is there any alternative args?

OS: macOS Sierra 10.12.6

Asked by noamdoron 3 bliana ó shin

Last reply by FFus3r 3 bliana ó shin