Bài viết phổ biến của tác giả
- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
ADsafe Javascript 子集禁止使用某些对访客代码访问不安全的东西,例如 đánh giá
、cửa sổ
、cái này
、 Và
Chờ đợi.
出于某种原因,它还禁止了Ngày
对象和Math.random
:
Date and Math.random
Access to these sources of non-determinism is restricted in order to make it easier to determine how widgets behave.
我仍然不明白如何使用 Ngày
hoặc Math.random
来应对恶意行为。
你能想出一个代码示例,其中使用 Ngày
hoặc Math.random
是做坏事所必需的吗?
câu trả lời hay nhất
theo slideshow道格拉斯·克罗克福德发表:
ADsafe does not allow access to
Ngày
hoặcngẫu nhiên
This is to allow human evaluation of ad content with confidence that behavior will not change in the future. This is for ad quality and contractual compliance, not for security.
关于javascript - 日期和随机数如何在 Javascript 中用于作恶?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7614174/
Tôi là một lập trình viên xuất sắc, rất giỏi!