前端静态资源公共库CDN

1. Staticfile CDN

http://www.staticfile.org/

2. BootCDN

https://www.bootcdn.cn/

3. UNPKG

https://unpkg.com/

4. cdnjs

https://cdnjs.com/

5. jsDelivr

https://www.jsdelivr.com/

6. CDNJS.NET

https://cdnjs.net/

7. jQuery CDN

http://code.jquery.com/

8. Microsoft Ajax CDN

https://docs.microsoft.com/en-us/aspnet/ajax/cdn/overview

9. 360

https://cdn.baomitu.com/

10. 百度

https://github.com/Clouda-team/baiducdnstatic
http://libs.baidu.com/jquery/1.9.0/jquery.js

11. 今日头条

http://cdn.bytedance.com/

12. 又拍云

http://jscdn.upai.com/

13. 腾讯

https://libs.qq.com/

14. 新浪

http://lib.sinaapp.com/

加载失败切换本地js库方法

<script src="//cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>
<script>
   if (!window.jQuery) {
    var script = document.createElement('script');
    script.src = "/js/jquery.min.js";
    document.body.appendChild(script);
    }
</script>