How to allow javascript content in an iframe?

Asked

Viewed 400 times

1

I need to show a iframe within an HTML page, the problem is that the content Javascript generally does not work:

<iframe src="minhapasta/minhapagina.php?url=exemplo.com" width="1600" height="1000" sandbox="allow-scripts allow-same-origin allow-top-navigation "  seamless="seamless" >  </iframe>

I’ve tried every kind of sandbox in the iframe but it won’t!

Do you have any alternative to iframe that I can use?

  • What doesn’t work? You can show the code you want to use?

  • I’m actually trying to show off the sportingbet website: https://br.sportingbet.com but the live area that is javascript and the teams in the football area does not load, and I realize that it is because in fact, no script is being loaded.

  • It may be that the site does not allow "referrer" (horribly spelled "referer" in the header) other than the original, already tested to be sure?

  • I tested, it’s not that! :(

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.