for example, I have a cookie under test.com 
 now I want to send this cookie to a localhost, is there any way? 
 for example, I have a cookie under test.com 
 now I want to send this cookie to a localhost, is there any way? 
if the cookie is not httpOnly (that is, JS can read to cookie), otherwise it can't