[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.9.0esr-13.5-1] fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing



Title: GitLab

richard pushed to branch tor-browser-115.9.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 788a92e2
    by Dan Ballard at 2024-03-13T11:51:50-07:00
    fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
    
    Bug 42459: Add Startpage Onion search provider
    

4 changed files:

Changes:

  • browser/components/search/extensions/startpage-onion/favicon.png
    No preview for this file type
  • browser/components/search/extensions/startpage-onion/manifest.json
    1
    +{
    
    2
    +  "name": "StartpageOnion",
    
    3
    +  "description": "Startpage Onion",
    
    4
    +  "manifest_version": 2,
    
    5
    +  "version": "1.0",
    
    6
    +  "applications": {
    
    7
    +    "gecko": {
    
    8
    +      "id": "startpage-onion@xxxxxxxxxxxxxxxxxx"
    
    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
    +}

  • tbb-tests/browser_tor_omnibox.js
    ... ... @@ -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
     });

  • toolkit/components/search/SearchService.sys.mjs
    ... ... @@ -2284,9 +2284,10 @@ export class SearchService {
    2284 2284
           { webExtension: { id: "google@xxxxxxxxxxxxxxxxxx" }, orderHint: 80 },
    
    2285 2285
           { webExtension: { id: "ddg-onion@xxxxxxxxxxxxxxxxxx" }, orderHint: 70 },
    
    2286 2286
           { webExtension: { id: "startpage@xxxxxxxxxxxxxxxxxx" }, orderHint: 60 },
    
    2287
    -      { webExtension: { id: "twitter@xxxxxxxxxxxxxxxxxx" }, orderHint: 50 },
    
    2288
    -      { webExtension: { id: "wikipedia@xxxxxxxxxxxxxxxxxx" }, orderHint: 40 },
    
    2289
    -      { webExtension: { id: "yahoo@xxxxxxxxxxxxxxxxxx" }, orderHint: 30 },
    
    2287
    +      { webExtension: { id: "startpage-onion@xxxxxxxxxxxxxxxxxx" }, orderHint: 50 },
    
    2288
    +      { webExtension: { id: "twitter@xxxxxxxxxxxxxxxxxx" }, orderHint: 40 },
    
    2289
    +      { webExtension: { id: "wikipedia@xxxxxxxxxxxxxxxxxx" }, orderHint: 30 },
    
    2290
    +      { webExtension: { id: "yahoo@xxxxxxxxxxxxxxxxxx" }, orderHint: 20 },
    
    2290 2291
         ];
    
    2291 2292
     
    
    2292 2293
         for (let e of engines) {
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits