Uncaught DOMException: Blocked a Frame with origin from accessing a cross origin-frameToggle on CMS page not workingFont from origin as been blocked from loading by Cross-Origin Resource Sharing policy on multiple websites magentoJS errors Magento 2can't edit a bundle product after adding to cartOne Page Checkout extension infinite loadingConfigurable Swatches not working after 1.9.3 UpgradeTabs are not showing when adding new productBlocked a frame with origin from accessing a cross-origin frameMagento 2 How to add external Js in a pageMagento 2 paytabs Uncaught TypeError: Cannot read property 'removeAttribute' of undefined

Could a rotating ring space station have a bolo-like extension?

Why is unzipped directory exactly 4.0K (much smaller than zipped file)?

What did the 'turbo' button actually do?

Complications of displaced core material?

Paired t-test means that the variances of the 2 samples are the same?

resolution bandwidth

Count all vowels in string

Is keeping the forking link on a true fork necessary (Github/GPL)?

Is superuser the same as root?

Is there an idiom that means that you are in a very strong negotiation position in a negotiation?

Why do the i8080 I/O instructions take a byte-sized operand to determine the port?

EU rights when flight delayed so much that return is missed

Writing "hahaha" versus describing the laugh

Python script to extract text from PDF with images

Why is the Eisenstein ideal paper so great?

"Official wife" or "Formal wife"?

The disk image is 497GB smaller than the target device

Fill area of x^2+y^2>1 and x^2+y^2>4 using patterns and tikzpicture

Align vertices between two edges

Piping the output of comand columns

I want to ask company flying me out for office tour if I can bring my fiance

What is the purpose of the yellow wired panels on the IBM 360 Model 20?

How to write numbers and percentage?

One word for 'the thing that attracts me'?



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


Toggle on CMS page not workingFont from origin as been blocked from loading by Cross-Origin Resource Sharing policy on multiple websites magentoJS errors Magento 2can't edit a bundle product after adding to cartOne Page Checkout extension infinite loadingConfigurable Swatches not working after 1.9.3 UpgradeTabs are not showing when adding new productBlocked a frame with origin from accessing a cross-origin frameMagento 2 How to add external Js in a pageMagento 2 paytabs Uncaught TypeError: Cannot read property 'removeAttribute' of undefined






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








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 accessing a cross-origin frame.
at Object.init (https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:106)
at https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:4810
init @ VM1187 tiny_mce_popup.js:5
(anonymous) @ VM1187 tiny_mce_popup.js:5
mctabs.js:13 Uncaught TypeError: Cannot read property 'windowManager' of undefined
at new MCTabs (mctabs.js:13)
at mctabs.js:119
MCTabs @ mctabs.js:13
(anonymous) @ mctabs.js:119
form_utils.js:11 Uncaught TypeError: Cannot read property 'baseURI' of undefined
at form_utils.js:11
(anonymous) @ form_utils.js:11
VM1187 tiny_mce_popup.js:5
Uncaught TypeError: Cannot read property 'plugin_url' of undefined
at Object.getWindowArg (VM1187 tiny_mce_popup.js:5)
at Object.requireLangPack (VM1187 tiny_mce_popup.js:5)
at link.js:1









share|improve this question






























    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 accessing a cross-origin frame.
    at Object.init (https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:106)
    at https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:4810
    init @ VM1187 tiny_mce_popup.js:5
    (anonymous) @ VM1187 tiny_mce_popup.js:5
    mctabs.js:13 Uncaught TypeError: Cannot read property 'windowManager' of undefined
    at new MCTabs (mctabs.js:13)
    at mctabs.js:119
    MCTabs @ mctabs.js:13
    (anonymous) @ mctabs.js:119
    form_utils.js:11 Uncaught TypeError: Cannot read property 'baseURI' of undefined
    at form_utils.js:11
    (anonymous) @ form_utils.js:11
    VM1187 tiny_mce_popup.js:5
    Uncaught TypeError: Cannot read property 'plugin_url' of undefined
    at Object.getWindowArg (VM1187 tiny_mce_popup.js:5)
    at Object.requireLangPack (VM1187 tiny_mce_popup.js:5)
    at link.js:1









    share|improve this question


























      0












      0








      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 accessing a cross-origin frame.
      at Object.init (https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:106)
      at https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:4810
      init @ VM1187 tiny_mce_popup.js:5
      (anonymous) @ VM1187 tiny_mce_popup.js:5
      mctabs.js:13 Uncaught TypeError: Cannot read property 'windowManager' of undefined
      at new MCTabs (mctabs.js:13)
      at mctabs.js:119
      MCTabs @ mctabs.js:13
      (anonymous) @ mctabs.js:119
      form_utils.js:11 Uncaught TypeError: Cannot read property 'baseURI' of undefined
      at form_utils.js:11
      (anonymous) @ form_utils.js:11
      VM1187 tiny_mce_popup.js:5
      Uncaught TypeError: Cannot read property 'plugin_url' of undefined
      at Object.getWindowArg (VM1187 tiny_mce_popup.js:5)
      at Object.requireLangPack (VM1187 tiny_mce_popup.js:5)
      at link.js:1









      share|improve this question
















      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 accessing a cross-origin frame.
      at Object.init (https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:106)
      at https://assets.example.com/js/tiny_mce/tiny_mce_popup.js:5:4810
      init @ VM1187 tiny_mce_popup.js:5
      (anonymous) @ VM1187 tiny_mce_popup.js:5
      mctabs.js:13 Uncaught TypeError: Cannot read property 'windowManager' of undefined
      at new MCTabs (mctabs.js:13)
      at mctabs.js:119
      MCTabs @ mctabs.js:13
      (anonymous) @ mctabs.js:119
      form_utils.js:11 Uncaught TypeError: Cannot read property 'baseURI' of undefined
      at form_utils.js:11
      (anonymous) @ form_utils.js:11
      VM1187 tiny_mce_popup.js:5
      Uncaught TypeError: Cannot read property 'plugin_url' of undefined
      at Object.getWindowArg (VM1187 tiny_mce_popup.js:5)
      at Object.requireLangPack (VM1187 tiny_mce_popup.js:5)
      at link.js:1






      magento-1.9 javascript tinymce






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 1 '18 at 20:15









      Vivek Kumar

      2,7202731




      2,7202731










      asked Feb 6 '17 at 21:44









      Tyler JensenTyler Jensen

      84111




      84111




















          2 Answers
          2






          active

          oldest

          votes


















          0














          it happend beacause you use parallel download paths. change back js path to origin and will be ok. I have the same here, i can't find a solution for that






          share|improve this answer






























            0














            When you set the CDN for JS, Magento gives you a clear warning




            Warning! When using CDN, in some cases JavaScript may not run properly if CDN is not in your subdomain




            You need to either get a CDN that allows you to set a domain name on it cdn.yoursite.com or don't put the JS on a CDN.



            System=>Configuration=>General=>Web=>Unsecure=>Base JavaScript URL
            and set it to unsecure_base_urljs/



            cdn warning






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "479"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f158420%2funcaught-domexception-blocked-a-frame-with-origin-from-accessing-a-cross-origin%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              it happend beacause you use parallel download paths. change back js path to origin and will be ok. I have the same here, i can't find a solution for that






              share|improve this answer



























                0














                it happend beacause you use parallel download paths. change back js path to origin and will be ok. I have the same here, i can't find a solution for that






                share|improve this answer

























                  0












                  0








                  0







                  it happend beacause you use parallel download paths. change back js path to origin and will be ok. I have the same here, i can't find a solution for that






                  share|improve this answer













                  it happend beacause you use parallel download paths. change back js path to origin and will be ok. I have the same here, i can't find a solution for that







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 15 '17 at 23:16









                  PantelisPantelis

                  4116




                  4116























                      0














                      When you set the CDN for JS, Magento gives you a clear warning




                      Warning! When using CDN, in some cases JavaScript may not run properly if CDN is not in your subdomain




                      You need to either get a CDN that allows you to set a domain name on it cdn.yoursite.com or don't put the JS on a CDN.



                      System=>Configuration=>General=>Web=>Unsecure=>Base JavaScript URL
                      and set it to unsecure_base_urljs/



                      cdn warning






                      share|improve this answer



























                        0














                        When you set the CDN for JS, Magento gives you a clear warning




                        Warning! When using CDN, in some cases JavaScript may not run properly if CDN is not in your subdomain




                        You need to either get a CDN that allows you to set a domain name on it cdn.yoursite.com or don't put the JS on a CDN.



                        System=>Configuration=>General=>Web=>Unsecure=>Base JavaScript URL
                        and set it to unsecure_base_urljs/



                        cdn warning






                        share|improve this answer

























                          0












                          0








                          0







                          When you set the CDN for JS, Magento gives you a clear warning




                          Warning! When using CDN, in some cases JavaScript may not run properly if CDN is not in your subdomain




                          You need to either get a CDN that allows you to set a domain name on it cdn.yoursite.com or don't put the JS on a CDN.



                          System=>Configuration=>General=>Web=>Unsecure=>Base JavaScript URL
                          and set it to unsecure_base_urljs/



                          cdn warning






                          share|improve this answer













                          When you set the CDN for JS, Magento gives you a clear warning




                          Warning! When using CDN, in some cases JavaScript may not run properly if CDN is not in your subdomain




                          You need to either get a CDN that allows you to set a domain name on it cdn.yoursite.com or don't put the JS on a CDN.



                          System=>Configuration=>General=>Web=>Unsecure=>Base JavaScript URL
                          and set it to unsecure_base_urljs/



                          cdn warning







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 1 '18 at 20:22









                          HaimHaim

                          1,248923




                          1,248923



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f158420%2funcaught-domexception-blocked-a-frame-with-origin-from-accessing-a-cross-origin%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                              Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                              Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림