mwmbl / front-end-original

A front-end for the mwmbl search engine written in vanilla javascript
https://mwmbl.github.io/front-end/
GNU Affero General Public License v3.0
13 stars 3 forks source link

Add suggestions to opensearch definition; redirect for 'go:' and 'sea… #25

Closed daoudclarke closed 2 years ago

daoudclarke commented 2 years ago

…rch: google.com' requests

ColinEspinas commented 2 years ago

It's not that I don't like the feature but this implementation isn't the correct way to do it I believe. Using document.location to change the URL and adding a script tag in the HTML while we are using ES modules and web components is really messy.

I would be happy to discuss a way to make that feature implementation cleaner.

PS: You don't need to specify you scripts type anymore if you are not using modules.