Fix JavaScript blocked frame due to cross origin policy
$10-30 USD
Stengt
Lagt ut omtrent 5 år siden
$10-30 USD
Betalt ved levering
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)
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
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.
Thanks
Diksha
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 business analyst helps clients to understand and freeze their requirements. People at Votive believe in help client and feel as they are working with their own virtual Team.
----Why choose us ----
1. Project Planning and Sprint Development.
2. Unlimited revisions in design.
3. Testing and QA.
4. Responsive for mobile/tablets/desktop and fully compatible for all browser.
5. Error free & clean codes.
6. Fully SEO Friendly.
7. Easy to use and navigate, you will easily add/edit the content.
8. Free of cost Deployment