I am looking for a way to add to the following that ON PAGE LOAD the script in HTML file runs and simulates a left mouse click to bypass need for interact every single time..
I have the following but not able to add the necessary code..
as well as:
either work..
I have the following but not able to add the necessary code..
HTML:
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<title>TEST -</title>
<div id="target">
<iframe style="max-width: 100%; display: block; margin: auto;" src="https://www.mintv.com/home/ejwM/48/" autoplay="" width="1920" height="1080" frameborder="0" scrolling="no" align="middle" webkitallowfullscreen mozallowfullscreen allowfullscreen</iframe>
</div>
<script>
$('#target')[0].click();
</script>
</body>
</html>
as well as:
HTML:
<html>
<head>
<style>
iframe{width:100vw;height:100vh;border:0}
</style>
<script>
function on.PageLoad(){(function(){document.body.firstElementChild.src+="",click()},3000)}click();
</script>
</head>
<body>
<iframe src="https://www.ministeriotv.com/home/ejwM/48/"></iframe>
</body>
</html>
either work..