Opened 3 years ago

Last modified 3 years ago

#21218 new enhancement

Switch search engine on about:tor if the one in the search bar changes

Reported by: gk Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-usability
Cc: brade, mcs, yawning Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

It seems there is a feature in Firefox that the search bar gets changed globally if the one in the search bar changes. Tor Browser users might want to have this global search engine change feature as well (i.e. having the search engine on about:tor in snyc).

Child Tickets

Change History (5)

comment:2 Changed 3 years ago by mcs

Cc: brade mcs added

comment:3 Changed 3 years ago by yawning

First stab. Works as long as you run it in the JS debugger (with the web console), but displays the failure otherwise. Someone that's smarter than I am can probably make it actually work, but this is basically what needs to be done.

https://git.schwanenlied.me/yawning/torbutton/commit/b0fc7810f5338ca1a967857aea928337b40408cf

comment:4 Changed 3 years ago by yawning

Alternatively about:newtab looks like it uses:

  • browser/base/content/contentSearchUI.js
  • browser/base/content/contentSearchUI.css

But, I don't think we want search suggestions or whatever.

comment:5 Changed 3 years ago by yawning

Cc: yawning added
Note: See TracTickets for help on using tickets.