Apple Docs Force Default Language

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

什么是Apple Docs Force Default Language?

Apple Docs Force Default Language是由Mangizi开发的Chrome扩展程序,该扩展的主要功能是“Forces Apple's developer documentation to always open in a specific language”。

扩展截图

screenshot
screenshot

下载Apple Docs Force Default Language扩展crx文件

下载Apple Docs Force Default Language扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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/                    

扩展基本信息

名称 Apple Docs Force Default Language Apple Docs Force Default Language
ID hknflkbaoljcfdedkkdccacgnfpglcfp
官方URL https://chromewebstore.google.com/detail/apple-docs-force-default/hknflkbaoljcfdedkkdccacgnfpglcfp
简介 Forces Apple's developer documentation to always open in a specific language
文件大小 31.09 KB
安装次数 19
当前版本 0.0.1
更新时间 2020-07-08
上架时间 2020-07-07
评分 5.00/5 共1次评分
开发者 Mangizi
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/dimitarnestorov/apple-docs-force-default-language
帮助页面URL https://github.com/dimitarnestorov/apple-docs-force-default-language/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
隐私政策页面URL https://github.com/dimitarnestorov/apple-docs-force-default-language/blob/master/PRIVACY.md
支持的语言 en
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"
        ]
    }
}