-
Notifications
You must be signed in to change notification settings - Fork 180
Add host permission prompts for Safari #631
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
Closed
Closed
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1c17668
Add host permission prompts for Safari
adomasven 71b87d9
Restore intro paragraph in Chromium site-access prompt
dstillman 70972e9
Prevent overlapping permission modals on the Safari preferences pane
dstillman 6f9264e
Show a single Safari Settings instructions paragraph in combined prompts
dstillman dbff69d
Rework Safari localhost prompting in the save flow
dstillman 3044593
Keep the Z toolbar icon on Safari until translator detection runs
dstillman 50b2798
Show a neutral toolbar status on excluded pages without localhost access
dstillman ddbb46f
Expose HostPermissions.hasPermission() to injected pages
dstillman ade8a8e
Update Google Docs submodule
dstillman 585d500
Reword the localhost permission explanation
dstillman 34b0a5c
Show the localhost permission explanation for blocked integration req…
dstillman 6a5441a
Stop pointing to Safari's permission dialog once a request has been b…
dstillman 88e9d38
Recommend all-websites access in the pre-request permission explanation
dstillman 5a63dc9
Recommend all-websites access once per browser session instead of onc…
dstillman af5ad1a
Reload pages where Safari re-injects content scripts after a permissi…
dstillman 42d7373
Inject content scripts on demand for user actions on Safari
dstillman 7f68174
Use plural Safari Settings instructions for multiple domains
dstillman 4db8be5
Don't cache script-injection state when a page already has scripts
dstillman 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a page has no translators, doesn't this cause a 3 second delay every save?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No,
tabInfo.translatorswith no detected translators is an empty array, so it's not falsy.But if the user navigates during the loop, this wouldn't get the new value, which might result in a stall, so I'll change this to get the tab info again on each loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8c58203