mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-22 11:56:22 +02:00
feat: allow camoufox to open new tabs in running browser
This commit is contained in:
@@ -117,10 +117,6 @@ export function useBrowserState(
|
||||
return isRunning;
|
||||
}
|
||||
|
||||
if (profile.browser === "camoufox" && isRunning) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// For other browsers, any profile can be used
|
||||
return true;
|
||||
},
|
||||
@@ -222,7 +218,6 @@ export function useBrowserState(
|
||||
|
||||
if (canUseForLinks) return null;
|
||||
|
||||
const isRunning = runningProfiles.has(profile.id);
|
||||
const isLaunching = launchingProfiles.has(profile.id);
|
||||
const isStopping = stoppingProfiles.has(profile.id);
|
||||
const isBrowserUpdating = isUpdating(profile.browser);
|
||||
@@ -252,10 +247,6 @@ export function useBrowserState(
|
||||
}
|
||||
}
|
||||
|
||||
if (profile.browser === "camoufox" && isRunning) {
|
||||
return "Anti-detect profiles can only open links on first launch";
|
||||
}
|
||||
|
||||
return "This profile cannot be used for opening links right now.";
|
||||
},
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user