Internet Explorer 6 上的 ssl 安全信息
我不希望我的网页显示有关此页面的安全信息同时包含安全和不安全...这只发生在 ie6 中,我正在使用程序 ietester 进行测试。我知道问题出在文件 mootools-1.11-uncompressed.js 中,
if(!$("ie_ready")){var C=(window.location.protocol=="https:")?"://0":"javascript:void(0);";document.write('<script id="ie_ready" defer src="'+C+'"><\/script>');$("ie_ready").onreadystatechange=function(){if(this.readyState=="complete"){A();}};}}else{window.addListener("load",A);document.addListener("DOMContentLoaded",A);
我已经尝试将 ://0
更改为 https://0
和 javascript
和 javascript:false
和 #
但问题仍然存在,当我从 mootools 文件中删除此行时,警告不会显示,但会显示我的代码显示一些日历也不起作用,因为我有类似的东西
<script type="text/javascript">
/* <![CDATA[ */
window.addEvent('domready', function() {
,如果我删除该行,这不起作用,任何人都可以帮助我吗?
I dont want that my webpage show security information about this page contains both secure and nonsecure... this only happen in ie6, i am testing with the program ietester. I know that the problem is in file mootools-1.11-uncompressed.js in this line
if(!$("ie_ready")){var C=(window.location.protocol=="https:")?"://0":"javascript:void(0);";document.write('<script id="ie_ready" defer src="'+C+'"><\/script>');$("ie_ready").onreadystatechange=function(){if(this.readyState=="complete"){A();}};}}else{window.addListener("load",A);document.addListener("DOMContentLoaded",A);
i already try change the ://0
by https://0
and javascript
and javascript:false
and #
but the problem continues, when i remove this line from the mootools file the warning doesnt show but the code that i have to show some calendar doesnt work also, because i have something like
<script type="text/javascript">
/* <![CDATA[ */
window.addEvent('domready', function() {
and this doesnt work if i remove that line, can anyone help me??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 mootools 1.11 和 SSL 上遇到了类似的问题,请尝试使用此版本(包括 2 个修复):
http://www.webtogs.co.uk/js/mtu.js
在您粘贴的代码中,删除延迟并尝试。
i have had similar issues with mootools 1.11 and SSL, try using this version (includes 2 fixes):
http://www.webtogs.co.uk/js/mtu.js
in the code you pasted, remove the defer and try that.