I created this page by adapting an item from the Bookmarklets collection.
Use the send button below to see this thing work and e-mail the source code for this page to a friend.
Implement this at your site by putting the following code into the body of your page:
<form name="form1" id="form1" method="post" enctype="text/plain"
action=""
onsubmit="return getit();">
<input type="hidden" name="text" id="text" />
<input type="submit" value="Send to a Friend" />
</form>
<script type="text/javascript">
<!-- Hide this code from non-JavaScript browsers
function getit() {
f1 = document.form1;
f1.action = "mailto:" + prompt("To:");
if (navigator.javaEnabled() != true) {
alert('Enable Java!');
} else {
D=java.io.DataInputStream(java.net.URL(location).openStream());
R='\n';
while ((T=D.readLine()) != null) {
R += T + '\n';
}
D.close();
f1.text.value = R;
}
return true;
}
// End hiding -->
</script>