Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tor window uses Google.com by default #1226

Closed
lukemulks opened this issue Sep 21, 2018 · 9 comments
Closed

Tor window uses Google.com by default #1226

lukemulks opened this issue Sep 21, 2018 · 9 comments

Comments

@lukemulks
Copy link

lukemulks commented Sep 21, 2018

Description

On win10 x64, when I select the Open Tor Window option from the sync menu, the open Tor window uses google as the search engine.

Expected Tor default search engine:
Tor default, global (except for France & Germany): duckduckgo.com
Tor default, France & Germany: qwant.com

Steps to Reproduce

  1. Click on the sync menu
  2. Open New Tor Window: brave-core-tor-issue-09202018
  3. Enter a keyword into the URL bar. Observe Google.com search results.

Actual result:

Google.com results.

Expected result:

DDG results (global, except for France and Germany)
Qwant results (France, Germany)

Reproduces how often:

100%

Brave version (chrome://version info)

Brave | 0.55.5 Chromium: 70.0.3538.16 (Official Build) dev (64-bit)
-- | --
Revision | 16ed95b41bb05e565b11fb66ac33c660b721f778-refs/branch-heads/3538@{#306}
OS | Windows
JavaScript | V8 7.0.276.9
Flash | (Disabled)
User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.16 Safari/537.36
Command Line | "C:\Program Files (x86)\BraveSoftware\Brave-Browser-Dev\Application\brave.exe" --enable-tab-audio-muting --disable-domain-reliability --disable-chrome-google-url-tracking-client --no-pings --enable-features=EnableEmojiContextMenu,DesktopPWAWindowing,fill-on-account-select,NewExtensionUpdaterService --disable-features=SharedArrayBuffer --flag-switches-begin --flag-switches-end

Reproducible on current release:

no

Website problems only:

  • Does the issue resolve itself when disabling Brave Shields?
  • Is the issue reproducible on the latest version of Chrome?

Additional Information

@rebron
Copy link
Collaborator

rebron commented Sep 21, 2018

cc: @mkarolin

@simonhong
Copy link
Member

simonhong commented Sep 21, 2018

I'll take a look at this issue - I implemented private search engine in private window feature.

@simonhong simonhong assigned simonhong and unassigned darkdh Sep 21, 2018
@darkdh
Copy link
Member

darkdh commented Sep 26, 2018

@simonhong tor window is different than private window. It is a type of guest window with only persistent search engine setting. I recommend setting kDefaultSearchProviderDataPrefName when tor profile created and prevent ProfileManager::SetNonPersonalProfilePrefs from clearing it.

@riastradh-brave
Copy link
Contributor

brave/brave-core#529 partially fixes this so that we don't use Google in Tor windows, which (I think) is the only release-blocking part of this because Google's captcha inundation makes it unusable in Tor, so I'm removing the release/blocking (and feature/tor/leakproofing -- not actually a leak, just usability) labels. It does not address the part about choosing between DDG and Qwant, so I'll leave this open.

@riastradh-brave riastradh-brave removed feature/tor/leakproofing Eliminating unexpected ways that someone using Tor might be unmasked. release/blocking labels Oct 3, 2018
@darkdh
Copy link
Member

darkdh commented Oct 3, 2018

Qwant for France & Germany should be posted as different issue because it is not tor specific but applies for all profiles
Even so, we still can't close this until brave/brave-core#529 (comment) is solved

@yrliou yrliou self-assigned this Oct 9, 2018
@bbondy bbondy added the QA/Yes label Oct 10, 2018
@srirambv
Copy link
Contributor

This looks fixed to me on 0.55.12 on both Linux and Windows. Default search engine shown when typing search term in URL is DDG.

@kjozwiak @LaurenWags to confirm once on macOS.

Can this be closed ?

@yrliou
Copy link
Member

yrliou commented Oct 10, 2018

@srirambv
Right now DDG is the default search engine in Tor on all platforms, we didn't close this because users should be able to change their default search engine in Tor per #1226 (comment).
We could probably open a specific issue for the ability to change the default search engine in Tor to avoid confusion here. (And one for qwant part too)

@srirambv
Copy link
Contributor

Agreed. DDG is default similar to b-l. so this can be closed and new issue can be logged for user settings for search engines in Tor windows.

@kjozwiak
Copy link
Member

@kjozwiak @LaurenWags to confirm once on macOS.

Yup, same results on macOS. Thanks for checking Win/Linux @srirambv! Going to add the appropriate flags and close this off as discussed above.

Also created the following issues:

We could probably open a specific issue for the ability to change the default search engine in Tor to avoid confusion here.

Created #1513

Qwant for France & Germany should be posted as different issue because it is not tor specific but applies for all profiles

Created #1514

@yrliou please feel free to re-open if something was missed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment