test2.html
Kód: Vybrat vše
<form id="loginForm" name="loginForm" method="post" action="http://www.streamuj.tv/login">
<input type="text" name="username" value="testjmeno" size="22" tabindex="3" id="name" class="logintext">
<input name="password" type="password" value="testheslo" class="logintext" id="password" tabindex="4" size="22">
<input type="submit" name="action_login" value="Spustit zdarma">
</form>
<script>
document.loginForm.username.style.display="none";
</script>
<script>
document.loginForm.password.style.display="none";
</script>
dále:
test.html
Kód: Vybrat vše
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="test" content="test">
<title>Test</title>
</head>
<body>
<iframe src="test2.html" width="300" height="100">
</iframe>
<iframe src="http://movies.sosac.to/cs/embed?video=75794&id=10416&affid=177519&width=640&height=360" width="640" height="360" frameborder="0" scrolling="no"></iframe>
</body>
</html>
Teď by stačilo udělat automatické kliknutí na tlačítko "Spustit zdarma" --> S tím, že po kliknutí na tlačítko by to nepřesměrovalo z webu pryč ale zpět na web nějakým způsobem jde to udělat?