When available, automatically maps Google devsites to its CN mirrors

Latest Version

Version
0.25
Update
May 21, 2021
Size
26.48KiB
Developer
Category
Users
744
Rating
4.95 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
DeclarativeNetRequest
Storage
See more

Google CN DevSites Extension

这是一个简单的Chrome扩展,自动将google.com上的开发者网站URL替换成google.cn上的对应URL(如果有相对应的.CN域名上的页面),这样只要点击就能直接打开页面。现在支持的映射有:
- \"developers.google.com\" -> \"developers.google.cn\"
- \"firebase.google.com\" -> \"firebase.google.cn\"
- \"developer.android.com\" -> \"developer.android.google.cn\"
- \"source.android.com\" -> \"source.android.google.cn\"
- \"www.tensorflow.org\" -> \"tensorflow.google.cn\"
- \"tfhub.dev\" -> \"hub.tensorflow.google.cn\"
- \"angular.io\" -> \"angular.cn\"
- \"golang.org\" -> \"golang.google.cn\"
- \"sum.golang.org\" -> \"sum.golang.google.cn\"

同时它还包含一些其他谷歌服务的网址映射:
- \"translate.google.com\" -> \"translate.google.cn\"
- \"careers.google.com\" -> \"careers.google.cn\"

代码已经在这里开源:https://github.com/chenzhuo914/google-cn-devsites-extension.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Google CN DevSites", "description": "When available, automatically maps Google devsites to its CN mirrors", "version": "0.25", "permissions": [ "declarativeNetRequest", "storage" ], "declarative_net_request": { "rule_resources": [{ "id": "ruleset_1", "enabled": true, "path": "rules.json" }] }, "host_permissions": [ "*://*.google.com/*", "*://*.android.com/*", "*://*.tensorflow.org/*", "*://*.angular.io/*", "*://*.golang.org/*" ], "background": { "service_worker": "bg.js" }, "icons": { "128": "on.png" }, "action": {}}
Read more

How to download and manually install Google CN DevSites extension for Chrome

Looking for a way to install Google CN DevSites 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 Google CN DevSites extensions manually, this article outlines two simple methods to effortlessly install Google CN DevSites extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Google CN DevSites extension and manually install through Drag &Drop

If you ever need to manually install a Google CN DevSites 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 Google CN DevSites Extension by clicking the "Download CRX" button on the website.

Look for the Google CN DevSites extension you wish to install. Go to the website and download the Google CN DevSites extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Google CN DevSites 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 Google CN DevSites 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 Google CN DevSites extension for Chrome and install in Developer Mode

This is another method to install Google CN DevSites 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 Google CN DevSites extension file

Select and download the Google CN DevSites 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 Google CN DevSites 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 Google CN DevSites 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 Google CN DevSites 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 Google CN DevSites extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Enhanced GitHub Extension · Developer Tools 744 59 ★ 47.01KiB

icon

网易有道翻译 Extension · Productivity 744 620 ★ 2.09MiB

icon

划词翻译 Extension · Productivity 744 1736 ★ 4.73MiB

icon

FeHelper(前端助手) Extension · Developer Tools 744 321 ★ 2.72MiB

icon

Axure RP Extension for Chrome Extension · Developer Tools 744 758 ★ 14.44KiB

icon

GitHub Isometric Contributions Extension · Developer Tools 744 102 ★ 101KiB

icon

稀土掘金 Extension · Productivity 744 339 ★ 4.66MiB

icon

JSON-handle Extension · Developer Tools 744 450 ★ 193KiB

icon

有道云笔记网页剪报 Extension · Productivity 744 475 ★ 270KiB

icon

YAAW for Chrome Extension · Accessibility 744 96 ★ 204KiB

icon

Sourcegraph Extension · Developer Tools 744 169 ★ 8.22MiB

icon

SimpRead - Reader View Extension · Productivity 744 2100 ★ 1.2MiB

icon

Octotree - GitHub code tree Extension · Developer Tools 744 1139 ★ 3.54MiB

icon

Markdown Here Extension · Productivity 744 367 ★ 534KiB

icon

购物党自动比价工具 Extension · Shopping 744 416 ★ 7.36MiB

icon

二维码(QR码)生成器(QR Code Generator) Extension · Productivity 744 124 ★ 94.16KiB

icon

WizClipper Extension · Productivity 744 505 ★ 276KiB

icon

广告终结者 Extension · Productivity 744 2706 ★ 302KiB

icon

京价保 - 京东价保助手 Extension · Shopping 744 426 ★ 1.01MiB

icon

GitCodeTree Extension · Developer Tools 744 38 ★ 489KiB

icon

眼不见心不烦(新浪微博) Extension · Social & Communication 744 1356 ★ 45.56KiB

icon

RSSHub Radar Extension · Productivity 744 60 ★ 1.54MiB

icon

AlloyDesigner Extension · Developer Tools 744 22 ★ 531KiB

icon

GitHub Hovercard Extension · Developer Tools 744 41 ★ 121KiB

User reviews

icon

clover rong (ID: 00000026c7b432a4) Voted 4 ★ - Updated 04/23/2023 能自定义映射吗?

icon

bsx (ID: 000000ad97143766) Voted 5 ★ - Updated 05/17/2021 nice

icon

Rikst Stijns (ID: 0000004c64ec6a10) Voted 5 ★ - Updated 10/23/2019 Thank you very much!

icon

xiao luo (ID: 0000005f02e0cf6f) Voted 5 ★ - Updated 07/15/2017 很好用

icon

Erlich Liu (ID: 000000e01dfd15c4) Voted 5 ★ - Updated 01/24/2017 做安卓的时候,查文档可以可以不用开全局VPN了,相应速度要快很多