Fix JavaScript blocked frame due to cross origin policy

I need someone to help me fix a blocked frame issue due to cross origin policy. I am loading a the Wordpress login page ([login to view URL]) in an iframe of the Wordpress subdomain as follows

Parent domain - [login to view URL]

Sub Domain - [login to view URL]

The [login to view URL] page loads fine in the subdomain iframe. I am using [login to view URL] in order to check whether the URL contains [login to view URL] and then parse the login cookie on javascript backend

The problem is that after logging in to the wordpress parent domain on the ifame, the [login to view URL]( ) method doesn't work and I get the message on browser console that the frame is blocked due to cross-origin access

I've attached the JavaScript I'm using to load the wordpress parent domain inside the iframe.

Let me know if you can solve it.


[login to view URL]

Uncaught DOMException: Blocked a frame with origin "[login to view URL]" from accessing a cross-origin frame.

at checkLogin ([login to view URL]:20:35)

at [login to view URL] ([login to view URL]:11:25)

Taidot: AJAX, Javascript, jQuery / Prototype, PHP, WordPress

Näytä lisää: blocked a frame with origin "http://localhost" from accessing a cross-origin frame., how to resolve blocked a frame with origin from accessing a cross origin frame, blocked a frame with origin from accessing a cross-origin frame jquery, blocked a frame with origin from accessing a cross-origin frame same domain, blocked a frame with origin from accessing a cross-origin frame salesforce, blocked a frame with origin http // from accessing a cross-origin frame, uncaught domexception: blocked a frame with origin from accessing a cross-origin frame., uncaught domexception: blocked a frame with origin iframe, javascript disable frame breaker, javascript intercept frame, fix javascript free, javascript pop frame examples, fix javascript errors ie6, firefox fix javascript, cross site scripting origin policy, blocked frame origin chrome, blocked frame origin accessing frame origin, blocked frame origin, blocked frame origin protocols domains ports must match, disable cross origin policy

Tietoa työnantajasta:
( 78 arvostelua ) Hyderabad, United States

Projektin tunnus: #18996483

9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


hello sir i am expert in wordpress and jquery i am able to do this work this simple work for me i can do this work asap you will satisfy with my work i have 5 year experience in this field thank you

$25 USD 0 päivässä
(186 arvostelua)

ok i got this issue ... message me i can resolve this issue right now ..... thanks..................

$25 USD 1 päivässä
(68 arvostelua)

We have experience of Website in PHP, Laravel, CodeIgnitor, Wordpress, Opencart, Woocommerce . We also have experience of making Android,Window and iphone application with ionic & phonegap. Benefits in working with Lisää

$18 USD 1 päivässä
(133 arvostelua)

I have 10 years of experience. I have lots of satisfied customers. please check my profile. I am ready to start

$30 USD 1 päivässä
(96 arvostelua)

Hello,sir I 'd really like to work with you on this one if possible! I have read your description with great interest. I've gone through the post description carefully and ready to start work on this project. I do Lisää

$25 USD 1 päivässä
(5 arvostelua)

This is very small issue of cross origin. For this we need just one change. htaccess file to apply permission of cross origin. Thanks In Advance.

$10 USD 1 päivässä
(3 arvostelua)

Hello, We can help you with javascript issue. We have a team of an experienced javascript developer. Please connect with us on chat so that we can start a discussion. We are waiting for your positive response. Tha Lisää

$25 USD 1 päivässä
(1 arvostelu)

Hello Sir, I think my profile and experience may be a good to match. For further information i will ask you some question at interview time. I am Detail-oriented WordPress Developer with extensive experience Lisää

$35 USD 3 päivässä
(0 arvostelua)

Hi there, EXPECT BEYOND IMAGINATION ICORE SOFTWARE TECHNOLOGIES is powered by TECHNOLOGIES Experts in India and across the globe. Core team of Developers and Designers helps quality product for new projects while Lisää

$25 USD 1 päivässä
(0 arvostelua)