今天早上,将我的Firefox浏览器升级到最新版本(从22到23),我的后台(网站)的一些关键方面停止了工作.
查看Firebug日志,报告了以下错误:
Blocked loading mixed active content "http://code.jquery.com/ui/1.8.10/themes/smoothness/jquery-ui.css"
Blocked loading mixed active content "http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"`
Run Code Online (Sandbox Code Playgroud)
除了上面两个中的后者没有被加载导致的其他错误.
以上是什么意思,我该如何解决?
我构建了一个随机句子生成器-单击HTML按钮时,在其下方生成一个随机句子。这一代由简单的脚本和jQuery驱动。
它在我的本地计算机上运行良好:当我在浏览器中打开index.html时,一切都会顺利进行。
但是,一旦我上传到GiHub并访问GitHub页面URL,生成器就会停止工作。单击该按钮不会执行任何操作。
这是脚本(全部包含在index.html文件中):
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
Run Code Online (Sandbox Code Playgroud)
和
<script> function sentenceLoad() {
//declare arrays
var nouns = ['Mulder, Scully, and'];
var names = ['Assistant Director Skinner', 'the Cigarette Smoking Man', 'Alex Krycek'];
var actions = ['are running from alien bounty hunters', 'are tracking a shapeshifter', 'are hunting a mutant serial killer'];
var places = ['in the woods of New Jersey', 'in a government bunker', 'in Olympic National Forest'];
//shuffle through contents of each array, picking one entry per array
var randNoun …Run Code Online (Sandbox Code Playgroud)