浏览 1908 次
锁定老帖子 主题:查看网站所使用的javascript框架
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-11-19
最后修改:2008-11-19
javascript: ( function() { el = document.getElementById("__wtframework"); if (el) { document.body.removeChild(el); return } var c = document.createElement("a"); c.id = "__wtframework"; c.style.opacity = "0.7"; c.style.filter = "alpha(opacity=70)"; c.style.position = "fixed"; c.style.zIndex = "9000"; c.style.top = "15px"; c.style.right = "20px"; c.style.background = "#000"; c.style.styleFloat = "right"; c.style.padding = "7px 10px"; c.style.color = "#fff"; c.style.border = "solid 2px #fff"; c.style.textDecoration = "none"; c.style.textAlign = "left"; c.style.font = "12px Lucida Grande,Helvetica,Tahoma"; c.style.MozBorderRadius = "5px"; c.style.WebkitBorderRadius = "5px"; c.style.WebkitBoxShadow = "0px 0px 20px #000"; c.style.MozBoxShadow = "0px 0px 20px #000"; c.href = "javascript:void(0)"; document.body.appendChild(c); c.onclick = function() { document.body.removeChild(c) }; var fm = "Bummer... Try checking the source code"; try { fm = (MooTools ? "MooTools (" + MooTools.version + ")" : false) } catch (d) { } try { fm = (YAHOO ? "YUI (" + YAHOO.util.Dom.VERSION + ")" : false) } catch (d) { } try { fm = "Prototype (" + Prototype.Version + ")" } catch (d) { } try { fm += "%3Cbr/%3E Script.aculo.us (" + Scriptaculous.Version + ")" } catch (d) { } try { fm = (jQuery ? "jQuery (" + jQuery.fn.jquery + ")" : false) } catch (d) { } try { fm = (dojo ? "Dojo Toolkit (" + dojo.version + ")" : false) } catch (d) { } try { fm = (MochiKit ? "MochiKit (" + MochiKit.MochiKit.VERSION + ")" : false) } catch (d) { } try { fm = (base2 ? "Base2 (" + base2.version + ")" : false) } catch (d) { } c.innerHTML = unescape(fm.toString()) })(); 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-11-19
不用这么费劲吧,看看源代码就行啦。
|
|
返回顶楼 | |
发表时间:2008-11-19
Firefox addon: JSView
|
|
返回顶楼 | |