Lang Switch 作者: Peter BY
Switch the language a website sees: rewrites the Accept-Language header in every request and overrides navigator.language / navigator.languages in every frame. For testing localized sites without changing browser settings.
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
关于此扩展
Lang Switch changes two independent signals that websites use to pick a language:
Enter a language in the popup (de, de-DE or a full header value such as de-DE,de;q=0.9), press Apply and reload the page. "Default" switches everything off.
For an exact navigator override that is in place before any page script runs, allow user scripts when the popup asks for it (Firefox 136 and newer). Without that permission the override is applied a few milliseconds after the document starts.
Limitations: navigator.language inside Web Workers and Service Workers is not changed, and the Intl locale is not changed either.
- The HTTP Accept-Language header, in every request type: documents, frames, fetch/XHR, scripts, images, WebSocket handshakes and requests made from Web Workers.
- navigator.language and navigator.languages, in every frame including about:blank and srcdoc frames.
Enter a language in the popup (de, de-DE or a full header value such as de-DE,de;q=0.9), press Apply and reload the page. "Default" switches everything off.
For an exact navigator override that is in place before any page script runs, allow user scripts when the popup asks for it (Firefox 136 and newer). Without that permission the override is applied a few milliseconds after the document starts.
Limitations: navigator.language inside Web Workers and Service Workers is not changed, and the Intl locale is not changed either.
评分 0(1 位用户)
权限与数据
更多信息