simonerlic / Minimal-Startpage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change of search engine

Soft-Bred opened this issue · comments

commented

This is less of an issue and more of a question.

What would i have to change const search = 'https://duckduckgo.com/?t=ffab&q='; to, for it to search with chrome instead of DuckDuckGo?

If that even is what I would have to change of course.

Hey, sorry for taking a bit to respond! Assuming you want to use Google search instead of DuckDuckGo, you should change 'https://duckduckgo.com/?t=ffab&q=' to 'https://www.google.com/search?d&q='.

Basically, you want to copy the address that comes before what you searched for on Google, since that's what sets up the search query.

Hope that helps!