Is it possible to pass inputed values from my website to any other website on the internet. I have saved the input to localstorage. Now i want to pass it on to another website wich requires a username. The other website has the input ID="userusername". Is it possible without the website excpecting the value being posted with for example POST or GET method.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
function passvalues(){
var pass=document.getElementByID("name").value;
localStorage.setItem("textvalue", pass);
return false;
}
</script>
<form method="POST" action="whatever website">
<input type="name" placeholder="Name" id="name"/>
<input type="submit" placeholder="Login" onclick="passvalues();"/>
</form>
</body>
</html>
Aucun commentaire:
Enregistrer un commentaire