-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf153ec
commit 779f569
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
docs/library/rule-sets/16_google_search_to_kagi/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"aboutUrl": "https://github.com/mshibanami/redirect-web/discussions/47", | ||
"contributorGitHubIds": [ | ||
"inhzus" | ||
], | ||
"imageFiles": [ | ||
"cover.webp" | ||
], | ||
"primaryCategoryId": "search", | ||
"secondaryCategoryId": "privacy_and_security" | ||
} |
25 changes: 25 additions & 0 deletions
25
docs/library/rule-sets/16_google_search_to_kagi/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"formatVersion": "2", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"captureGroupProcesses": [], | ||
"comments": "We now can set Kagi as the default search engine for Safari.", | ||
"destinationURLPattern": "https:\/\/kagi.com\/search?q=$1", | ||
"exampleURLs": [ | ||
"https:\/\/www.google.com\/search?q=hello&ie=UTF-8&oe=UTF-8&hl=en&client=safari", | ||
"https:\/\/www.google.com\/search?client=safari&rls=en&q=hello&ie=UTF-8&oe=UTF-8" | ||
], | ||
"excludeURLPatterns": [], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "https?:\\\/\\\/(?:www\\.)?google\\.(?:com|com\\.[a-z]{2}|co\\.[a-z]{2}|[a-z]{2})\\\/search\\?(?:.*&)?q=([^&]*).*" | ||
}, | ||
"title": "Google -> Kagi", | ||
"type": "originalRedirect" | ||
} | ||
] | ||
} | ||
|