diff options
Diffstat (limited to 'www/chromium-uc/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch')
| -rw-r--r-- | www/chromium-uc/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch b/www/chromium-uc/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch new file mode 100644 index 0000000..0ef3743 --- /dev/null +++ b/www/chromium-uc/patches/core/ungoogled-chromium/replace-google-search-engine-with-nosearch.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | --- components/search_engines/prepopulated_engines.json.orig | ||
| 2 | +++ components/search_engines/prepopulated_engines.json | ||
| 3 | @@ -113,21 +113,11 @@ | ||
| 4 | }, | ||
| 5 | |||
| 6 | "google": { | ||
| 7 | - "name": "Google", | ||
| 8 | - "keyword": "google.com", | ||
| 9 | - "favicon_url": "https://www.google.com/images/branding/product/ico/googleg_lodp.ico", | ||
| 10 | - "search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:iOSSearchLanguage}{google:prefetchSource}{google:searchClient}{google:sourceId}{google:contextualSearchVersion}ie={inputEncoding}", | ||
| 11 | - "suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTerms}&{google:inputType}{google:omniboxFocusType}{google:cursorPosition}{google:currentPageUrl}{google:pageClassification}{google:searchVersion}{google:sessionToken}{google:prefetchQuery}sugkey={google:suggestAPIKeyParameter}", | ||
| 12 | - "image_url": "{google:baseSearchByImageURL}upload", | ||
| 13 | - "contextual_search_url": "{google:baseURL}_/contextualsearch?{google:contextualSearchVersion}{google:contextualSearchContextData}", | ||
| 14 | - "image_url_post_params": "encoded_image={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight}", | ||
| 15 | - "alternate_urls": [ | ||
| 16 | - "{google:baseURL}#q={searchTerms}", | ||
| 17 | - "{google:baseURL}search#q={searchTerms}", | ||
| 18 | - "{google:baseURL}webhp#q={searchTerms}", | ||
| 19 | - "{google:baseURL}s#q={searchTerms}", | ||
| 20 | - "{google:baseURL}s?q={searchTerms}" | ||
| 21 | - ], | ||
| 22 | + "name": "No Search", | ||
| 23 | + "keyword": "nosearch", | ||
| 24 | + "favicon_url": "about:blank", | ||
| 25 | + "search_url": "http://{searchTerms}", | ||
| 26 | + "new_tab_url": "about:blank", | ||
| 27 | "type": "SEARCH_ENGINE_GOOGLE", | ||
| 28 | "preconnect_to_search_url" : "ALLOWED", | ||
| 29 | "id": 1 | ||
