Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
vorons committed Jul 23, 2023
1 parent cae8fda commit 8322f20
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 1 deletion.
46 changes: 45 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,46 @@
# TailsX-Firefox-Extension
Adds TailsX as the default search engine in Firefox browser.
**TailsX** is a privacy-respecting, ad-free, self-hosted Google metasearch engine with strong security that offers full API support and utilizes Qwant for images, Brave Search for videos, and DuckDuckGo for auto-complete.

[**Original TailsX repository on GitHub**](https://github.com/Extravi/tailsx).

# How does it work?
Extension use `manifest.json` settings which change your main search engine.

Example:

(**Default settings**)
```json
{
"chrome_settings_overrides": {
"search_provider": {
"search_url": "https://example.com/search?q={searchTerms}",
"suggest_url": "https://example.com/suggestions?q={searchTerms}",
}
}
}
```

(**With addon**)
```json
{
"chrome_settings_overrides": {
"search_provider": {
"search_url": "https://search.nya.pub/search?q={searchTerms}",
"suggest_url": "https://search.nya.pub/suggestions?q={searchTerms}",
}
}
}
```

It means that your browser starts to use second link when you make search request.

# Tricks
If you want use **TailsX** as support to main search engine do this:
- fork this repository and change the search URL according to your domain
- add this addon into your browser
- agree when browser shows you "Add this extension?"
- disagree when browser shows "Do you want change your main search engine?"
- use keywords like `@tailsx, @tx` if you want use **TailsX** when you make request

# Distribute your extension
https://extensionworkshop.com/documentation/publish/
5 changes: 5 additions & 0 deletions _locales/de/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensionDescription": {
"message": "TailsX als Standardsuchmaschine in Ihrem Browser hinzufügen. Sichern Sie Ihre Suchanfragen mit sofortigem Zugriff auf die TailsX-Metasuchmaschine."
}
}
5 changes: 5 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensionDescription": {
"message": "Adds TailsX as the default search engine in your browser. Secure your queries with instant access to TailsX metasearch engine."
}
}
5 changes: 5 additions & 0 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensionDescription": {
"message": "Устанавливает TailsX в качестве поисковой системы по умолчанию. Защитите свои запросы с мгновенным доступом к метапоисковой системе TailsX."
}
}
5 changes: 5 additions & 0 deletions _locales/uk/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extensionDescription": {
"message": "Встановлює TailsX у якості пошукової системи за замовчанням. Захистіть свої запити за допомогою миттєвого доступу до двигуна TailsX."
}
}
Binary file added icons/search128.webp
Binary file not shown.
Binary file added icons/search256.webp
Binary file not shown.
Binary file added icons/search48.webp
Binary file not shown.
29 changes: 29 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"manifest_version": 2,
"name": "TailsX — Privacy Meta Search Engine",
"version": "1.0",
"author": "voron",
"default_locale": "en",
"description": "__MSG_extensionDescription__",
"icons": {
"48": "icons/search48.webp"
},
"browser_action": {
"default_title": "TailsX"
},
"browser_specific_settings": {
"gecko": {
"strict_min_version": "64.0"
}
},
"chrome_settings_overrides": {
"search_provider": {
"name": "TailsX",
"keyword": "@tailsx, @tx",
"search_url": "https://search.nya.pub/search?q={searchTerms}",
"favicon_url": "icons/search128.webp",
"suggest_url": "https://search.nya.pub/suggestions?q={searchTerms}",
"is_default": true
}
}
}

0 comments on commit 8322f20

Please sign in to comment.