Forces Apple's developer documentation to always open in a specific language

Latest Version

Version
0.0.1
Update
July 7, 2020
Size
31.09KiB
Developer
Category
Users
24
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Https://developer.apple.com/documentation/*
WebRequest
WebRequestBlocking
Storage
See more

Apple Docs Force Default Language Extension

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/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx",\t"name": "Apple Docs Force Default Language",\t"version": "0.0.1",\t"description": "Forces Apple's developer documentation to always open in a specific language",\t"homepage_url": "https://github.com/dimitarnestorov/apple-docs-force-default-language",\t"manifest_version": 2,\t"minimum_chrome_version": "74",\t"applications": {\t\t"gecko": {\t\t\t"id": "[email protected]",\t\t\t"strict_min_version": "67.0"\t\t}\t},\t"icons": {\t\t"128": "icon.png"\t},\t"permissions": [\t\t"https://developer.apple.com/documentation/*",\t\t"webRequest",\t\t"webRequestBlocking",\t\t"storage"\t],\t"options_ui": {\t\t"chrome_style": true,\t\t"page": "options.html"\t},\t"browser_action": {\t\t"default_title": "Apple Docs Force Default Language",\t\t"default_popup": "options.html"\t},\t"background": {\t\t"persistent": true,\t\t"scripts": [\t\t\t"browser-polyfill.min.js",\t\t\t"background.js"\t\t]\t}}
Read more

Similar Extensions

icon

Tag AWS VPC/Role Extension · Developer Tools 24 0 ★ 39.92KiB

icon

SourceKit for Chrome Extension · Developer Tools 24 0 ★ 2.02MiB

icon

Line Clipper for GitHub Extension · Productivity 24 0 ★ 16.37KiB

icon

Objective-C Apple Documentation Extension · Developer Tools 24 3 ★ 42.28KiB

icon

Refined AWS Console Extension · Developer Tools 24 0 ★ 53.19KiB

icon

Apple Debug Extension · Developer Tools 24 0 ★ 6.27KiB

icon

Asset injector Google Chrome extension Extension · Developer Tools 24 1 ★ 7.77KiB

icon

ChatGPT - 150种处理任务,右键快速访问 Extension · Productivity 24 0 ★ 206KiB

icon

Import Pinboard Bookmarks to Chrome Extension · Productivity 24 0 ★ 361KiB

icon

NativeExt Extension · Developer Tools 24 0 ★ 89.41KiB

icon

VSTS GO Extension · Productivity 24 2 ★ 57.49KiB

icon

Pinboard Tools Extension · Productivity 24 2 ★ 20.05KiB

icon

Print VSTS cards Extension · Developer Tools 24 3 ★ 716KiB

icon

Azure DevOps branch naming Extension · Productivity 24 0 ★ 13.93KiB

icon

Open Github/Bitbucket in editor Extension · Developer Tools 24 0 ★ 50.72KiB

icon

ElementHistory Extension · Developer Tools 24 2 ★ 281KiB

icon

Pinboard++ for Pinboard Extension · Productivity 24 7 ★ 81.14KiB

icon

QuickNote Extension · Productivity 24 1 ★ 203KiB

icon

Github Gist logo fixer Extension · Developer Tools 24 1 ★ 4.12KiB

icon

MeIP Extension · Developer Tools 24 0 ★ 162KiB

icon

Teleput - Send to Telegram Extension · Social & Communication 24 6 ★ 12.25KiB

icon

DOM-JSON Tree Matcher Extension · Developer Tools 24 0 ★ 18.58KiB

icon

Cloud Assistant for Developers and DevOps Extension · Developer Tools 24 1 ★ 1.09MiB

icon

Pinboard Viewer Extension · Productivity 24 4 ★ 131KiB