I am trying to reload the parent page from the child window and I used window.opener.location.href = window.opener.location.href.
This worked when both pages were on http, but since they were moved on https, I get Permission denied for property href. Do you have any idea how could I refresh the parent?
Thanks
http and https are considered separate domains since the protocols are different. You can not access them because of the same origin policy .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.