+ 1

I can't see the mistake

I want to get a data from a page in a iframe. But something goes wrong always I try.(2 days on it) *I know about the limitation acess for security propouse in SoloLearn. It's not in the field of the question* https://code.sololearn.com/WVx9SMo5rme8/?ref=app

4th Nov 2018, 12:36 PM
Daniel Bandeira
Daniel Bandeira - avatar
8 Antworten
+ 6
The site appears on the iframe on my device but I received several errors due to its security. Is that what you expected as a result?
4th Nov 2018, 1:36 PM
ᴰᴼᴹᴵᴺᴼ
ᴰᴼᴹᴵᴺᴼ - avatar
+ 4
This is no way to get cross domain contents from JavaScript.
4th Nov 2018, 1:48 PM
Calviղ
Calviղ - avatar
+ 3
Browsers does not allow JavaScript to retrieve iframe contents that is not belong to the same domain.
4th Nov 2018, 1:44 PM
Calviղ
Calviղ - avatar
+ 2
hummm right! this us the point... how to deal with this?
4th Nov 2018, 1:46 PM
Daniel Bandeira
Daniel Bandeira - avatar
+ 1
No... running this web page in SoloLearn will result in a lot of erros (due to denied permission)... if you run in a desktop, the element will not be found . There is some misleaddd thing... but... I can't notice it
4th Nov 2018, 1:45 PM
Daniel Bandeira
Daniel Bandeira - avatar
+ 1
I will test in a computer. I'm anxious to see the result. Thank you
8th Nov 2018, 10:39 AM
Daniel Bandeira
Daniel Bandeira - avatar
0
but there is a way?!?!
4th Nov 2018, 3:10 PM
Daniel Bandeira
Daniel Bandeira - avatar