87,907
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script>
window.jQuerya = function(arg){
value = arg;
}
</script>
<script src='http://whois.pconline.com.cn/ipJson.jsp?callback=jQuerya'></script>
<script>
var $a = value;
</script>
</head>
<body>
</body>
</html>
protected void Page_Load(object sender, EventArgs e)
{
Uri u = Request.UrlReferrer;
if (u != null//非http请求或者直接访问
&& u.Host != "xxx.com"//来源不是指定的域名
)
{
Response.StatusCode = 403;
Response.Status = "403 Forbidden";
Response.End();
}
else Response.Write(Request.QueryString["callback"] + "('hello')");
}