lundi 5 août 2019

How to edit code an existing website within my own website?

I'm adding an external website to my HTML project and I want to detect whether the user interacts on it or not (e.g. scrolling, clicking).

I added the website as an "object" tag

<div id="webContainer">
    <object type="text/html" data="www.google.com"></object>
</div>

I tried to use an <iframe> but it doesn't work (working on MVC)

The detecting user interaction code that I wrote works on every part of the HTML except external link.

So I want to know how to top up code to the existing website. Will I able to do it?




Aucun commentaire:

Enregistrer un commentaire