English 中文(简体)
这部法律是什么?
原标题:what is this facebook code?
  • 时间:2010-05-28 17:30:38
  •  标签:
  • javascript

在检查我的行凶者正在做些什么时,我看到这部法典:

for (;;);{"t":"refresh"}

如果你试图评价,你可以预测会发生什么情况(确切的 lo)。

你们是否知道什么?

最佳回答

如果这属于“亚克斯”呼吁的响应范围,我会正确吗?

This is a one of the strategies employed to avoid XSS when dynamically adding scripts that contain user-specific content.
If it had not been here, an [evil] page could have requested this script inside a regular script tag, and have access to the methods and objects defined by it.

使用Xhr从Facebook上载这一文字的代码将删除第一部分,然后评价其内容。 结果是<代码>{>t”:“refresh”}。

不同领域的文字无法做到这一点。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签