I am writing an html page using the bootstrap3 template and including response.js in this, but when I run it in IE8 it gives me a "Access denied" error in the console. I use this to make IE8 support media queries. I tried a lot of things as indicated on the forums, but no luck. Does response.js work locally or do we need to run on a local / web server?
Respond.js Link - https://github.com/scottjehl/Respond
HTML
<!DOCTYPE html> <html> <head> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="css/main.css" rel="stylesheet" media="screen"> </head> <body> <div class="container"> <h1>Hello, world!</h1> <div class="main-cont"> </div> </div> <script src="js/jquery-1.10.2.min.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html>
CSS - main.css
.main-cont {background:#2d3a42; height:100px;}
source share