rejetto forum

国内 code.jquery.com jQuery CDN 问题

NaitLee · 4 · 17237

0 Members and 1 Guest are viewing this topic.

Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
包括此论坛的许多网站都在使用 code.jquery.com 作为其获取 jQuery 脚本的 CDN。
但是在我这里试图访问 code.jquery.com 的话对面会关闭连接——而且是在很长时间后。
这导致了我访问这个论坛的时候,如果不全局禁用脚本,加载会卡在这个 jQuery 上,特别慢。
而且就算我不禁用脚本,也不能使用大多数脚本功能,比如登录。

大家有没有这样的情况呢?有解决方法的话会更好 ;)
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 859
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
您可以尝试 https://decentraleyes.org/

它是三个主要浏览器(Firefox,Chrome 和 Opera)的插件,可绕过 Google CDN 在本地加载这些文件(并会在由于某种原因而被 Google 阻止的情况下(例如在中国)启用全部功能)。



You can try https://decentraleyes.org/

It's a plugin for the three major browsers (Firefox, Chrome, and Opera) that loads those files locally, bypassing Google CDNs (and would enable full functionality where Google for some reason is blocked, like in China).

(My chinese text, was translated by Google. Sorry if it was bad translated)
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
Ah, thanks ;)

致访客们:
如果访问不了 Chrome Web Store,插件 Decentraleyes 也可以在 GitLab 获取。
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 859
  • Status: On hiatus       (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
不客气。。。 :)

还有一个选择:LocalCDN
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
https://codeberg.org/nobody/LocalCDN
https://www.localcdn.org/

LocalCDN 是一个分散的分支,包含了更多的 CDN 库,但仅适用于 Firefox。如果你想的话,请留下你的评论作为其他用户的参考(在你测试他们之后的几天内),关于哪些浏览器扩展更适合你(在中国)。

@话题外:谷歌翻译是最好的英汉翻译吗?(你知道其他更准确的吗?)。我现在使用百度,似乎更好。



You welcome... :)

One more alternative: LocalCDN
https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
https://codeberg.org/nobody/LocalCDN
https://www.localcdn.org/

LocalCDN is a fork of DecentralEyes, with some more CDN libraries included, but only for Firefox. If you want, please leave a comment as reference for other users (in a few days, after you test them) about what of those browser extension works better for you (in China).

@Offtopic: Is Google Translator the best translator English to Chinese? (Do you know any other that's more accurate?). I'm now using Baidu and it seems to be better.
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.