Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Open Brave Browser in incognito mode #505

kcburns0428 started this conversation in General
Discussion options

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

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /