OrE*_*lse 10 javascript jquery
我想为我的iframe应用程序实现选择性Framebursting.
我的iframe可以在 www.mywebsite.con/iframe.aspx?lic=1234
托管我的iframe的第三方网站是(PayedWebsited1.conOR PayedWebsited2.con)并且该lic=1234选项也存在时,显示iframe.对于任何其他作弊者,展示香蕉!
我该怎么做?
OrE*_*lse -1
Global.asax成功了!
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Dim ref As String = HttpContext.Current.Request.ServerVariables("HTTP_REFERER")
If Not ref.Contains("PayedWebsited1") And Not ref.Contains("PayedWebsited2") Then
Response.Redirect("MYDOMAIN", True)
End If
End Sub
Run Code Online (Sandbox Code Playgroud)
谢谢大家!