What to do when browsers don't support their own pages

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

These two days in a vector calligraphy dictionary (http://sf.kdd.cc/) pictures are wmf vector map, inside the Shihogen QQ friend trial, a few with the brother of Firefox can not see the picture, because I usually never use this browser, so did not detect, Initially suspected that the CSS is not compatible with the resulting, but the CSS completely removed after the other side or reflect can not show this picture format, which reminds me before doing a try (http://414.cc/) This aggregate search, There are also netizens reflected in the search after the content of the IFRAME in Firefox can not be normal display. So I put a Firefox test, but this fox like Iron heart, no matter how to change also does not support WMF, looked at the counter, using Firefox plus only 2% less, it seems that I have to give up Firefox users, But this part of the user is still there! To improve the user experience, I decided to give Firefox users a hint lest they confusing the site.

I am halfway, usually write the procedure is to write side of the data, this is not listed outside, in the internet search a pass, finally found the browser to identify the JS code. Little changed, a test! ok! here This piece of code posted out, hope to encounter the same problem webmaster friends have an inspiration!!

<script>if (Isfirefox=navigator.useragent.indexof ("Firefox") >0) {alert ("This calligraphy dictionary does not support Firefox browsers, please switch to IE browser.");} </script>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.