Forces Apple's developer documentation to always open in a specific language
Apple Docs Force Default Language Extension
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/
Source Manifest.json
Similar Extensions
Tag AWS VPC/Role 24 0 ★ 39.92KiB
SourceKit for Chrome 24 0 ★ 2.02MiB
Line Clipper for GitHub 24 0 ★ 16.37KiB
Objective-C Apple Documentation 24 3 ★ 42.28KiB
Refined AWS Console 24 0 ★ 53.19KiB
Apple Debug 24 0 ★ 6.27KiB
Asset injector Google Chrome extension 24 1 ★ 7.77KiB
ChatGPT - 150种处理任务,右键快速访问 24 0 ★ 206KiB
Import Pinboard Bookmarks to Chrome 24 0 ★ 361KiB
NativeExt 24 0 ★ 89.41KiB
VSTS GO 24 2 ★ 57.49KiB
Pinboard Tools 24 2 ★ 20.05KiB
Print VSTS cards 24 3 ★ 716KiB
Azure DevOps branch naming 24 0 ★ 13.93KiB
Open Github/Bitbucket in editor 24 0 ★ 50.72KiB
ElementHistory 24 2 ★ 281KiB
Pinboard++ for Pinboard 24 7 ★ 81.14KiB
QuickNote 24 1 ★ 203KiB
Github Gist logo fixer 24 1 ★ 4.12KiB
MeIP 24 0 ★ 162KiB
Teleput - Send to Telegram 24 6 ★ 12.25KiB
DOM-JSON Tree Matcher 24 0 ★ 18.58KiB
Cloud Assistant for Developers and DevOps 24 1 ★ 1.09MiB
Pinboard Viewer 24 4 ★ 131KiB