https://github.com/josephuspaye/open-private
Open a URL in private mode in your default browser from the command line on Windows
https://github.com/josephuspaye/open-private
browser cli createweekly private windows
Last synced: about 1 month ago
JSON representation
Open a URL in private mode in your default browser from the command line on Windows
- Host: GitHub
- URL: https://github.com/josephuspaye/open-private
- Owner: JosephusPaye
- License: mit
- Created: 2020-12-31T03:41:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T03:45:55.000Z (over 5 years ago)
- Last Synced: 2025-10-21T22:39:37.033Z (7 months ago)
- Topics: browser, cli, createweekly, private, windows
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# open-private
> Open a URL in private mode in your default browser from the command line on Windows
This project is part of [#CreateWeekly](https://twitter.com/JosephusPaye/status/1214853295023411200), my attempt to create something new publicly every week in 2020.
## Installation
```bash
npm install -g @josephuspaye/open-private
```
## Examples
### Open a URL in private mode
```sh
open-private https://example.com
```
**NOTE**: It's currently not possible to launch some browsers, like the original (pre-Chromium) Microsoft Edge, in private mode. When this is the case with your default browser, you will be prompted on whether to continue with a launch in normal mode or not.
### Open a URL in normal mode
```sh
open-private https://example.com -n
```
## Usage
```
Description
Open the given URL in private mode in your default browser
Usage
$ open-private [options]
Options
-n, --nah I've changed my mind, open the URL in the normal browser mode instead
-v, --version Displays current version
-h, --help Displays this message
Examples
$ open-private open-private https://example.com
$ open-private open-private http://en.wikipedia.org -n
```
## Related
- [@josephuspaye/default-browser-win](https://github.com/JosephusPaye/default-browser-win) a version of this module for programmatic use
## Licence
[MIT](LICENCE)