中超

第一次进站后自动提示收藏的代码

2019-08-12 20:05:17来源:励志吧0次阅读

第一次进站后,自动提示收藏的代码 以下为代码的内容: !-- Beginvar expDays = 7; // Cookie code from The JavaScript Sourcefunction GetCookie (name) { var arg = name + = var alen = ngth; var clen = ngth; var i = 0; while (i clen) { var j = i + alen; if (bstring(i, j) == arg) return getCookieVal (j); i = dexOf( , i) + 1; if (i == 0) break; } return null;}function SetCookie (name, value) { var argv = guments; var argc = ngth; var expires = (argc 2) ? argv[2] : null; var path = (argc 3) ? argv[3] : null; var domain = (argc 4) ? argv[4] : null; var secure = (argc 5) ? argv[5] : false; okie = name + = + escape (value) + ((expires == null) ? : ( expires= + GMTString())) + ((path == null) ? : ( path= + path)) + ((domain == null) ? : ( domain= + domain)) + ((secure == true) ? secure : }function DeleteCookie (name) { var exp = new Date(); tTime (tTime() - 1); var cval = GetCookie (name); okie = name + = + cval + expires= + GMTString();}var exp = new Date(); tTime(tTime() + (expDays*24*60*60*1000));function amt(){var count = GetCookie('count')if(count == null) {SetCookie('count','1')return 1}else {var newcount = parseInt(count) + 1;DeleteCookie('count')SetCookie('count',newcount,exp)return count }}function getCookieVal(offset) {var endstr = dexOf ( , offset);if (endstr == -1)endstr = ngth;return unescape(bstring(offset, endstr));} function checkCount() {var count = GetCookie('count');if (count == null) {count=1;SetCookie('count', count, exp); if ((pName == Microsoft Internet Explorer ) (parseInt(pVersion) = 4)) {document.writeln( div window.external.addFavorite(\'http:\/\/www.1meirong.cn\',\'第一美容 -时尚女性最喜欢的美容站\');\ >}else {var msg = ! if(pName == Netscape ) msg += (CTRL-D) alert(msg); }}else {count++;SetCookie('count', count, exp); }}checkCount();// End --三岁宝宝口臭是什么原因
腹泻怎样快速止泻
如何避免水土不服
肚子痛拉稀吃什么药好
分享到: