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
Don't send translator error reports in private-browsing mode #199
Comments
There's already a pref controlling this though and at least for the client that's the only way of control. I'm happy to just add the handling code for extensions there. Thoughts? |
That pref isn't really relevant. This is specific to private browsing, and is just a reimplementation of the existing protection we've always had in Zotero for Firefox. Extensions shouldn't upload URLs from private browsing with default settings. What do you mean by "at least for the client that's the only way of control"? This is just for the connector. |
This is a question regarding adding a flag to be passed to |
Ah, I see what you mean. I was assuming we might not have easy access to the incognito check at the point of the existing code. If we do, that's fine. If not, I figured we could have a |
Closed with 0192bda |
There's existing code to prevent this for Zotero for Firefox, but we should update that for the connector.
This is deep in the translation architecture, so the best way to do this is probably to include a flag in the object passed to
translate()
to indicate that a report shouldn't be sent on failure.The text was updated successfully, but these errors were encountered: