How javascript gets someother website data?

Posted by user260165 on Stack Overflow See other posts from Stack Overflow or by user260165
Published on 2010-04-21T21:06:56Z Indexed on 2010/04/21 21:13 UTC
Read the original article Hit count: 205

Filed under:

Well i am a bit confused..

I saw a service known as Zopim.. What they do is they provide you with a small piece of code:

such as

<!-- Start of Zopim Live Chat Script --> 
 <script type="text/javascript"> 
    document.write(unescape("%3Cscript src=\'" + document.location.protocol +
    "//zopim.com/?zopim\' type=\'text/javascript\'%3E%3C/script%3E"));
 </script>  
<!-- End of Zopim Live Chat Script --> 

you just need to place it in the footer and ur done..

Can any body let me know how this works and from where i can learn this..

+

how can they even set the CSS with this and also the looks?

Awaiting for your replies...

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript