M
M
Millerish2016-01-27 10:43:18
JavaScript
Millerish, 2016-01-27 10:43:18

How to apply a click to an iFrame element?

Good morning!

Can you tell me how to pass a click to an iFrame? The iFrame uses a site from another domain to which there is no access. I read about the SOP, but is there a way to bypass it?

Perhaps my problem can be solved in another way? Structure:
1) the client logs in - OK
2) iFrame and toolbar are loaded - OK
3) the necessary data is retrieved from the site into the iFrame - OK
4) the client navigates to another iFrame page and retrieves data through the toolbar again

Is it possible to do this without the iFrame?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Melnichenko, 2016-01-27
@alex87melnichenko

If the iframe is from another domain, then no way. This is the browser security policy.
Imagine a picture, you upload a hidden frame of some payment system or social network on your site, the user is authorized in it, does not see this frame, and you pull whatever you want from this frame to your server through js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question