HTTPS security is compromised error. How to fix?
来源:互联网 发布:淘宝客链接 seo 编辑:程序博客网 时间:2024/05/17 01:17
on this page i has embed the iframe. Its iframe contents links. If i go to playlist tab and try to click on pictures in console of IE9 i see:
SEC7111: HTTPS security is compromised
Could anyone help me? Thanks a lot!
This is an Internet Explorer error when it encounters mixed content (or what it thinks may be mixed content). Usually the error message also specifies which file is at fault, as in
SEC7111: HTTPS security is compromised by https://example.com/example.html
If you link to any images, JavaScript or CSS files from an https site you need to do so using https.
One of our web developers uses the following html as a placeholder for styling a drop down list.
<a href="" class="arrow"></a>
Is this considered a valid? Since there is no href value, it shows up as broken on some of our link checker reports.
However, standard practice is to usehref="#"
or sometimes href="javascript:;"
.when I click href="#"
, focus moves to top of the page in IE, so I thkink href="javascript:;"
is better
As others have said, it is valid.
There are some downsides to each approach though:
href="#"
adds an extra entry to the browser history (which is annoying when e.g. back-buttoning).
href=""
reloads the page
href="javascript:;"
does not seem to have any problems (other than looking messy and meaningless) - anyone know of any?
While it may be completely valid HTML to not include an href, especially with an onclick handler, there are some things to consider: it will not be keyboard-focusable without having a tabindex value set. Furthermore, this will be inaccessible to screenreader software using Internet Explorer, as IE will report through the accessibility interfaces that any anchor element without an href attribute as not-focusable, regardless of whether the tabindex has been set.
So while the following may be completely valid:
<a class="arrow">Link content</a>
It's far better to explicitly add a null-effect href attribute
<a href="javascript:void(0);" class="arrow">Link content</a>
For full support of all users, if you're using the class with CSS to render an image, you should also include some text content, such as the title attribute to provide a textual description of what's going on.
<a href="javascript:void(0);" class="arrow" title="Go to linked content">Link content</a>
Try to do <a href="#" class="arrow">
instead. (Note the sharp #
character).参考: http://stackoverflow.com/questions/5637969/is-an-empty-href-valid
- HTTPS security is compromised error. How to fix?
- HTTPS security is compromised by (null) - what causes this?
- how to fix GIT error: object file is empty?
- how to fix GIT error: object file is empty?
- "Firefox is already running but is not responding" error message - How to fix it
- How to Fix GIP.Trojan Windows Error
- how to fix error 25007 : loadlibraryshim()
- How to Fix QtWebKit4.dll DLL Error
- How to Fix QtWebKit4.dll DLL Error
- How to Fix asl.dll Error
- How to Fix d3dx9.dll Error
- How to Fix Installer Error 1721
- How to Completely Fix msvbvm60.dll Error
- How to Completely Fix olmapi32.dll Error
- How to Completely Fix qtwebkit4.dll Error
- How to Completely Fix privacyiconclient Error
- How to Completely Fix Windows Live Error
- How to Completely Fix kernel32.dll Error
- 30天自制操作系统day18&day19
- PAT (Basic Level) Practise (中文)1015. 德才论 (25) C语言
- k近邻法(k-nearest neighbor, k-NN)
- IOS开发UI基础--数据刷新
- 状态压缩题目小结
- HTTPS security is compromised error. How to fix?
- 分治 hihoCoder1050 树中的最长路
- samba 服务配置
- Android中ImageView centerInside与fitCenter区别
- error LNK2005;error LNK2019
- Delphi Cxgrid获取选中行列,排序规则,当前正在编辑的单元格内的值
- HTTPS security is compromised by (null) - what causes this?
- 用来在category里加属性的宏
- hibernate中持久化对象的生命周期(三态:自由态,持久态,游离态 之间的转换)