-
Notifications
You must be signed in to change notification settings - Fork 0
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
Discussing behaviour for browser extensions #6
Comments
@carlosjeurissen Thanks for your information. |
@Tanych an extension page(chrome-extension://) like static website on localhost. They are handled by the browser directly. There is no server side, no HTTP accept-language header negotiation. So the impacts like a static website without server. Extensions have built-in i18n support. It should not be affected. But due to its functional limitations, such as don't support for switching languages, some extensions use their own i18n solution or third-party javascript i18n libraries. These extensions are affected like static websites. |
@Tanych the fact accept-language gets reduced makes Cutting off |
@hanguokai @carlosjeurissen , thanks for the information and feedback. Our goal is to minimize passive fingerprinting for the Accept-Language without breaking legitimate content negotiation user cases.
If I understand the extension correctly, the major concern is an extension can still learn user's full accept-language list without users' awareness and send or store to somewhere, which can give up a lot of entropy about the user. |
Yes. Keep it in extension api, because there is no server side for extension pages.
No. Extensions only use javascript api get languages list for i18n work. It doesn't send or store it. For example, when extensions use |
@hanguokai thanks for the clarification. I feel less concern right now and keeping it in extension api makes sense to me. I will also confirm within the team and make sure it won't cause huge impacts for existing behavior. |
How should the proposal to limit the amount of languages returned in navigator.languages be handled in browser extension environments and content-scripts? Should
navigator.languages
andbrowser.i18n.getAcceptLanguages
return the full list or the limited list for browser extensions?This question popped up after discussing deprecating
browser.i18n.getAcceptLanguages
in favour ofnavigator.languages
in the webExtensions w3c community.The text was updated successfully, but these errors were encountered: