将 Google CDN 替换为国内镜像 v3

Latest Version

Version
0.10.23
Update
February 13, 2023
Size
110KiB
Developer
justjavac.com
Category
Users
10,000+
Rating
4.52941 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
DeclarativeNetRequest
DeclarativeNetRequestWithHostAccess
DeclarativeNetRequestFeedback
See more

Replace Google CDN Extension

> 由于众所周知的原因,只需替换一个域名就可以继续使用Google提供的前端公共库了。
> 同样,通过script标记引用这些资源,让网站访问速度瞬间提速吧骚年!

很多网站,尤其是国外网站,为了加快网站的速度,都是用了 Google 的 CDN。

但是在天朝,由于某些原因,导致全球最快的 CDN 变成了全球最慢的。

于是,我写了这个插件,将 Google 的 CDN 替换成国内的。

本来我使用的是 360 提供的。经网友提醒 360 的不支持 https,于是改成中科大的。
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Replace Google CDN", "version": "0.10.23", "manifest_version": 3, "icons": { "128": "icons/128.png" }, "description": "\u5c06 Google CDN \u66ff\u6362\u4e3a\u56fd\u5185\u955c\u50cf v3", "background": { "service_worker": "js/background.js", "type": "module" }, "permissions": [ "declarativeNetRequest", "declarativeNetRequestWithHostAccess", "declarativeNetRequestFeedback" ], "host_permissions": [""], "declarative_net_request": { "rule_resources": [ { "id": "ruleset_redirect_main", "enabled": true, "path": "rules/rules_redirect_main.json" }, { "id": "ruleset_redirect_main_extra", "enabled": true, "path": "rules/rules_redirect_main_extra.json" }, { "id": "ruleset_remove_content_security_policy_header", "enabled": true, "path": "rules/rules_remove_content_security_policy_header.json" }, { "id": "ruleset_domain_replace", "enabled": false, "path": "rules/rules_domain_replace.json" } ] }, "content_security_policy": { "extension_pages": "default-src 'self';script-src 'self' 'wasm-unsafe-eval' ;object-src 'self'; style-src 'self' 'unsafe-inline' ; connect-src https://justjavac.com https://justjavac.github.io https://*.justjavac.com/ https://*.jingjingxyk.com https://jingjingxyk.github.io http://localhost https://raw.githubusercontent.com https://github.com https://gitee.com https://gitcode.net;", "sandbox": "sandbox allow-scripts allow-popups; script-src 'unsafe-inline' 'unsafe-eval' " }, "options_ui": { "page": "options_ui/index.html", "open_in_tab": true }, "sandbox": { "pages": ["sandbox/index.html"] }, "action": { "default_title": "Replace Google CDN" }, "author": "https://github.com/justjavac", "homepage_url": "https://github.com/justjavac/ReplaceGoogleCDN"}
Read more

Similar Extensions

icon

Gooreplacer Extension · Productivity 10,000+ 14 ★ 1002KiB

icon

稀土掘金 Extension · Productivity 10,000+ 339 ★ 4.66MiB

icon

FeHelper(前端助手) Extension · Developer Tools 10,000+ 321 ★ 2.72MiB

icon

划词翻译 Extension · Productivity 10,000+ 1736 ★ 4.73MiB

icon

v2ex plus Extension · Productivity 10,000+ 102 ★ 64.7KiB

icon

Sourcegraph Extension · Developer Tools 10,000+ 169 ★ 8.22MiB

icon

Aria2 Explorer Extension · Productivity 10,000+ 260 ★ 1.36MiB

icon

SimpRead - Reader View Extension · Productivity 10,000+ 2100 ★ 1.2MiB

icon

京价保 - 京东价保助手 Extension · Shopping 10,000+ 426 ★ 1.01MiB

icon

购物党自动比价工具 Extension · Shopping 10,000+ 416 ★ 7.36MiB

icon

Header Editor Extension · Developer Tools 10,000+ 61 ★ 449KiB

icon

广告终结者 Extension · Productivity 10,000+ 2706 ★ 302KiB

icon

Octotree - GitHub code tree Extension · Developer Tools 10,000+ 1139 ★ 3.54MiB

icon

YAAW for Chrome Extension · Accessibility 10,000+ 96 ★ 204KiB

icon

Saladict - Pop-up Dictionary and Page Translator Extension · Productivity 10,000+ 1656 ★ 3.64MiB

icon

RSSHub Radar Extension · Productivity 10,000+ 60 ★ 1.54MiB

icon

Extension Manager Extension · Productivity 10,000+ 1029 ★ 562KiB

icon

Ghelper Extension · Productivity 10,000+ 783 ★ 333KiB

icon

Enhanced GitHub Extension · Developer Tools 10,000+ 59 ★ 47.01KiB

icon

添加到aria2 Extension · Accessibility 10,000+ 32 ★ 94.77KiB

icon

网易有道翻译 Extension · Productivity 10,000+ 620 ★ 2.09MiB

icon

為什麼你們就是不能加個空格呢? Extension · Productivity 10,000+ 415 ★ 2.5MiB

icon

WizClipper Extension · Productivity 10,000+ 505 ★ 276KiB

icon

有道云笔记网页剪报 Extension · Productivity 10,000+ 475 ★ 270KiB

User reviews

icon

KS LGD (ID: 000000d7e473a152) Voted 4 ★ - Updated 06/14/2023 版本稍小于微软商店,是不是同一版 版号不同?静态资源替换?google翻译api更换了么?尽量加油吧,谢谢!

icon

鹓雏 (ID: 0000009ecb9279a0) Voted 5 ★ - Updated 03/20/2023 stack overflow确实快了!!!!!nice!

icon

谢填 (ID: 0000007f00735ab9) Voted 5 ★ - Updated 03/04/2022 很棒,感谢作者

icon

S S (ID: 000000c04bb63cb0) Voted 3 ★ - Updated 09/08/2021 没什么感觉

icon

河凤凰 (ID: 000000cd1a6a8768) Voted 5 ★ - Updated 01/12/2021 厉害