当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - HTML5 History API - The operation is insecure

问题描述:

I save the page of this simple demo for HTML5 History API from http://www.murraypicton.com/playground/animating-the-address-bar.html

and open it in locally. Firefox gives me "The operation is insecure" and Chrome gives me nothing when I clicked "Start". Why and how do I resolve it?

网友答案:

When I used a server, it works. Using wamp. So means cannot run w/o a server. Wonder if anyone knows why?

网友答案:

You have to deploy in Web Server and open it. If you directly open it from a directory to web browser you may get this error.

分享给朋友:
您可能感兴趣的文章:
随机阅读: