-
-
Notifications
You must be signed in to change notification settings - Fork 201
Open Brave Browser in incognito mode #505
-
Am trying to use Finicky to set Brave Browser -in incognito mode- as my default browser in macOS 26.2 for all hyperlinks to web sites.
I can open Brave Browser in incognito mode using a zsh script as:
• #!/usr/bin/env zsh
• open -a "/Applications/Brave Browser.app" --args --incognito
I can set Brave Browser as my default browser in Finicky as:
• export default {
• defaultBrowser: "/Applications/Brave Browser.app",
But, I have not succeeded in getting Brave Browser to open in incognito mode.
I have tried these different configurations:
export default {
defaultBrowser: "/Applications/Brave Browser.app" --args --incognito,
export default {
defaultBrowser: -a "/Applications/Brave Browser.app" --args --incognito,
export default {
defaultBrowser: {
name: "/Applications/Brave Browser.app",
args: ["--incognito"]
},
export default {
defaultBrowser: "/Applications/Brave Browser.app",
handlers: [
{
match: () => true,
browser: {
name: "/Applications/Brave Browser.app",
args: ["--incognito"]
}
}
],
export default {
defaultBrowser: "Brave Browser",
handlers: [
{
match: () => true,
browser: ({ url }) => {
const { execSync } = require('child_process');
try {
execSync(/usr/bin/open -na "/Applications/Brave Browser.app" --args --incognito "${url}", {
stdio: 'ignore'
});
} catch (error) {
console.error('Error opening Brave:', error);
}
return null;
}
}
],
export default {
defaultBrowser: "Brave Browser",
handlers: [
{
match: () => true,
browser: ({ url, shell }) => {
shell.openInBackground(
'/usr/bin/open',
['-na', '/Applications/Brave Browser.app', '--args', '--incognito', url]
);
return null;
}
}
],
But, have not succeeded.
Also, would like to open an additional tab in Brave Browser Incognito if I hit another hyperlink.
Advice will be greatly appreciated.
Ken
Beta Was this translation helpful? Give feedback.