-
Notifications
You must be signed in to change notification settings - Fork 13
Support Ecosia Search Engine #31
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
base: master
Are you sure you want to change the base?
Conversation
- Add Ecosia to the list of search engines where the extension injects CSS and JavaScript. - Add theme configuration option for Ecosia search engine. - Implement theme configuration options for the Ecosia search engine. - Add support for Ecosia search engine integration by defining its search engine type, sidebar selector and theme.
- Update the manifest to manifest version 3, adapt background script declaration, adjust web accessible resources and permissions for enhanced security and functionality.
- Fix migration to version 3 for chrmoe, update background script declaration, adjust web accessible resources and modify permissions. - Apply dark styling to the injection box in Ecosia's dark mode. - Define Ecosia dark theme variables for background, text, link, border, and secondary text colors. - Improve search engine detection logic to properly identify Ecosia.
|
Hey @dchakro, thank you for taking the time to create a PR! Your screenshot looks great.
|
|
Hi @Fivefold,
|
|
Hey @dchakro, sorry I haven't been able to test the code yet. I haven't forgotten about your PR. I hope I will get to it next weekend. |
|
Sorry @dchakro for the long delay, I'm much more busy than anticipated! I found some time to pull and test your changes, here are some observations:
"background": {
"service_worker": "build/background.js",
"scripts": ["build/background.js"]
},Firefox ignores the service_worker and chrome ignores the scripts property. Chrome will give an error if you load the extension in the dev mode but it should work fine. Firefox actually recommends this approach for cross-browser extensions. Can you check if this works on macOS as well?
|
|




Ecosia is my choice of search engine and I decided to code support for it. The extension builds on my mac and gets installed on Vivaldi for me and connects to my linkding extension and supports both light and dark mode on ecosia. Here's a screenshot of it in dark mode.
Looking forward to integration of this PR and release of official extensions with support for Ecosia.
P.S. I haven't tested building for manifest V2