Closed edouard-lopez closed 3 years ago
Yes please!!!
Not sure if the right issue also, but when installed on Ubuntu, you can lock Brave in the launcher. And with a right click, having option for the incognito
and incognito+tor
would also be great.
Thanks for mentioning this @jackcaron - In Windows 10, this context feature of 'right-clicking' from the TaskBar or Start Menu also exists. It would be a GREAT if Brave could also add the "New Incognito+Tor Window" selection to these special context menus. This could be an extension of the command-line option being requested here...
Just had a user on Reddit confirm that a way to do this in Windows (tested and works on my end): https://www.reddit.com/r/brave_browser/comments/a7aflb/how_to_launch_brave_browser_in_incognito_mode_by/ Method:
Properties
Target
path, enter [space]--incognito
after quotationsApply/OK
[space]
refers the actual space character - command throws invalid path error without the space between the last "
and --incognito
Yes, please, add the command line to open brave tor window. That's a real need for us.
+1 for adding CLI command to open Brave tor window (start Brave --tor
perhaps?)
+1 for adding New private window with Tor
option to Windows 10 special context menus
Additional (related) request:
Allow the user to specify the default new window type (normal window
, private window
, or private window with Tor
). So that a user may choose for Brave to always open to a private window with Tor
. This would be an outstanding addition (which even Chrome does not have).
Can't wait for this to be implemented.
+1 bump
+1 Bump.
It's been 2 years already... Please implement it soon. It'd be a killer feature. Also, please add it to the context menu (.desktop file on Linux) so we get a "New Incognito Window with Tor" option on right-clicking the shortcut.
It would be a great feature, yes !
how f*cking long this will take? Do hear me? just parse a new cli argument and trigger incognito+tor mode just like incognito.
Calm down dude !
how f*cking long this will take? Do hear me? just parse a new cli argument and trigger incognito+tor mode just like incognito.
Yup, should be pretty simple. Good thing it's open source, we'll keep an eye out for the pull request.
If anyone needs this feature for automation (for example, using Brave Incognito+Tor mode in selenium), try using xdotool windowactivate --sync <Brave's_ window_id> key alt+shift+n
to send the shortcut to the browser instead. Later, you can use driver.switch_to.window()
to switch to the Incognito+Tor window and keep running your tests.
If you already thought about using selenium's sendKeys() to open the Incognito+Tor mode, that doesn't work because apparently "keys get sent directly to the render process, bypassing the browser process. So, any keyboard shortcut handlers in the browser process will not be invoked by sendKeys()."
Of course, I would prefer to use brave-browser --incognito --tor
, but it doesn't exist yet :(
Since it's been 2 years, I'm assuming this is a very very hard problem. Is there an unsurmountable technical reason why It has not been implemented? It seems it's not as simple as parsing --tor
or whatever and launching a new browser window, like some people suggested? Am I wrong about this?
I believe this is the hardest problem the team has ever encountered.
Doug Jordan
On Fri, Nov 6, 2020 at 8:29 PM russeg notifications@github.com wrote:
Since it's been 2 years, I'm assuming this is a very very hard problem. Is there an unsurmountable technical reason why It has not been implemented? It seems it's not as simple as parsing --tor or whatever and launching a new browser window, like some people suggested? Am I wrong about this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brave/brave-browser/issues/2105#issuecomment-723376953, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXTPXIU5V2ZJDL4FFJRDI3SOSWJ5ANCNFSM4GDHBVGA .
It seems impossible for them as Tor is not part of the browser itself, but a built-in extension. If they can merge Tor in, then it would be simple.
You can use:
brave onion
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.
You can use:
brave onion
Thanks for the tip! For some users, like myself, it may be brave-browser onion
. I'm on Kubuntu and used the official apt install instructions (not snap).
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.
@vikaspatelp83, This works partially, but on my system, Brave also tries to load a new "onion/" page in a new tab and fails with "This site can't be reached" error.
Is there a more specific syntax that can be used so the failed new tab doesn't open?
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.@vikaspatelp83, This works partially, but on my system, Brave also tries to load a new "onion/" page in a new tab and fails with "This site can't be reached" error.
Is there a more specific syntax that can be used so the failed new tab doesn't open?
I'm bumping this because of all the crap that's been suggested this is the one thing that is nearly working on Windows. adding "--" does nothing but open a normal window (and a single dash does nothing, obviously)
As of now, I just use:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.AppActivate "brave"
WshShell.SendKeys "+%{n}"
as a .vbs file, which is executed by the batch file (after the brave window is opened) 😐
As of now, I just use:
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.AppActivate "brave" WshShell.SendKeys "+%{n}"
as a .vbs file, which is executed by the batch file (after the brave window is opened) 😐
The batch file is:
start brave --incognito
timeout 2
wscript [path/filename of vbs file].vbs
The timeout of 2s is for the window to load (might be more/less for you)
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.@vikaspatelp83, This works partially, but on my system, Brave also tries to load a new "onion/" page in a new tab and fails with "This site can't be reached" error.
Is there a more specific syntax that can be used so the failed new tab doesn't open?
After getting the brave widow, just open a new tab and search anything this new window is opened in tor browser mode.
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.@vikaspatelp83, This works partially, but on my system, Brave also tries to load a new "onion/" page in a new tab and fails with "This site can't be reached" error. Is there a more specific syntax that can be used so the failed new tab doesn't open?
After getting the brave widow, just open a new tab and search anything this new window is opened in tor browser mode.
That's not what is being asked: we're trying to do this WITHOUT the GUI. External programs can't invoke the Tor-mode browser (properly), even though there is a flag to do so.
Create a shortcut with the target:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" onion
it will fire brave tor.@vikaspatelp83, This works partially, but on my system, Brave also tries to load a new "onion/" page in a new tab and fails with "This site can't be reached" error. Is there a more specific syntax that can be used so the failed new tab doesn't open?
After getting the brave widow, just open a new tab and search anything this new window is opened in tor browser mode.
That's not what is being asked: we're trying to do this WITHOUT the GUI. External programs can't invoke the Tor-mode browser (properly), even though there is a flag to do so.
Yes that's right.
You can use:
brave onion
Thanks for the tip! For some users, like myself, it may be
brave-browser onion
. I'm on Kubuntu and used the official apt install instructions (not snap).
Running "brave-browser onion" on my Brave 1.19.88 / Fedora 33 / x86_64 system gets my a hanging browser, followed by a segmentation fault every time. Also, opening https://3g2upl4pq6kufc4m.onion/ (Duckduckgo) from the command line does the same, no matter if brave was already running or not. Opening Duck by typing said address in an already-running brave browser is no problem at all.
I got the /Onion can't be reached error too. After enabling "Automatically redirect .onion sites" in settings, it is working now. But a native solution like -onion start parameter would be way better IMO. Thank for updating Tor anyways finally I can skip the captchas and block elements using uBlock. Just FYI I used: "brave.exe onion" - I tested it with any Site like "brave.exe 3g2upl4pq6kufc4m.onion" It opens 2 tabs in Tor one "onion/" and another with the Link, in this case: https://3g2upl4pq6kufc4m.onion/.
+1 Community: https://community.brave.com/t/setting-private-or-private-with-tor-as-default-tab-types/235252/5 @rebron this issue has been around for some time -- is there any way we can get someone to take a stab at this or is it blocked by something?
Related question, is there some flag (brave://flags) that forces Brave to always use Tor mode?
After enabling "Automatically redirect .onion sites" in settings, it is working now. But a native solution like -onion start parameter would be way better IMO.
Hey thanks, this is a good workaround. Look forward to a real CLI option though glad to see this just recently got (officially) put on the radar
I think we need some more detail here for Actual result
. What should happen if there is a previously saved profile that would normally be restored on startup? I think this should be a separate profile or maybe even a separate user data dir so it doesn't cause any problems there, but we need to outline these scenarios for QA and browser tests.
it's possible that --incognito
already handles ^^ but we still need to explain what the expected behavior is for those cases
This feature was implemented in https://github.com/brave/brave-core/pull/9533. It makes it possible to start Brave in Tor mode by running:
brave-browser --tor
Note that if the --tor
switch is used together with --silent-launch
, Tor won't be launched.
Closing. Fixed per comment above.
brave-browser --tor
This command doesn't work on the stable version. Please help me or reopen this issue.
Verified PASSED
using the testplan from https://github.com/brave/brave-core/pull/9533 with
Brave | 1.29.48 Chromium: 92.0.4515.131 (Official Build) nightly (x86_64) |
---|---|
Revision | 6b8d6c56ce21e38a72f7c4becb5abc1fa5134f29-refs/branch-heads/4515@{#1933} |
OS | macOS Version 11.5.1 (Build 20G80) |
Verification passed on
Brave | 1.29.60 Chromium: 92.0.4515.131 (Official Build) beta (64-bit) |
---|---|
Revision | 6b8d6c56ce21e38a72f7c4becb5abc1fa5134f29-refs/branch-heads/4515@{#1933} |
OS | Ubuntu 18.04 LTS |
Verified test plan from https://github.com/brave/brave-core/pull/9533
Verification passed on
Brave | 1.29.74 Chromium: 93.0.4577.58 (Official Build) (64-bit)
-- | --
Revision | c4410ece044414ea42fa4ba328d08195e818a99c-refs/branch-heads/4577@{#1076}
OS | Windows 10 OS Version 2009 (Build 19043.1165)
brave-browser --tor
This command doesn't work on the stable version. Please help me or reopen this issue.
hi @xmha97 - this does work in 1.29.48
and newer nightly
builds, and will be in the August 31st release (https://github.com/brave/brave-browser/wiki/Brave-Release-Schedule), if not sooner (if we take the change and uplift/back-port to 1.28.x
branch).
Brave doesn't start in tor mode when app mode is also used.
ie:
brave --tor --app="https://whatismyipaddress.com/"
~/gnf.pt
Description
related: #690, #1457
Starting Brave in incognito mode via command is possible with the
--incognito
flag. However there is no such flag for the Tor feature.Steps to Reproduce
To enable Tor you have to:
brave-browser --incognito
(here in incognito mode) ;Alt+Shift+N
(Linux user) ;Actual result:
Works
Expected result:
Open directly via a flag, e.g.:
Reproduces how often:
Every time
Brave version (brave://version info)