JS => Replacing Document Body with iframe tag not woking !

Support
  • it's Working on Normal Browser With console command

    document.body.innerHTML = '<iframe width="560" height="315" src="https://www.youtube.com/embed/GtZaKSWGJFE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';
    

    or

    document.getElementsByTagName('body')[0].innerHTML = '<iframe width="560" height="315" src="https://www.youtube.com/embed/GtZaKSWGJFE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';
    

    359f41f4-9f23-425e-aed8-697d87a1ea0f-image.png

    But it's Not Working on BAS Via Browser Javascript command

    2d4a9f30-3953-42d5-8a29-2cee34e4bdfe-image.png

  • I don't understand Node.js.

    Support
    0 Votes
    2 Posts
    477 Views
  • 0 Votes
    1 Posts
    548 Views
  • 0 Votes
    2 Posts
    685 Views
  • CSS>Element-id>Match>text

    Support
    0 Votes
    2 Posts
    1031 Views
  • 0 Votes
    2 Posts
    1406 Views