Apple Docs Force Default Language
(0 人评分) |73 位用户 | 来自
商店
|

概述
翻译

Automatically redirect to your preferred language from the Apple docs. Save yourself from having to click on the language switcher every time. By default Apple's docs open up for the Swift programming language. The website used to remember if you've changed the language to Objective-C from the language picker. However, this feature seems to be broken or removed. This extension aims to provide a solution to this problem. When you click on the extension button or you visit the options of the extension you can choose which language to be the default one or outright disable the functionality. Since this extension is aimed at Objective-C developers the default settings of the extension are Objective-C for language and enabled to get started as quickly as possible. This extension can also help in case you're frequently visiting links that are for the Objective-C language. Just change the default language to Swift and it will detect and block Objective-C links as soon as you click on them resulting in a redirect to the Swift docs. Because of the way the Apple developer docs were built and the simplicity of this extension it only works when directly visiting developer.apple.com such as from a web search or typing in the URL. developer.apple.com is a single page application meaning that when you're on the website the whole site doesn't reload when you click on a link. That means that if you choose a different language from the language picker it will keep using this language until you exit the website or refresh the page. This extension doesn't detect if you changed the language from the website which means that when you click to open a link in a new tab it will revert back to the default language from the extension settings. Documentation that is only available in Swift will still be available. This extension is open source. Click on the website link on the right to view the source code. Any contributions are welcome! This extension works only on https://developer.apple.com/documentation/

来自商店的评价 (0)

尚无人评价此扩展,查看 其他语言

留言

支持浏览器

适用于以下浏览器
内核要求
要求浏览器内核版本 ≥ 74

其他信息

文件类型
crx
版本
0.0.1 已同步至最新
更新日期
2020年7月7日 3年前
大小
30.90KiB
语言
查看全部1种支持的语言
权限
所属类别
开发者
Dimitar Nestorov
条款