javascript clsid的相关性是什么:D27CDB6E-AE6D-11cf-96B8-444553540000
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7941527/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the relevance of clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
提问by Randomblue
From the jQuery 1.7rc1 source:
来自 jQuery 1.7rc1 源代码:
noData: {
"embed": true,
// Ban all objects except for Flash (which handle expandos)
"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
"applet": true
},
What is clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
?
什么是clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
?
采纳答案by Rob W
Whenever an object is not a Shockwave flashobject, setting expando properties won't work ("expando property"), as uncatchable errors will be thrown. From a glance at the source, this method is interna
当对象不是Shockwave Flash对象时,设置 expando 属性将不起作用(“expando 属性”),因为将抛出无法捕捉的错误。一看源码,这个方法是interna
From the source:
从来源:
// The following elements throw uncatchable exceptions if you
// attempt to add expando properties to them.
noData: {
"embed": true,
// Ban all objects except for Flash (which handle expandos)
"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
"applet": true
},
Search in the sourcefor noData
, and many references with appropriate comments appear.
在搜索的来源为noData
,并以适当的意见很多引用出现。
回答by Ivan
According to the code, the point is to
根据代码,重点是
Ban all objects except for Flash (which handle expandos)
禁止除 Flash(处理 expandos)以外的所有对象
This means that the line "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
is used to blacklist Flash objects. The first result from Googlestates that the GUID stores "configuration data for the policy setting Shockwave Flash".
这意味着该行"object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
用于将 Flash 对象列入黑名单。来自 Google的第一个结果表明 GUID 存储“策略设置 Shockwave Flash 的配置数据”。