-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This includes a lot of UX improvements and cleanup, done while the research for other features/improvements was underway: - The extension can now be used without granting the `activeTab` permission, where it'll just behave as it did before `0.3`, simply allowing Kagi to be used in private sessions (#19) - The extension should now be fully usable in Firefox for Android (#3) - The extension will now look for the active tab of the last focused window (alternative fix to Edge issue reported in #24 with multiple windows) - I confirmed the extension works as expected in Edge (and Brave, besides Chrome) without any new (invasive) permissions (#23) - Using Cecil will now not call the API, even if an API Key is set (https://kagifeedback.org/d/1751-enable-kagi-api-users-to-use-universal-summarizer-cecil-without-incurring-api-charges) - Confirmed there's no other current way of storing the session that survives clearing of session data (https://kagifeedback.org/d/1754-restarting-the-firefox-browser-signs-me-out-of-kagi) Additionally, I looked into sending the tab's HTML/Text content instead of the URL with a setting/dropdown (https://discord.com/channels/849884108750061568/1050508822864732170/1125156451015475364), but decided against it, because we would need access to the tab's DOM content, and the only ways I found to do that were too invasive in terms of permissions (`scripting`, which could be optional, and wildcard host, which could not be optional). [Source](https://stackoverflow.com/questions/19758028/chrome-extension-get-dom-content) Fixes #19 Fixes #3 Closes #24
- Loading branch information
1 parent
141b1f8
commit 5d42c3b
Showing
8 changed files
with
293 additions
and
206 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"manifest_version": 3, | ||
"name": "Kagi Search for Firefox", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "A simple helper extension for setting Kagi as a default search engine, and automatically logging in to Kagi in incognito browsing windows.", | ||
"background": { | ||
"page": "src/background_page.html" | ||
|
@@ -18,12 +18,12 @@ | |
"default_popup": "src/popup.html" | ||
}, | ||
"permissions": [ | ||
"activeTab", | ||
"cookies", | ||
"declarativeNetRequestWithHostAccess", | ||
"webRequest", | ||
"storage" | ||
], | ||
"optional_permissions": ["activeTab"], | ||
"host_permissions": ["https://kagi.com/*"], | ||
"chrome_settings_overrides": { | ||
"search_provider": { | ||
|
@@ -47,7 +47,8 @@ | |
}, | ||
"browser_specific_settings": { | ||
"gecko": { | ||
"id": "[email protected]" | ||
"id": "[email protected]", | ||
"strict_min_version": "102.0" | ||
} | ||
} | ||
} |
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
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
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
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
Oops, something went wrong.