Error: permission denied to access property “ref”

Document.domain can only span 2+ level domain names, not top level ones, such as ABc.com and XXx.com, which are not valid with document.domain

if it’s your own page, use html5
PostMessage communicates


Read More: