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;
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
add a comment |
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
add a comment |
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
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
magento-1.9 javascript tinymce
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
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
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/

add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Aug 15 '17 at 23:16
PantelisPantelis
4116
4116
add a comment |
add a comment |
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/

add a comment |
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/

add a comment |
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/

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/

answered Nov 1 '18 at 20:22
HaimHaim
1,248923
1,248923
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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