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.7.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page