MacOS – How to work with (minimize/resize/un-float) a captive portal

macosNetworkwifi

Captive portals are those screen that float over everything while you're being logged into some network with terms of service (like a coffee shop or airport).

The one I encounter regularly takes almost a minute to connect after I "agree."

These "captive-portals" feel like they were built for a dystopian future…

How can I make these windows minimizable or move them out of my field of vision so I can use my screen for other things while I await a viable network connection?

Best Answer

Because of System Integrity Protection (SIP), a feature introduced in El Capitan to protect system files from modification by malware, you can’t just move the file if you have that feature enabled (it’s on by default).

So, first, you have to disable SIP on this case

Follow these steps to disable SIP:

  1. Restart your Mac.
  2. Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
  3. From the Utilities menu, select Terminal.
  4. At the prompt type exactly the following and then press Return: csrutil disable
  5. The terminal should display a message that SIP was disabled.
  6. From the Apple menu, select Restart.

After this,

  1. In the Finder, select Go > Go To Folder.
  2. Enter /System/Library/CoreServices and hit return.
  3. Find Captive Network Assistant, click it, and rename it with an extra word, like Captive Network Assistant Do Not Launch and press return.
  4. Enter your password when prompted to make the change.

After this again, enable SIP, following the first process shared on this comment just by typing csrutil enanble