Is it possible for a third-party script to write cookies to the user's computer?
For example, if affiliate.example.org contains:
<script type="text/javascript" src="http://me.example.com/cookiemonster.js"></script>
I want to provide a partner with a script that, we hope, will write cookies on their clients' machines; Ideally, we would like to control the script ourselves. However, before trying to do this, I just thought that I would see if this was possible at all.
Of course, another option is for us to provide a real script for the affiliate, which he could post directly on his site.
source share