This particular code would replace a users default search engine on whatever browser they had installed on their computers. (goodereader.com)
The latter plan specifically targets software that tries to change the start page, home page, and default search engine without user permission. (9to5google.com)
This post will show you how to set Google as default search engine in Edge on Windows 10. (thewindowsclub.com)