11.查源文件
<input type=button value=查看网页源代码 onclick="window.location = 'view-source:'+ 'http://www.e3i5.com/test.htm';">
12.COOKIE脚本记录,有很大的用处哦
function get_cookie(Name) { var search = Name + "="
var returnvalue = "";
if (documents.cookie.length > 0) {
offset = documents.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = documents.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = documents.cookie.length;
returnvalue=unescape(documents.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie('popped')==''){
openpopup()
documents.cookie="popped=yes"
}
}
上一页 [1] [2] [3] 下一页 |