-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Custom Brave switches
Brian Clifton edited this page Mar 7, 2024
·
9 revisions
In addition to supporting all Chromium command line switches, the following switches are supported:
-
npm start --disable_brave_extension
: Disable loading Brave extension on startup (note: this only disable the extension control view, not Shields) -
npm start --disable_pdfjs_extension
: Prevent installing the PDFJS extension -
npm start --disable_webtorrent_extension
: Disable loading Brave WebTorrent extension on startup
Note: If you'd like to use
yarn
instead ofnpm
you can useyarn import
to create ayarn.lock
file from ourpackage-lock.json
.
If a CLI flag --ntp-branded-data-path
is provided with a valid FS directory path, then that directory will be used and the remote component will not be used or fetched.
This is a great way to create a folder with a photo.json
to test new integrations with the new tab page.
See components/brave_wallet/common/switches.cc
--dev-wallet-password="your_password"
--bitcoin-mainnet-rpc-url="your_btc_url"
--bitcoin-testnet-rpc-url="your_btc_testnet_url"
--asset-ratio-dev-url="https://ratios.rewards.brave.software"
--show-component-extension-options
-
--simulate-outdated
simulate Brave being out of date (should show downloading in brave://settings/help)