Đã Đóng

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.

Error

[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)

Kĩ năng: AJAX, Javascript, jQuery / Prototype, PHP, WordPress

Xem nhiều hơn: 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 //127.0.0.1 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

Về Bên Thuê:
( 78 nhận xét ) Hyderabad, United States

ID dự án: #18996483

9 freelancer đang chào giá trung bình $24 cho công việc này

aradadiya163

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 trong 0 ngày
(186 Nhận xét)
6.6
aftabyounas

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

$25 USD trong 1 ngày
(68 Nhận xét)
6.0
jamesmartin81

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 Thêm

$18 USD trong 1 ngày
(133 Nhận xét)
5.9
articontech

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

$30 USD trong 1 ngày
(96 Nhận xét)
5.9
finaldragon123

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 Thêm

$25 USD trong 1 ngày
(5 Nhận xét)
3.5
Bhavin100

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 trong 1 ngày
(3 Nhận xét)
2.1
qualitasit2018

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 Thêm

$25 USD trong 1 ngày
(1 Nhận xét)
0.6
manojmahajan0001

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 Thêm

$35 USD trong 3 ngày
(0 Nhận xét)
1.0
shannbala

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 Thêm

$25 USD trong 1 ngày
(0 Nhận xét)
0.0