需要使用 Opera 浏览器。
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/
- 此扩展可访问您在某些网站上的数据。
- 此扩展将管理您的扩展。
屏幕截图
关于此扩展
- 下载次数
- 4321
- 类别
- Developer Tools
- 版本
- 0.0.2
- 大小
- 29.1 KB
- Last update
- Aug. 17, 2020
- 许可证
- 隐私政策
- 服务网站
- https://github.com/dimitarnestorov/apple-docs-force-default-language
- 在线支持
- https://github.com/dimitarnestorov/apple-docs-force-default-language/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
- 源代码
- https://github.com/dimitarnestorov/apple-docs-force-default-language
相关
-
Open in Waterfox
Open current page, link, or all tabs in the Waterfox browser.
评分: 总评分次数: 1
-
Webmaster menu
Adds new items to browser context menu that open various analyzes of browsed web pages and sites.
评分: 总评分次数: 3
-
Web Developer
Adds a toolbar button with various web developer tools. The official port of the Web Developer extension for Firefox.
评分: 总评分次数: 151
-
NoFollow
Outlines nofollow links, detects nofollow and noindex meta tags on webpages. Features website filtering and custom CSS outline styles
评分: 总评分次数: 13
-
GitHub Gloc
显示 GitHub 仓库的估计代码行数
评分: 总评分次数: 1