jeudi 5 mars 2020

Webpage with iFrames

I am experimenting with making a website where I have two iframes with other webpages side by side, and would only like to show a certain part of these websites.

Trying to edit the innerHTML of these websites throws errors regarding cross-page security problems. How can I run Javascript inside these iFrames in a safe manner? If this is not possible, is there a good atlernative for iFrames where I can have to websites side-by-side?

It's not important for me to be able to edit both iFrames, only one of them need to be editable.




Aucun commentaire:

Enregistrer un commentaire