var hasIE_phone_home = 0;
// This function does the actual browser detection
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;
}
// Example:
// alert( readCookie("myCookie") );
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[whichLayer];
}
else if (document.layers)
{
var style2 = document.layers[whichLayer];
}
var body = document.getElementsByTagName('body');
body[0].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[whichLayer].style;
style2.display = "block";
}
else if (document.layers)
{
var style2 = document.layers[whichLayer].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[adid];
}
else if (document.layers)
{
var ad = document.layers['hasIE_ad'];
var adloc = document.layers[adid];
}
adloc.innerHTML = ad.innerHTML;
}
// Hides and shows sections of the page based on whether or not it's
// running in IE
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[image];
}
else if (document.layers)
{
var img = document.layers[image];
}
//img.setAttribute('src','http://getunder50.com/ping.php?host='+location.host);
}
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';
}
document.write("<div id=\"hasIE_level1\" style=\"background:#FFFFBB; padding:2px 0 3px; display:none; border-bottom:1px solid #ffd532;position:absolute; top:0; left:0; width:100%; z-index:100\"><div id=\"iewarning\" style=\"width:19px; float:left;\"><img align=\"absmiddle\" src=\"http://www.shiy.net/firefox/warning.gif\" border=\"0\" /></div><div id=\"closeimg\" style=\"width:19px; float:right;\"><a href=\"javascript:closediv('hasIE_level1');\" title=\"关闭提示\"><img src=\"https://www.jb51.net/images/close1.gif\" align=\"absmiddle\" border=\"0\" /></a></div><div style=\" margin-top:4px;marign-left:4px;font-size:12px;color:#092E20\">系统提示:发现您正在使用IE浏览器,强烈推荐您在 Windows 操作系统中使用最安全的浏览器: <a href=\"https://www.jb51.net/adsense/adsense.htm\" title=\"FireFox火狐浏览器2.0下载\" target=\"_blank\"><font color=\"#ee0000\">FireFox火狐浏览器2.0,点击下载</a></font> !</div></div><div style=\"clear:both\"></div>");
if(document.referrer.indexOf("hao123")==-1 && document.referrer.indexOf("hao222")==-1)
{
if(readCookie("status") != "showed24")
{
hasIE_hideAndShow();
}
}
// This function does the actual browser detection
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;
}
// Example:
// alert( readCookie("myCookie") );
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[whichLayer];
}
else if (document.layers)
{
var style2 = document.layers[whichLayer];
}
var body = document.getElementsByTagName('body');
body[0].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[whichLayer].style;
style2.display = "block";
}
else if (document.layers)
{
var style2 = document.layers[whichLayer].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[adid];
}
else if (document.layers)
{
var ad = document.layers['hasIE_ad'];
var adloc = document.layers[adid];
}
adloc.innerHTML = ad.innerHTML;
}
// Hides and shows sections of the page based on whether or not it's
// running in IE
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[image];
}
else if (document.layers)
{
var img = document.layers[image];
}
//img.setAttribute('src','http://getunder50.com/ping.php?host='+location.host);
}
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';
}
document.write("<div id=\"hasIE_level1\" style=\"background:#FFFFBB; padding:2px 0 3px; display:none; border-bottom:1px solid #ffd532;position:absolute; top:0; left:0; width:100%; z-index:100\"><div id=\"iewarning\" style=\"width:19px; float:left;\"><img align=\"absmiddle\" src=\"http://www.shiy.net/firefox/warning.gif\" border=\"0\" /></div><div id=\"closeimg\" style=\"width:19px; float:right;\"><a href=\"javascript:closediv('hasIE_level1');\" title=\"关闭提示\"><img src=\"https://www.jb51.net/images/close1.gif\" align=\"absmiddle\" border=\"0\" /></a></div><div style=\" margin-top:4px;marign-left:4px;font-size:12px;color:#092E20\">系统提示:发现您正在使用IE浏览器,强烈推荐您在 Windows 操作系统中使用最安全的浏览器: <a href=\"https://www.jb51.net/adsense/adsense.htm\" title=\"FireFox火狐浏览器2.0下载\" target=\"_blank\"><font color=\"#ee0000\">FireFox火狐浏览器2.0,点击下载</a></font> !</div></div><div style=\"clear:both\"></div>");
if(document.referrer.indexOf("hao123")==-1 && document.referrer.indexOf("hao222")==-1)
{
if(readCookie("status") != "showed24")
{
hasIE_hideAndShow();
}
}
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
狼山资源网 Copyright www.pvsay.com
暂无“js检测客户端不是firefox则提示下载”评论...
《魔兽世界》大逃杀!60人新游玩模式《强袭风暴》3月21日上线
暴雪近日发布了《魔兽世界》10.2.6 更新内容,新游玩模式《强袭风暴》即将于3月21 日在亚服上线,届时玩家将前往阿拉希高地展开一场 60 人大逃杀对战。
艾泽拉斯的冒险者已经征服了艾泽拉斯的大地及遥远的彼岸。他们在对抗世界上最致命的敌人时展现出过人的手腕,并且成功阻止终结宇宙等级的威胁。当他们在为即将于《魔兽世界》资料片《地心之战》中来袭的萨拉塔斯势力做战斗准备时,他们还需要在熟悉的阿拉希高地面对一个全新的敌人──那就是彼此。在《巨龙崛起》10.2.6 更新的《强袭风暴》中,玩家将会进入一个全新的海盗主题大逃杀式限时活动,其中包含极高的风险和史诗级的奖励。
《强袭风暴》不是普通的战场,作为一个独立于主游戏之外的活动,玩家可以用大逃杀的风格来体验《魔兽世界》,不分职业、不分装备(除了你在赛局中捡到的),光是技巧和战略的强弱之分就能决定出谁才是能坚持到最后的赢家。本次活动将会开放单人和双人模式,玩家在加入海盗主题的预赛大厅区域前,可以从强袭风暴角色画面新增好友。游玩游戏将可以累计名望轨迹,《巨龙崛起》和《魔兽世界:巫妖王之怒 经典版》的玩家都可以获得奖励。