MacOS – How to change safari search engine Mac OS

finderjavascriptmacossafarisafari-extensions

I want to change safari default search engine by native app or safari extension however it's possible.
I have tried to change preference (com.apple.safari.plist) file but there is no key to related safari search engine.
I also change in .globlerpreference.plist but no effect on safari browser is there any file appear in finder thats content safari default search engine.

Best Answer

You might find this Stack Exchange Answer provides a solution:

There are two places to select the search engine. Setting the search engine from Safari's URL bar overrides whatever's set in Safari > Preferences > Search. My Safari had Google set from the URL bar, and whatever I set in Safari Preferences was immediately reverted to Google.

To reset the default search engine in Safari's URL bar, click on the magnifying glass icon, which appears at the left side of the URL bar when no page is displayed. A dropdown appears. Then select which engine you'd choose. Luckily, I was content with DDG, one of the only four choices presented.