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

How to download and manually install Apple Docs Force Default Language extension for Chrome

Looking for a way to install Apple Docs Force Default Language extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Apple Docs Force Default Language extensions manually, this article outlines two simple methods to effortlessly install Apple Docs Force Default Language extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Apple Docs Force Default Language extension and manually install through Drag &Drop

If you ever need to manually install a Apple Docs Force Default Language extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Apple Docs Force Default Language Extension by clicking the "Download CRX" button on the website.

Look for the Apple Docs Force Default Language extension you wish to install. Go to the website and download the Apple Docs Force Default Language extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Apple Docs Force Default Language extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Apple Docs Force Default Language extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Apple Docs Force Default Language extension for Chrome and install in Developer Mode

This is another method to install Apple Docs Force Default Language extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Apple Docs Force Default Language extension file

Select and download the Apple Docs Force Default Language extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Apple Docs Force Default Language extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Apple Docs Force Default Language extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Apple Docs Force Default Language extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Apple Docs Force Default Language extension in 2 ways. We hope this guide proves helpful.

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