Page 1 of 1

Website Email Masking by Oric

Posted: Thu May 18, 2006 5:10 am
by TheSpider
Hiya y'all,
Tried to post my article about the program I wrote for Website Email Masking using the Oric.
However, the HTML ASCII coding would not display on the forum, so I have made my post into a PDF, which may be found here.... ... _EMASK.pdf

Posted: Fri May 19, 2006 6:27 pm
by TheSpider
Has anyone here tried and tested this program?
Would love to know how it worked for you, or indeed if it did not.
Let's communicate people!

Posted: Sat May 20, 2006 9:20 pm
by romualdl
Hi there,

error message : website cannot be found...


Posted: Sun May 21, 2006 12:22 am
by TheSpider
romualdl wrote:Hi there,
error message : website cannot be found...
Hiya Romu,
Which website cannot be found?

a) ... _EMASK.pdf
then I know that works just fine.

b) the EMAIL address you entered to test with, then double check that the code is all together and not split by a wrap in the document.
That is the only bit that you have to be extremely careful about when putting the code into your web page.

C) Something that I am missing in your message?


Posted: Tue May 23, 2006 10:04 pm
by romualdl

When I click on your link I got a website not found or the like error message.


Re: problem

Posted: Wed May 24, 2006 2:36 am
by TheSpider
romualdl wrote:hi,
When I click on your link I got a website not found or the like error message.
Anyone else having problems with this link? ... _EMASK.pdf

Works great here.

Romu, have you tried right clicking and 'saving as'?

BTW, same info is found in a text version on the NG.
That is why I had to make a PDF for here.. the HTML ASCII codes would not display as just text on the forum.

Posted: Wed May 24, 2006 11:03 am
by carlsson
Works fine from here, Acrobat Reader starts up and document loaded on second attempt.
Hiya y'all,
Last night I wrote, and today debugged, a program for the Oric that generates masked email links for websites. Who says that Orics are not modern?

The program inputs 3 lines from the user...
1) Email Address
2) Subject Line
3) Displayed Text

It then generates HTML ASCII code for the Email & Subject lines, and places it all in a Javascript line.

The idea is NOT mine. It was a concept made up by an Amiga user friend of mine. Trouble is I forget which one!!! I took the code I generated for the email link on my Oric Website with the Amiga program, and backward generated it into an Oric BASIC program.
(see here:

The program may be downloaded here:

When I say 'Oric', I should really say 'Euphoric' as the program takes the emulators ability to LPRINT to a file, to generate the code, and therefore make it useable on an internet based computer (Amiga, Mac, PC, etc).

Here is the result of some of my test data... Word wrap does mess up the code, so you may have to do some manual editing to make it look something like this...
Orics are Great
Email me here

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!--
document.write('<A HREF="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#111;&#114;
&#105;&#99;&#115;&#32;&#97;&#114;&#101;&#32;&#71;&#114;&#101;&#97;&#116;">Email me here</A>');
// --> </SCRIPT>

The real important part is to have 'document.write' on the start of a new line. The program intentionally does not have a ; after the LPRINT that finishes the line with '<!--'. Simply paste the code into a webpage, and you should have a secure masked email link.
The forum somehow captures &, < and > into entities, but the key was to encode # as &#35; all the way so the browser doesn't try to interpret the codes.