Skip to content
/ CSE Public

Safari Extension to customize your search engine.

License

Notifications You must be signed in to change notification settings

Cizzuk/CSE

Repository files navigation

Customize Search Engine

Safari Extension to customize your search engine.

Download on the App Store

Features

Customize your Search Engine

Change Safari's default search engine.
This is the most basic feature.

CSE for Private Browse

Switch search engines in Private Browse.

Quick Search

Enter the keyword at the top to switch search engines.

Example:

Emoji Search

If you enter only one emoji, you can search on Emojipedia.org.

Switch Search Engines by Shortcuts and Focus

You can use a different custom search engine or disable CSE while at work, school, etc.

How it works

CSE works on pages from Safari's default search engines (Google, DuckDuckGo, etc.).

It detects the special parameters in the URL when searching from Safari's search bar. (For example, Google has the parameter client=safari in its URL.)

Then automatically redirects the page to your search engine.

If the custom search engine has POST Data

CSE needs to create <form method="post"> on the page to submit the form.

Due to CSP restrictions, this will likely not work on Safari's default search engine, so first redirect to a local page generated by CSE (called post_redirector.html).

Important

I know this method is not available in macOS Safari, so this feature is disabled by default in CSE on macOS.
Therefore, if you set a search engine with strict CSP restrictions (such as DuckDuckGo) as the default for Safari, custom search engines with POST Data will not be available.

License

This software is licensed under the terms of the Mozilla Public License 2.0.

Tip

Do you like it? please send me a tip!