richard pushed to branch tor-browser-115.9.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
769fd867
by Dan Ballard at 2024-03-13T19:08:24+00:00
4 changed files:
- + browser/components/search/extensions/startpage-onion/favicon.png
- + browser/components/search/extensions/startpage-onion/manifest.json
- tbb-tests/browser_tor_omnibox.js
- toolkit/components/search/SearchService.sys.mjs
Changes:
1 | +{
|
|
2 | + "name": "StartpageOnion",
|
|
3 | + "description": "Startpage Onion",
|
|
4 | + "manifest_version": 2,
|
|
5 | + "version": "1.0",
|
|
6 | + "applications": {
|
|
7 | + "gecko": {
|
|
8 | + "id": "startpage-onion@search.mozilla.org"
|
|
9 | + }
|
|
10 | + },
|
|
11 | + "hidden": true,
|
|
12 | + "icons": {
|
|
13 | + "16": "favicon.png"
|
|
14 | + },
|
|
15 | + "web_accessible_resources": [
|
|
16 | + "favicon.png"
|
|
17 | + ],
|
|
18 | + "chrome_settings_overrides": {
|
|
19 | + "search_provider": {
|
|
20 | + "name": "StartpageOnion",
|
|
21 | + "search_url": "http://startpagel6srwcjlue4zgq3zevrujfaow726kjytqbbjyrswwmjzcqd.onion/sp/search",
|
|
22 | + "search_form": "http://startpagel6srwcjlue4zgq3zevrujfaow726kjytqbbjyrswwmjzcqd.onion/sp/search/",
|
|
23 | + "search_url_post_params": "q={searchTerms}"
|
|
24 | + }
|
|
25 | + }
|
|
26 | +} |
... | ... | @@ -17,7 +17,8 @@ add_task(async function() { |
17 | 17 | is(engineIDs[3], "blockchair", "Blockchair is fourth search engine");
|
18 | 18 | is(engineIDs[4], "ddg-onion", "Duck Duck Go Onion is fifth search engine");
|
19 | 19 | is(engineIDs[5], "startpage", "Startpage is sixth search engine");
|
20 | - is(engineIDs[6], "twitter", "Twitter is sixth search engine");
|
|
21 | - is(engineIDs[7], "wikipedia", "Wikipedia is seventh search engine");
|
|
22 | - is(engineIDs[8], "yahoo", "Yahoo is eighth search engine");
|
|
20 | + is(engineIDs[6], "startpage-onion", "Startpage Onion is the seventh search engine");
|
|
21 | + is(engineIDs[7], "twitter", "Twitter is eighth search engine");
|
|
22 | + is(engineIDs[8], "wikipedia", "Wikipedia is ninth search engine");
|
|
23 | + is(engineIDs[9], "yahoo", "Yahoo is tenth search engine");
|
|
23 | 24 | }); |
... | ... | @@ -2284,9 +2284,10 @@ export class SearchService { |
2284 | 2284 | { webExtension: { id: "google@search.mozilla.org" }, orderHint: 80 },
|
2285 | 2285 | { webExtension: { id: "ddg-onion@search.mozilla.org" }, orderHint: 70 },
|
2286 | 2286 | { webExtension: { id: "startpage@search.mozilla.org" }, orderHint: 60 },
|
2287 | - { webExtension: { id: "twitter@search.mozilla.org" }, orderHint: 50 },
|
|
2288 | - { webExtension: { id: "wikipedia@search.mozilla.org" }, orderHint: 40 },
|
|
2289 | - { webExtension: { id: "yahoo@search.mozilla.org" }, orderHint: 30 },
|
|
2287 | + { webExtension: { id: "startpage-onion@search.mozilla.org" }, orderHint: 50 },
|
|
2288 | + { webExtension: { id: "twitter@search.mozilla.org" }, orderHint: 40 },
|
|
2289 | + { webExtension: { id: "wikipedia@search.mozilla.org" }, orderHint: 30 },
|
|
2290 | + { webExtension: { id: "yahoo@search.mozilla.org" }, orderHint: 20 },
|
|
2290 | 2291 | ];
|
2291 | 2292 | |
2292 | 2293 | for (let e of engines) {
|