Skip to main content

macOS Brave Browser.app scripts

Project description

Installation

$ [sudo] pip install mac-brave
$ [sudo] npm i -g mac-brave

Config

$ export BRAVE_TIMEOUT=10 # 5 by default

Examples

url(s)

$ brave urls
https://github.com/
https://google.com/
$ brave url
https://github.com/

open/refresh

$ brave open "https://github.com/" "https://google.com/"
$ brave refresh "https://github.com/"

fullscreen

$ brave fullscreen-enter
$ brave fullscreen-detect
1
$ brave fullscreen-exit

frontmost (1 or 0)

$ brave frontmost
0

Brave Browser.app process

$ brave pid
42
$ brave isready 5 # timeout 5 seconds
1
$ brave kill

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac-brave-2020.12.3.tar.gz (4.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page