Jquery 不使用SSL将Wufoo链接到外部样式表

Jquery 不使用SSL将Wufoo链接到外部样式表,jquery,css,forms,ssl,wufoo,Jquery,Css,Forms,Ssl,Wufoo,我将Wufoo与存储在服务器上的外部样式表一起使用(只是http://,而不是https://) 但是,由于使用Wufoo生成的默认短代码设置为SSL='true',如下所示。。。 [wufoo username=“xxx”formhash=“xxx”autoresize=“true”height=“765”header=“show”ssl=“true”] 某些浏览器会抛出一个错误,表示正在加载不安全的内容,例如Chrome和IE9。本期报道如下: 我的问题是-有没有一种方法可以在默认情况下关闭

我将Wufoo与存储在服务器上的外部样式表一起使用(只是http://,而不是https://)

但是,由于使用Wufoo生成的默认短代码设置为SSL='true',如下所示。。。 [wufoo username=“xxx”formhash=“xxx”autoresize=“true”height=“765”header=“show”ssl=“true”] 某些浏览器会抛出一个错误,表示正在加载不安全的内容,例如Chrome和IE9。本期报道如下:

我的问题是-有没有一种方法可以在默认情况下关闭Wufoo SSL,这样访问者就不会出现此错误?我并不特别担心SSL部分——它没有那么机密。或者,我可以使用jQuery将源代码中的SSL='true'更改为SSL='false'吗


p、 我知道我可以手动修改嵌入代码以关闭SSL(根据本文档),但这是不可能的,因为临时用户每天都会嵌入表单。

对于任何遇到此问题的人,我所做的就是在PHP中替换SSL字符串(因为我使用的是WordPress)

这可能不是最好的解决方案,因为我正在删除SSL,但由于数据不是非常机密,我可以接受它

<!-- Get Custom Field data (or content, etc.). In this case the custom field is called 'true'-->
<?php $ID = $post_id['ID']; ?>
<?php $custom = get_post_meta($post->ID, 'test', true); ?>              

<!-- Strip out SSL because it causes loading issues in IE9 and Chrome (since it is loading the stylesheet from a non-secure address). -->
<?php $withoutssl = str_replace('ssl="true"','ssl="false"', $custom); ?>

<!-- Apply formatting. -->
<?php $formatted = apply_filters('the_content', $withoutssl); ?>

<!-- Output the Custom Field. -->
<?php echo $formatted ?>


对于任何与此问题斗争的人,我所做的是在PHP中替换SSL字符串(因为我使用的是WordPress)

这可能不是最好的解决方案,因为我正在删除SSL,但由于数据不是非常机密,我可以接受它

<!-- Get Custom Field data (or content, etc.). In this case the custom field is called 'true'-->
<?php $ID = $post_id['ID']; ?>
<?php $custom = get_post_meta($post->ID, 'test', true); ?>              

<!-- Strip out SSL because it causes loading issues in IE9 and Chrome (since it is loading the stylesheet from a non-secure address). -->
<?php $withoutssl = str_replace('ssl="true"','ssl="false"', $custom); ?>

<!-- Apply formatting. -->
<?php $formatted = apply_filters('the_content', $withoutssl); ?>

<!-- Output the Custom Field. -->
<?php echo $formatted ?>