Changeset 1558162
- Timestamp:
- 12/20/2016 11:17:26 AM (9 years ago)
- File:
-
- 1 edited
-
livebeep/tags/1.0.2/livebeep-chat.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
livebeep/tags/1.0.2/livebeep-chat.php
r1237102 r1558162 75 75 function livebeep_script() { 76 76 77 $str = "<!-- LiveBeep - start script -->"."\n".77 $str_bak = "<!-- LiveBeep - start script -->"."\n". 78 78 "<script type=\"text/javascript\">"."\n". 79 79 "try{"."\n". … … 86 86 "<!-- LiveBeep - end script -->"; 87 87 88 $str = "<!--Start of LiveBeep Script-->"."\n". 89 "<script type=\"text/javascript\">"."\n". 90 "(function(d,s,id){"."\n". 91 "if(d.getElementById(id)){return;}"."\n". 92 "var u='//www.livebeep.com/\'+d.domain+\'/eye.js';"."\n". 93 "if((h=d.location.href.split(/#ev!/)[1])) u += '?_e=' +h;"."\n". 94 "else if((r=/.*\_evV=(\w+)\b.*/).test(c=d.cookie) ) u += '?_v='+c.replace(r,'$1');"."\n". 95 "var js = d.createElement(s);"."\n". 96 "js.src = u;js.id = id;"."\n". 97 "var fjs = d.getElementsByTagName(s)[0];"."\n". 98 "fjs.parentNode.insertBefore(js, fjs);"."\n". 99 "})(document,'script','livebeep-script');"."\n". 100 "</script>"."\n". 101 "<!--End of LiveBeep Script-->"."\n"; 102 88 103 echo $str; 89 104 }
Note: See TracChangeset
for help on using the changeset viewer.