0.1.0 • Published 3 years ago

@josephuspaye/open-private v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

open-private

Open a URL in private mode in your default browser from the command line on Windows

This project is part of #CreateWeekly, my attempt to create something new publicly every week in 2020.

Installation

npm install -g @josephuspaye/open-private

Examples

Open a URL in private mode

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

open-private https://example.com -n

Usage

  Description
    Open the given URL in private mode in your default browser

  Usage
    $ open-private <url> [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

Licence

MIT