仿ie警告 Firefox火狐浏览器顶部推荐安装!(不用改文件DZ后台直接加!)
在搜索引擎优化-其它头部信息写下面代码就OK了!自己改一下里面的连接就OK了!
演示:www.meiyadesign.com
<div id='hasIE_level1' style='background:#FFFFBB;display:none;width:100%;BORDER-top:1px double red;BORDER-BOTTOM:1px double red;'>
<div id='iewarning' style='float:left;margin-top:2px;margin-left:3px;'><img align='absmiddle' src='./images/safe.gif' border='0'></div><div id='closeimg' style='float:right;margin-top:5px;margin-right:3px;'><a href='javascript:closediv("hasIE_level1");' title='关闭提示'><img src='./images/close.gif' align='absmiddle' border='0'></a></div><div style='margin-top:2px;margin-bottom:2px;marign-left:4px;font-size:12px;color:#092E20'>系统提示:发现您正在使用IE内核的浏览器,强烈推荐您在Windows操作系统中使用最安全的firefox浏览器,远离病毒木马、间谍流氓以及弹窗的侵扰!<a href='http://www.meiyadesign.com/FireFox/index.htm' title='FireFox火狐浏览器2.0下载' target='_blank'><font color='#ee0000'>点击下载FireFox浏览器</a></font></div></div></div><div style='clear:both'></div>
<script type="text/javascript">
var hasIE_phone_home = 0;
function writeCookie(name, value, hours){
var expire = "";
if(hours != null){
expire = new Date((new Date()).getTime() + hours * 360000000);
expire = "; expires=" + expire.toGMTString(); }
document.cookie = name + "=" + escape(value) + expire;}
function readCookie(name){
var cookieValue = "";
var search = name + "=";
if(document.cookie.length > 0){
offset = document.cookie.indexOf(search);
if (offset != -1){
offset += search.length;
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
cookieValue = unescape(document.cookie.substring(offset, end))}}
return cookieValue;}
function hasIE_hasIE(){
var ua = navigator.userAgent.toLowerCase();
return ((ua.indexOf('msie') != -1) && (ua.indexOf('opera') == -1) &&
(ua.indexOf('webtv') == -1) &&
(location.href.indexOf('seenIEPage') == -1));}
function hasIE_showOnlyLayer(whichLayer){
if (document.getElementById){var style2 = document.getElementById(whichLayer);}
else if (document.all){var style2 = document.all;}
else if (document.layers){var style2 = document.layers;}
var body = document.getElementsByTagName('body');
body.innerHTML = style2.innerHTML;}
function hasIE_showLayer(whichLayer){
if (document.getElementById){var style2 = document.getElementById(whichLayer).style;style2.display = "block";}
else if (document.all){var style2 = document.all.style;style2.display = "block";}
else if (document.layers){var style2 = document.layers.style;style2.display = "block";}}
function hasIE_moveAd(adid) {
if (document.getElementById){var ad = document.getElementById('hasIE_ad');var adloc = document.getElementById(adid);}
else if (document.all){var ad = document.all['hasIE_ad'];var adloc = document.all;}
else if (document.layers){var ad = document.layers['hasIE_ad'];var adloc = document.layers;}
adloc.innerHTML = ad.innerHTML;}
function hasIE_hideAndShow(){
if (hasIE_hasIE()){hasIE_showLayer("hasIE_level1");
if (hasIE_phone_home == 1)hasIE_phoneHome('getIE_pingimage1');}
else{if (hasIE_phone_home == 1)hasIE_phoneHome('getIE_pingimage0');}}
function hasIE_phoneHome(image){
if (document.getElementById){var img = document.getElementById(image);}
else if (document.all){var img = document.all;}
else if (document.layers){var img = document.layers;}}
function hasIE_ContinueWithoutFF(){
if (location.href.indexOf('?') != -1)location.href += '&seenIEPage=1';else location.href += '?seenIEPage=1';}
function closediv(i){
writeCookie("status","showed24",240);document.getElementById(i).style.display='none';}
if(document.referrer.indexOf("hao123")==-1 && document.referrer.indexOf("hao222")==-1){
if(readCookie("status") != "showed24"){hasIE_hideAndShow();}}
lastScrollY=0;
</script>
到底是这个FIREFOX值得安装还是不值得安装啊老大没看清楚哦 我一直在用,感觉不错,本人推荐大家下载使用!:lol
我也觉得不错```
下东西的时候我一次点十个```慢慢按确定就可以了``很方便 凑合把 以前用过 还有那个欧洲的O什么来着:lol 不知道如何 我倒 是下载了可是很少用,不知道怎么用的 呵呵支持美雅就下吧~呵呵0.1刀
页:
[1]