添加到 stimms 所说的内容。在您提供的链接中,只需查看路径和路径(u)。
它没有突出显示,这就是为什么你看不到它。
例子
jQuery
name: jquery
latest version: 1.6.2 (view older versions)
load request: google.load("jquery", "1.6.2");
extras: uncompressed:true (as in google.load("jquery", "1.6.2", {uncompressed:true});
path: https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
path(u): https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js
site: http://jquery.com/
note: 1.2.5 and 1.2.4 are not hosted due to their short and unstable lives in the wild...
同样为了获取最新版本,您可以这样做。
// You may specify partial version numbers, such as "1" or "1.3",
// with the same result. Doing so will automatically load the
// latest version matching that partial revision pattern
// (e.g. 1.3 would load 1.3.2 today and 1 would load 1.6.2)
试试这些链接
https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js
https://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.js
也请像这样链接。
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
</script>
使用无协议参考的原因:用单个字符削弱 Google CDN 的缓存