サードパーティのCookieを作成しています<img src="http://example.com/test.php" />
test.php:
if($_GET['r']) {
    header('Content-type: image/gif');
    // echo transparent 1x1 pixel
    exit;
} else {
    setcookie('name', md5(time()), time()+60*60*24*30, '/');
    $url = 'http://example.com/test.php?r=1';
    header('Location: '.$url);
   exit;
}
このコードはサードパーティ Cookie を作成します。example.com とは異なるドメインから JavaScript を介して作成された Cookie を読み取る方法はありますか?