I have a site let say http://myownsite.com and I want to run a script to open new window on Safari or any browser in which I don’t own that site http://theothersite.com
if I don’t have a control with that site would it be possible to do self-closing??
like make it popup for 3 seconds and close after that
I was using iframe to open the page inside my page but iframe can not receive the cookie on cross-domain…
You can’t run javascript on a different domain. Same cross-domain security issues you have seen with cookies.
If you open the window in javascript, you can get the window handle and close it in the same code: