https://github.com/aemony/win11-websearchproviders
Adds Google and DuckDuckGo as web search providers in Windows 11 for European Economic Area (EEA) devices (aka "EU devices").
https://github.com/aemony/win11-websearchproviders
bing-search eu european-union web-search-providers windows-11 windows-11-tweak
Last synced: 4 months ago
JSON representation
Adds Google and DuckDuckGo as web search providers in Windows 11 for European Economic Area (EEA) devices (aka "EU devices").
- Host: GitHub
- URL: https://github.com/aemony/win11-websearchproviders
- Owner: Aemony
- License: mit
- Created: 2025-05-31T10:59:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-01T20:29:01.000Z (about 1 year ago)
- Last Synced: 2025-06-18T06:06:26.058Z (12 months ago)
- Topics: bing-search, eu, european-union, web-search-providers, windows-11, windows-11-tweak
- Language: JavaScript
- Homepage:
- Size: 174 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Win11-WebSearchProviders
Adds **Google**, **DuckDuckGo**, and **Brave Search** as web search providers in Windows 11 for European Economic Area (EEA) devices (aka "EU devices") as a proof of concept of the implementation of a third-party search engine.
* Please be aware that this may not always be functioning due to the Cloudflare proxy worker it relies on may occasionally hit captcha blocks at the search engines, preventing results from appearing.
*Note that link previews are currently not implemented.*

## Requirements
* A device installed with Windows 11 in "EU mode". This is required because the [custom web search provider](https://learn.microsoft.com/en-us/windows/apps/develop/search/search-providers) functionality are only provided for such devices.
* [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development#activate-developer-mode) enabled, as this is required to sideload the application as it is signed with a self-signed certificate.
* Admin rights on the machine (required to install the self-signed certificate).
## Installation
1. [Download](https://github.com/Aemony/Win11-WebSearchProviders/releases/latest) `Win11-WebSearchProviders.zip` and extract it in a folder of your choice.
2. Run `setup.bat` or `setup.ps1`. Either of these will prompt for elevated rights (needed to install the self-signed certificate) before installing the `_package.msix` archive.
3. Once the app has been installed, type something in the Start Menu/Search in Windows and click on the `Google`, `DuckDuckGo`, or `Brave Search` category on top.
* You can also type `Google: test`, `DuckDuckGo: test`, or `Brave Search: test` directly to search using the specified search engine.
4. Click a suggested search query to me taken directly to the search results of the selected search engine.
5. Web search providers can be disabled through the Settings app, under *Privacy & security* -> *Search permissions* -> **Web search**.
* 
## Uninstall
Right click on `Google`, `DuckDuckGo`, or `Brave Search` in the start menu and click **Uninstall**.
## Repository overview
* `cf_worker` - One half of the core of the whole project, this intermediate proxy runs as a free Cloudflare worker and facilitates communication between Windows 11 and the third-party search engine.
* `cpp` - A C++ Win32 desktop app whose sole purpose is to open the website of the search engine when launched. Added because MSIX packages apparently needed some launchable executable.
* `deploy` - All relevant files needed to create and install the package.
* `deploy\Source\AppxManifest.xml` - The other half of the core of the whole project, this defines the web search provider extensions and points Windows 11 towards the intermediate Cloudflare proxy worker.
## Interesting findings
* I was surprised to see that an application/package can seemingly install an unlimited amount of web search providers. This means we might have a "one package to rule them all" situation where a single application/package can install all of the most commonly used search engines in one go unto the system.
* Individual web search providers can be disabled under Settings -> Privacy & security -> Search permissions -> Web search ("Let search apps show results").
* The UI of the Search window is in need of some QoL polish when it comes to these types of third-party web search providers as various UX shortcuts are not supported (e.g. hitting Tab when having typed `Duck` to get it to auto-complete to `DuckDuckGo: ` does not work).
* This whole feature sees no support or use anywhere, probably because Microsoft only added it to adhere to EU laws and so only allows the functionality to be used on EU devices. But this also means that no third-party search engine supports the functionality out-of-the-box (to my knowledge), requiring the use of a intermediate proxy to facilitate traffic between the two.
* The Windows 11 API supports defining a custom protocol that can be used to open the search results in an application of the developer's choice. However interestingly enough, if *no* custom protocol is defined, then Windows 11 tries to use Edge (even if it is not installed) to open the results. Additionally, if the normal HTTP or HTTPS protocol is defined, nothing will work at all (or I guess it might open it in Edge, which I don't have installed). The only way to get Windows 11 to actually use the default web browser installed on the system is to use an invalid protocol that has not been registered on the system as this will force Windows to use the default web browser instead.
* This is just annoying to deal with.
* Windows 11's built-in search functions through the [Microsoft Bing](https://apps.microsoft.com/detail/9nzbf4gt040c) app (formerly the "Web Search from Microsoft Bing" app). However Microsoft only allows this app to be uninstalled on EU devices. Oh, and this app enforces Microsoft Edge so if you have that browser uninstalled (again only available on EU devices), you will not even be able to use its search results.
## Privacy policy
As the solution is dependent on a Cloudflare worker acting as a proxy to facilitate communication between Windows 11 (Bing) and DuckDuckGo, Google, or Brave Search, Cloudflare's worker may occasionally be enabled to collect some diagnostics data from each connection made. The worker logs are only enabled for development or troubleshooting purposes, and once collected is only retained for 3 days.
## License
All resources are licensed under MIT.