I'm trying to get document from iframe using
document.getElementById('product-page').contentWindow.document
but I keep getting this error below, is there any way i can avoid the error?
VM1342:1 Uncaught DOMException: Blocked a frame with origin "URL" from accessing a cross-origin frame. at :1:54