guid.js 350 B

1234567891011
  1. var scr = document.getElementsByTagName("script");
  2. var guidData = scr[scr.length-1].getAttribute("data-info");
  3. if(guidData){
  4. document.write("<div class=\"guid\">");
  5. if(guidData.indexOf("|") != -1){
  6. var guidDatas = guidData.split("|");
  7. document.write(guidDatas.join(" &gt;&gt; "));
  8. }else
  9. document.write(guidData);
  10. document.write("</div>");
  11. }