阻止加载混合活动内容 [英] Blocked loading mixed active content

查看:184
本文介绍了阻止加载混合活动内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的控制台中收到这些警告并且我的脚本运行不正常

I am getting these warnings in my console and my script is not working fine

阻止加载混合活动内容 http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui。 css

以下是截图:

如何修复这些警告?

我的脚本:

<script type="text/javascript" src="http://malsup.github.io/jquery.blockUI.js"> </script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">


推荐答案

使用此代码包含您的cdn文件:
在您的网址中使用https协议:

Use this code to include your cdn files : Use https protocol in your url :

<link rel="stylesheet" href="https://code.jquery.com/ui/1.8.10/themes/smoothness/jquery-ui.css" type="text/css">
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script>

或者这种模式:

<link rel="stylesheet" href="//code.jquery.com/ui/1.8.10/themes/smoothness/jquery-ui.css" type="text/css">
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script>

这篇关于阻止加载混合活动内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆