HTML converter

  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 1st, 2004, 1:09 pm

1) I have been searching the web for a simple Chr to HTML converter. Does anyone know of any?
(If you don’t get the question check out: http://www.asciitable.com/)

2) Is this an effective way to help prevent automatic email spammer bots from grabbing a website email?
Read my Movie Reviews punk!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 1st, 2004, 1:09 pm

  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Joined: Feb 17, 2004
  • Posts: 279
  • Loc: Buenos Aires, Argentina
  • Status: Offline

Post April 1st, 2004, 1:55 pm

I'm not sure what you mean by converting CHR to HTML but, there is not such convertion because it makes no sense.

In HTML you have to scapte some special characters using á or > , etc. But haven't heard about a scape for any give ASCII value.
Now, even if you are able to do that, an automatic email spammer will be able to decode it.
  • Managedlinks
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 294
  • Status: Offline

Post April 1st, 2004, 4:58 pm

I wouldn't use that to prevent mail harvestors.

they easily convert back to html.

not many harvestors can read javascript though.

one I use a lot .. 'cause I wrote it is at

http://www.rebel.com.au/hiddenemail.htm

This use a simple encryption method the source code is just a garbled mess
  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Joined: Feb 17, 2004
  • Posts: 279
  • Loc: Buenos Aires, Argentina
  • Status: Offline

Post April 1st, 2004, 5:28 pm

That script will be a better approach.
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 2nd, 2004, 1:49 am

Thanks.

BTW the link dont work :(

I found it on your domain dowever how do I go about writing that!

I had a simple JS using variables that got put together but it got spammed.
Read my Movie Reviews punk!
  • stickfigure
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 28, 2004
  • Posts: 49
  • Status: Offline

Post April 2nd, 2004, 1:52 am

what happens if you use a javascript code to block your email from these spammers... and your innocent visitor has javascript disabled. are they still able to contact you?
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 2nd, 2004, 1:54 am

yes through a serverside form but they cant send attachments.

To see the a Html email I have one at http://www.futuremovies.co.uk/about.asp

Also the JS that failed on me :(

Code: [ Select ]
<script language="Javascript">
<!--
i = "info"
v = "mydomain.com"
subject = "Feedback: "
document.write("<a href='mailto:" + i + "@" + v + "?subject=" + subject + "'>");
document.write("<font color=''>");document.write(i + "@" + v);
document.write("</a>");
//-->
  1. <script language="Javascript">
  2. <!--
  3. i = "info"
  4. v = "mydomain.com"
  5. subject = "Feedback: "
  6. document.write("<a href='mailto:" + i + "@" + v + "?subject=" + subject + "'>");
  7. document.write("<font color=''>");document.write(i + "@" + v);
  8. document.write("</a>");
  9. //-->
Read my Movie Reviews punk!
  • stickfigure
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 28, 2004
  • Posts: 49
  • Status: Offline

Post April 2nd, 2004, 1:55 am

i mean with the javascript code that prevents harvesting, most people just use the mailto: thing with that, if im not msitaken.
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 2nd, 2004, 2:00 am

sure but there are loads of ways of showing mailto: that spiders may have trouble getting to.
  • Managedlinks
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 294
  • Status: Offline

Post April 2nd, 2004, 8:43 pm

Sorry folks the link I provided was wrong, it had .html should have been .htm

the correct link is
http://www.rebel.com.au/hiddenemail.htm

on most of my pages that use javascript I have a banner that displays a message if javascript is disabled but you have made a very good point and so I will now change the script so that without javascript an error shows

then people can choose to enable js to see the email address

another choice would be to give people the opportunity of either using a web form or the provided email address

be warned though some versions of formmail are insecure and allow third parties to harvest your email or worse still send out spam from your website

this of course could get you blacklisted and even kicked by your ISP
  • Managedlinks
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 294
  • Status: Offline

Post April 2nd, 2004, 8:57 pm

I have just added a noscript warning to the hidden email generator

http://www.rebel.com.au/hiddenemail.htm

I tested it in IE 6
Can any one test it in other browsers please
if it does not work I will have to create a more generic version
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 3rd, 2004, 5:11 am

Yep - the page itself dont work on Firebird (I think its new version Firefox is out)
Read my Movie Reviews punk!
  • Managedlinks
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Mar 31, 2004
  • Posts: 294
  • Status: Offline

Post April 3rd, 2004, 5:19 am

Bugger - Any error messages?

Guess I will have to download it. more bloatware for my machine.

Well I really shouldn't be cynical, but after the netscape 6.0 fiasco I havent been back
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Joined: Sep 17, 2003
  • Posts: 1080
  • Loc: Aldershot, UK
  • Status: Offline

Post April 3rd, 2004, 5:46 am

m8 do download Firefox. Its small compact and has a very good tab feature!
  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Joined: Feb 17, 2004
  • Posts: 279
  • Loc: Buenos Aires, Argentina
  • Status: Offline

Post April 3rd, 2004, 8:18 am

There is only one secure way of hidding your email address and it's server-side scripting.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 3rd, 2004, 8:18 am

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 198 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.