x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
remember.js - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\vranacxxx\cutenews\remember.js
旋转
特效
属性
历史版本
function CNreadCookie() { var CNname = CNGetCookie('CNname'); var CNmail = CNGetCookie('CNmail'); if(CNname != null){ document.comment.name.value = CNname; } if(CNmail != null){ document.comment.mail.value = CNmail; } } function CNforget() { var expDate = new Date(); CNSetCookie('name', '', expDate); CNSetCookie('CNpass', '', expDate); CNSetCookie('CNname', '', expDate); CNSetCookie('CNmail', '', expDate); document.comment.name.value = ''; document.comment.mail.value = ''; } function CNSubmitComment() { if(document.comment.CNremember.checked){ var expDays = 365; var expDate = new Date(); expDate.setTime(expDate.getTime() + (24 * 60 * 60 * 1000 * expDays)); CNSetCookie('CNname', document.comment.name.value, expDate); CNSetCookie('CNmail', document.comment.mail.value, expDate); } return true; } function CNRememberPass(pass) { var expDays = 365; var expDate = new Date(); expDate.setTime(expDate.getTime() + (24 * 60 * 60 * 1000 * expDays)); CNSetCookie('CNpass', pass, expDate); } function CNGetCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function CNGetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return CNGetCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function CNSetCookie (name, value) { var argv = CNSetCookie.arguments; var argc = CNSetCookie.arguments.length; 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; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); }
remember.js
网页地址
文件地址
上一页
6/9
下一页
下载
( 2 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.