Posts

Showing posts from April 15, 2019

Uncaught DOMException: Blocked a Frame with origin from accessing a cross origin-frame

Image
0 I have a Magento 1.9 site that uses TinyMCE. Everything worked fine until I added a cdn. The script wouldn't load because it was on a different domain. I went ahead and added a subdomain but it still doesn't work. When I started troubleshooting I came across this http://archive.tinymce.com/wiki.php/TinyMCE3x:How-to_load_TinyMCE_crossdomain I changed the header of the script to- //Uncomment and change this document.domain value if you are loading the script cross subdomains document.domain = "assets.example.com"; At the end of the script I also added (in bold)- **document.domain = 'assets.example.com';**tinyMCEPopup.init(); Still doesn't work. The errors I am getting are- Uncaught DOMException: Blocked a frame with origin "https://assets.example.com" from accessin