jQuery代码在移动端不运行
2017-08-17 本文已影响24人
刘勇虎
今天写了个html网页发现在iOS系统上边不运行,于是真机连上Sarfari查看报错,于是乎
123.png其实这是由于iOS的安全策略决定的,不允许加载非https的连接
报错:was not allowed to run insecure content from
原因:移动端(iOS)禁止引用非https开头的插件
解决办法:在http后边添加“s”
报错:was not allowed to run insecure content from
原因:移动端(iOS)禁止引用非https开头的插件
解决办法:在http后边添加“s”