Strona 1 z 1

w3m/links/links2/lynx i automatyczne wysyłanie formularzy

: 09 kwietnia 2008, 01:27
autor: skynet
Czy jest jakiś sposób na automatyczne wysłanie formularza w przeglądarce konsolowej ?

napisałem taki kod
<html>
<head>
</head>
<body OnLoad="document.frmLogin.submit()">
<form id="myform" action="http://www.gimpuj.info/index.php?action=login2" method="post" accept-charset="ISO-8859-2" name="frmLogin" onsubmit="hashLoginPassword(this, '4e177a26af95b47e5b1a868bedbbedce');">
<input type="text" name="user" value="user"/>
<input type="password" name="passwrd" value="password"/>
<input type="checkbox" name="cookieneverexp" class="check" onclick="this.form.cookielength.disabled = this.checked;" checked="checked"/>
<input type="submit" value="Zaloguj sie"/>
</form>
<script language="JavaScript" type="text/javascript">
document.frmLogin.submit();
</script>
</body>
</html>
Tutaj wysyłam na 2 sposoby poprzez
<body OnLoad="document.frmLogin.submit()">
i
<script language="JavaScript" type="text/javascript">
document.frmLogin.submit();
</script>
ale żaden nie działa w przeglądarce konsolowej

czy można jakoś smusić w3m/links/links2/lynx do wysłania formularza ?
edit : w elinks
elinks -auto-submit 1 -verbose 0 '/home/skynet/Desktop/1.html'
też nie działa