15

This Shiv Google CDN Link Not Working. What Should I Do?

<!--[if lt IE 9]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
Alex
  • 1,451
  • 5
  • 15
  • 16

2 Answers2

23

This was happening because the CDN link has been updated for html5shiv.

Try this from CDNJS instead:

<!--[if lt IE 9]>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->

Hoping this will help you :)

SherylHohman
  • 16,580
  • 17
  • 88
  • 94
Vikash Pandey
  • 5,407
  • 6
  • 41
  • 42
1

It's good but I think is better don't add https://

So try with:

src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js"

Source: https://github.com/twbs/bootstrap/commit/2b802d651dbe4305221cc7c4a2e45123b9e8b699

Smittey
  • 2,475
  • 10
  • 28
  • 35
Sonia
  • 11
  • 1