摘要:
Search 阅读全文
posted @ 2013-12-17 18:03
sexy_girl
阅读(200)
评论(0)
推荐(0)
摘要:
<?php/** * Author: humanhuang * Date: 13-12-17 */header('Access-Control-Allow-Origin:*');header('Access-Control-Request-Method:GET,POST');echo "nice";$.get('http://10.24.66.6/human/www/1/animate/3/ajax.php',function(e){console.log(e);}) 阅读全文
posted @ 2013-12-17 14:28
sexy_girl
阅读(132)
评论(0)
推荐(0)
摘要:
ajax 所有请求都会附带主域的cookie,若没有同源策略,攻击者就可以获取你的cookie,状态。 阅读全文
posted @ 2013-12-17 11:59
sexy_girl
阅读(202)
评论(0)
推荐(0)
摘要:
if (typeof Object.create !== 'function') { Object.create = function (o) { function F() {} F.prototype = o; return new F(); } } 阅读全文
posted @ 2013-12-17 11:39
sexy_girl
阅读(210)
评论(0)
推荐(0)
摘要:
var Pubsub = (function (window) { window.handlers = {}; var o = { pub: function () { var args = Array.prototype.slice.call(arguments,0), event = args.shift(); var cbs = handlers[event]; if (cbs) { ... 阅读全文
posted @ 2013-12-17 11:06
sexy_girl
阅读(164)
评论(0)
推荐(0)
浙公网安备 33010602011771号