-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Browser's default search engine #479
base: main
Are you sure you want to change the base?
Conversation
@Thunder-Blaze Mayhe he can :) |
I'll try fixing it 👍🏻 |
indentations
added firefox
rescale
Actually, after #474 merges, it will resolve lol |
Can we ... If length is more than expected or should break the words like in todolist |
let's leave it for now, after Youtube moving out to |
ahh yes 👍🏻 , I hadn't read the 2nd msg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ig we should first let the search with and on pr get merged then i think we should work on this one.
@@ -2615,6 +2624,7 @@ async function getAutocompleteSuggestions(query) { | |||
const clientParam = getClientParam(); // Get the browser client parameter dynamically | |||
var selectedOption = document.querySelector('input[name="search-engine"]:checked').value; | |||
var searchEnginesapi = { | |||
engine0: `https://duckduckgo.com/ac/?q=${encodeURIComponent(query)}&type=list`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seriously? Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need an api for search suggestions.. used DuckDuckGo as it more privacy focused than Google
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah duckduckgo is better at privacy
and google is better at accuracy due to large datasets it possess XD
I'll let you guys decide
Yeah, btw this pr is on main branch.. for chrome branch we might have to do toggle thing :| |
fallback
update wrt pr 474
Scroll the newly selected item into view
Now we can argue in favour of
We are respecting the user's selected settings. |
Thats a great idea actual. |
📝 Description
Added Browser's current default search engine selecting option as first search engine
📸 Screenshots / 📹 Videos
🔗 Related Issues
✅ Checklist