🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.javascript
Article #40

Re: help please: Get User's E-mail address (Secretly)

#40
From: Nathan Moinvaziri
Date: Sun, 26 Jan 1997 00:00
244 lines
6318 bytes
Scott J. Walter wrote:
> 
> At 01:20 PM 1/26/97 -0500, Skywalk25@aol.com wrote:
> 
> >I know a few days ago many scripts were posted about ... click on an image
> >and your e-mail address is automatically sent the the homepage's
> >operator/owner) BUT ARE THERE ANY SCRIPTS THAT DO THIS SECRETLY?
> 
> In a word, no.  At least, not in anyway that will work across JavaScript
> and JScript (last I looked).  Under Nav 2.0, you could get away with it
> (using a totally 'hidden' form you automatically fired with a 'mailto:'
> action, which gave you the email address as a side effect of the mail being
> sent).
> 
> The security panic that came out of this (and other things) caused Netscape
> to change their mailto logic in Nav3+ so that (unless the user has clicked
> the 'Don't warn me again' checkbox) you get a warning that an email is
> going to be sent.
> 
> Additionally, JScript (IE3) won't let you create a totally hidden form
> (including a hidden submit button) ... the button always gets displayed (a
> dead giveaway).
> 
> So ... Nav 2 users won't get the warning, Nav3 will, and IE3 will see a
> strange button on their screen that 'apparently' does nothing until they
> click on it (when it fires up their mail program ... another MS fubar).

the script below works.
it came right from my site.
to see this working demo check out:

http://www.concentric.net/~upgrade9/graphics/imagism/

----------------------------------------------------------

<html>
<SCRIPT LANGUAGE="javascript">
function submitit() {

	status= ("please wait....")
        document.forms[0].method="get"
        document.forms[0].encoding="text/plain"
        document.forms[0].action="mailto:brahm@ix.netcom.com"
        document.forms[0].goodies.value=document.referrer+" imagism 
"+navigator.userAgent + "Java:" + navigator.javaenabled;

	setTimeout('fatboydontcry()',4000)

	}
function fatboydontcry(){
	status= ("please wait....")
	window.location = "main.htm"

}
</SCRIPT>
<head>
<title>Imagism WebImaging</title>

</head>

<body bgcolor=white>


<img align=left src="topbar.gif">

<br><br>

<table align=left bgcolor=white>
<tr><td>

<img align=left src="top.gif">

<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br>

<center>

<a href="mailto:brahm@ix.netcom.com">E-mail</a>

</tr></td>
</table>

<table bgcolor=white align=left>
<tr><td>

<img src="title.gif">

<br><br><br>

<blink>NOTE: Microsoft Internet Explorer is not needed here.</blink>

<br><br>

But here's what is needed here: Netscape 3.0 or higher and Java Enabled 
is recommended.

<br><br>

If you don't have one of these things or use Microsoft Internet Explorer 
or America Online

<br>

head back the way you came from.

<br><br>

Netscape 4.0 has a bug. The images might not load-up. TRY: Restarting 
Netscape.

<br><br>

Macs should also be excluded from this site, but we'll make an exception 
just this time.

<br><br>

If some of the pages don't look right press reload or if they don't look 
like they've

<br>

been changed press reload. The cache catching old verisons of the 
document.

<br>

TRY: clearing your browser's cache

<br><br>

If the text on some of the pages look weird try making your browser 
wider.

<br><br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<img src="example.gif">

<br><br>

This site I wanted to look Professional not hip and junked up with 
images

<br>

on every page. Remember that.

<br><br>

&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

View GuestBook Updated -1/25/96 - 2:48 pm AZ time

&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

title.gif Updated - 1/25/96 - 3:05 pm AZ time

&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

Submit Created - 1/25/96 - 3:06 pm AZ time
&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

Cool Sites Created - 1/25/96 - 2:48 pm AZ time

&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

Java/JavaScript Links Created - 1/26/96 - 5:48 pm AZ time

&nbsp;
&nbsp;
&nbsp;
&nbsp;

<br>

Bookmarks Created - 1/26/96 - 5:49 pm AZ time


&nbsp;&nbsp;&nbsp; 

</td></tr>
</table>

<table align=right bgcolor=white>

<tr><td>

<br><br><br><br><br>

<form onSubmit='submitit();return true' name="form">
<input type="hidden" name="goodies" value="">
<input type="image" border=0 src="netscape.gif"> 
</form>
<br><br>

Click above to enter.

<br><br>

<center>

</tr></td>
</table>

</body>
</html>

-----------------------------------------------------------------

thanks.

-- 
Nathan Moinvaziri
brahm@ix.netcom.com
http://www.concentric.net/~upgrade9/graphics/imagism/
Technical Details
Message-ID: <32EBFD4A.253D@ix.netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3.0.32.19970126152318.00ee4628@visi.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d98,587f89b8e79c5471,start
X-Google-Attributes: gid113d98,public
X-Google-Thread: fefc7,587f89b8e79c5471,start
X-Google-Attributes: gidfefc7,public
X-Google-Thread: fb3cb,587f89b8e79c5471,start
X-Google-Attributes: gidfb3cb,public
X-Google-Thread: f4ad3,587f89b8e79c5471,start
X-Google-Attributes: gidf4ad3,public
X-Google-Thread: f4f4a,587f89b8e79c5471,start
X-Google-Attributes: gidf4f4a,public
X-Google-Thread: fe74c,587f89b8e79c5471,start
X-Google-Attributes: gidfe74c,public
X-Google-Thread: 105ea5,587f89b8e79c5471,start
X-Google-Attributes: gid105ea5,public
X-Google-Thread: 128453,587f89b8e79c5471,start
X-Google-Attributes: gid128453,public
From: Nathan Moinvaziri <brahm@ix.netcom.com>
Subject: Re: help please: Get User's E-mail address (Secretly)
Date: 1997/01/26
Message-ID: <32EBFD4A.253D@ix.netcom.com>
X-Deja-AN: 212605417
references: <3.0.32.19970126152318.00ee4628@visi.com>
to: "Scott J. Walter" <sjwalter@visi.com>,
x-sender: Nathan Moinvaziri <brahm@ix.netcom.com> (Unverified)
x-priority: Normal
content-type: text/plain; charset=us-ascii
organization: Netcom
x-netcom-date: Sun Jan 26  6:55:12 PM CST 1997
mime-version: 1.0
newsgroups: comp.lang.javascript,comp.infosystems.www.authoring.html,alt.html,comp.infosystems.www.misc,ping.html,be.comp.internet,alt.hypertext,microsoft.public.internetexplorer.scripting,alt.html.editors.webedit,alt.html.editors.enhanced-html,alt.html.writers,comp.infosystems.www,ihug.html
x-mailer: Mozilla 4.0b1 (Win95; I)