Skip to content
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

Use Ecosia as Default Search Provider in Chrome #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions os2borgerpc/chrome/chrome_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# - prevents Google Chrome from asking if it should be default browser and about browser metrics
# - prevents the user logging in to the browser
# - disables the remember password prompt feature.
# - configures Ecosia as the Default Search Provider
# 3. Add a launch option to Chrome that prevents it
# from checking for updates and showing it's out of date to whoever

Expand Down Expand Up @@ -34,6 +35,13 @@
# RestoreOnStartup: Controls what happens on startup. Also prevents users from changing the startup URLs when reopening the browser without logging out of the OS first. Possibly not needed with Guest mode, incognito or ephemeral.
# RestoreOnStartupURLs: This is, confusingly, what can actually control the homepage, but only if RestoreOnStartup is set to "4".
#
# Search:
# DefaultSearchProviderEnabled: Default search is performed when a user enters non-URL text in the address bar. The default search provider can not be changed by a user.
# DefaultSearchProviderIconURL: Specifies the default search provider's favorite icon URL.
# DefaultSearchProviderName: Specifies the default search provider's name.
# DefaultSearchProviderSearchURL: Specifies the URL of the search provider used during a default search.
# DefaultSearchProviderSuggestURL: Specifies the URL of the search provider to provide search suggestions.
#
# Various:
# BrowserGuestModeEnabled: Allow people to start a guest session, if they want, so history isn't even temporarily recorded. Not crucial.
# BrowsingDataLifetime: Continuously remove all browsing data after 1 hour (the minimum possible),
Expand Down Expand Up @@ -131,6 +139,11 @@ cat > "$POLICY" <<- END
}
],
"DefaultBrowserSettingEnabled": false,
"DefaultSearchProviderEnabled": true,
"DefaultSearchProviderIconURL": "https://cdn-static.ecosia.org/static/icons/favicon.ico",
"DefaultSearchProviderName": "Ecosia",
"DefaultSearchProviderSearchURL": "https://ecosia.org/search?q={searchTerms}",
"DefaultSearchProviderSuggestURL": "https://ac.ecosia.org/autocomplete?q={searchTerms}&type=list",
"DeveloperToolsAvailability": 2,
"EnableMediaRouter": false,
"ExtensionInstallBlocklist": [
Expand Down