-
-
Notifications
You must be signed in to change notification settings - Fork 205
Add compatibility for Safari Web Extension #2509
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
Open
sebastianlivoni
wants to merge
18
commits into
keepassxreboot:develop
Choose a base branch
from
sebastianlivoni:feature/safari
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5e5c158
Safari Support
sebastianlivoni 919ccec
Remove webrequest from Safari manifest due to Hide Autofill HTTP Auth…
sebastianlivoni 441b22c
Merge branch 'keepassxreboot:develop' into feature/safari-support-san…
sebastianlivoni 142eb6f
Hide updates tab in options when using Safari Web Extension
sebastianlivoni febd61b
Add option for only building and output safari web extension
sebastianlivoni 84d024f
Hiding unsupported features in Safari
sebastianlivoni 506976f
Fix isSafari
sebastianlivoni 69664b5
Change isSafari to use cached result and hide notifications option
sebastianlivoni bbba6db
Use single quotes ' instead of "
sebastianlivoni 84108c0
Use locales instead of plain english text.
sebastianlivoni 00959f2
Leave the empty line change at the end
sebastianlivoni dc041db
Remove debug console.log message
sebastianlivoni 39436f2
strict comparisons
sebastianlivoni d769f73
add missing empty line
sebastianlivoni 42ba9be
Merge branch 'feature/safari' into develop
sebastianlivoni 7943959
Merge pull request #1 from sebastianlivoni/develop
sebastianlivoni 7065660
Update submodule
sebastianlivoni 48905b0
Add automatic theme switch and support for monochrome Safari toolbar …
sebastianlivoni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,188 @@ | ||
| { | ||
| "manifest_version": 3, | ||
| "name": "KeePassXC-Browser", | ||
| "version": "1.9.7", | ||
| "version_name": "1.9.7", | ||
| "minimum_chrome_version": "93", | ||
| "description": "__MSG_extensionDescription__", | ||
| "author": "KeePassXC Team", | ||
| "action": { | ||
| "default_icon": { | ||
| "16": "icons/keepassxc_16x16.png", | ||
| "18": "icons/keepassxc_18x18.png", | ||
| "19": "icons/keepassxc_19x19.png", | ||
| "32": "icons/keepassxc_32x32.png", | ||
| "36": "icons/keepassxc_36x36.png", | ||
| "38": "icons/keepassxc_38x38.png", | ||
| "64": "icons/keepassxc_64x64.png" | ||
| }, | ||
| "default_title": "KeePassXC-Browser", | ||
| "default_popup": "popups/popup.html" | ||
| }, | ||
| "options_ui": { | ||
| "page": "options/options.html", | ||
| "open_in_tab": true | ||
| }, | ||
| "background": { | ||
| "scripts": [ | ||
| "common/browser-polyfill.min.js", | ||
| "common/global.js", | ||
| "common/sites.js", | ||
| "background/nacl.min.js", | ||
| "background/nacl-util.min.js", | ||
| "background/client.js", | ||
| "background/keepass.js", | ||
| "background/httpauth.js", | ||
| "background/offscreen.js", | ||
| "background/browserAction.js", | ||
| "background/page.js", | ||
| "background/event.js", | ||
| "background/init.js" | ||
| ] | ||
| }, | ||
| "content_scripts": [ | ||
| { | ||
| "matches": [ | ||
| "<all_urls>" | ||
| ], | ||
| "exclude_matches": [ | ||
| "*://*/*.xml*", | ||
| "file:///*.xml*" | ||
| ], | ||
| "js": [ | ||
| "common/browser-polyfill.min.js", | ||
| "common/global.js", | ||
| "common/sites.js", | ||
| "content/ui.js", | ||
| "content/banner.js", | ||
| "content/autocomplete.js", | ||
| "content/credential-autocomplete.js", | ||
| "content/custom-fields-banner.js", | ||
| "content/fields.js", | ||
| "content/fill.js", | ||
| "content/form.js", | ||
| "content/icons.js", | ||
| "content/keepassxc-browser.js", | ||
| "content/observer-helper.js", | ||
| "content/pwgen.js", | ||
| "content/totp-autocomplete.js", | ||
| "content/totp-field.js", | ||
| "content/username-field.js" | ||
| ], | ||
| "run_at": "document_idle", | ||
| "all_frames": true | ||
| }, | ||
| { | ||
| "matches": [ | ||
| "<all_urls>" | ||
| ], | ||
| "exclude_matches": [ | ||
| "*://*/*.xml*", | ||
| "file:///*.xml*" | ||
| ], | ||
| "js": [ | ||
| "content/passkeys-inject.js", | ||
| "content/passkeys-utils.js" | ||
| ], | ||
| "run_at": "document_start", | ||
| "all_frames": true | ||
| } | ||
| ], | ||
| "commands": { | ||
| "fill_username_password": { | ||
| "description": "__MSG_contextMenuFillUsernameAndPassword__", | ||
| "suggested_key": { | ||
| "default": "Alt+Shift+U", | ||
| "mac": "MacCtrl+Shift+U" | ||
| } | ||
| }, | ||
| "fill_password": { | ||
| "description": "__MSG_contextMenuFillPassword__", | ||
| "suggested_key": { | ||
| "default": "Alt+Shift+P", | ||
| "mac": "MacCtrl+Shift+P" | ||
| } | ||
| }, | ||
| "fill_totp": { | ||
| "description": "__MSG_contextMenuFillTOTP__", | ||
| "suggested_key": { | ||
| "default": "Alt+Shift+O", | ||
| "mac": "MacCtrl+Shift+O" | ||
| } | ||
| }, | ||
| "show_password_generator": { | ||
| "description": "__MSG_contextMenuShowPasswordGenerator__", | ||
| "suggested_key": { | ||
| "default": "Alt+Shift+G", | ||
| "mac": "MacCtrl+Shift+G" | ||
| } | ||
| }, | ||
| "save_credentials": { | ||
| "description": "__MSG_contextMenuSaveCredentials__" | ||
| }, | ||
| "redetect_fields": { | ||
| "description": "__MSG_popupRedetectButton__" | ||
| }, | ||
| "choose_credential_fields": { | ||
| "description": "__MSG_popupChooseCredentialsText__" | ||
| }, | ||
| "retrive_credentials_forced": { | ||
| "description": "__MSG_popupReopenButton__" | ||
| }, | ||
| "request_autotype": { | ||
| "description": "__MSG_contextMenuRequestGlobalAutoType__" | ||
| }, | ||
| "reload_extension": { | ||
| "description": "__MSG_popupReloadButton__" | ||
| } | ||
| }, | ||
| "web_accessible_resources": [ | ||
| { | ||
| "resources": [ | ||
| "icons/disconnected.svg", | ||
| "icons/help.svg", | ||
| "icons/keepassxc.svg", | ||
| "icons/key.svg", | ||
| "icons/locked.svg", | ||
| "icons/otp.svg", | ||
| "css/autocomplete.css", | ||
| "css/banner.css", | ||
| "css/button.css", | ||
| "css/colors.css", | ||
| "css/define.css", | ||
| "css/notification.css", | ||
| "css/pwgen.css", | ||
| "css/username.css", | ||
| "css/totp.css", | ||
| "content/passkeys.js" | ||
| ], | ||
| "matches": [ | ||
| "https://*/*", | ||
| "http://*/*" | ||
| ] | ||
| } | ||
| ], | ||
| "permissions": [ | ||
| "activeTab", | ||
| "clipboardWrite", | ||
| "contextMenus", | ||
| "cookies", | ||
| "nativeMessaging", | ||
| "notifications", | ||
| "offscreen", | ||
| "storage", | ||
| "tabs" | ||
| ], | ||
| "content_security_policy": { | ||
| "extension_pages": "script-src 'self'" | ||
| }, | ||
| "host_permissions": [ | ||
| "<all_urls>", | ||
| "https://*/*", | ||
| "http://*/*" | ||
| ], | ||
| "storage": { | ||
| "managed_schema": "managed_storage.json" | ||
| }, | ||
| "default_locale": "en" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.