- Run a local web server, for example using /usr/bin/python3 -m http.server in Terminal.
- Open http://localhost:8000 in Safari
- Add to Dock...
- Open the new Safari web app
- Open the Settings and select the Extensions pane
"Can read and alter sensitive information in “Localhost”, including passwords, phone numbers, and credit cards, and see your activity on (null)."
See the attached screenshots.

