e.prototype.createUID=function(){for(var e="",a="0123456789abcdef",o=0;8>o;o++)e+=a.charAt(Math.round(15*Math.random()));for(var o=0;3>o;o++){e+="-";for(var r=0;4>r;r++)e+=a.charAt(Math.round(15*Math.random()))}e+="-";var s=(new Date).getTime();e+=("000000000"+s.toString(16)).substr(-8);for(var o=0;4>o;o++)e+=a.charAt(Math.round(15*Math.random()));return t.__fuid=e,e}
这是经过了ugly了吧,找找js的源码吧