HTML converter

  • Johan007
  • Guru
  • Guru
  • User avatar
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

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?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Posts: 279
  • Loc: Buenos Aires, Argentina

Post 3+ Months Ago

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
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

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
  • Posts: 279
  • Loc: Buenos Aires, Argentina

Post 3+ Months Ago

That script will be a better approach.
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

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.
  • stickfigure
  • Beginner
  • Beginner
  • stickfigure
  • Posts: 49

Post 3+ Months Ago

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
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

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. //-->
  • stickfigure
  • Beginner
  • Beginner
  • stickfigure
  • Posts: 49

Post 3+ Months Ago

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
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

sure but there are loads of ways of showing mailto: that spiders may have trouble getting to.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

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
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

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
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

Yep - the page itself dont work on Firebird (I think its new version Firefox is out)
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

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
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

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

Post 3+ Months Ago

There is only one secure way of hidding your email address and it's server-side scripting.
  • Johan007
  • Guru
  • Guru
  • User avatar
  • Posts: 1080
  • Loc: Aldershot, UK

Post 3+ Months Ago

sure but you cant send attachments very easily I would imagine.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

Which means not giving your email out at all.

I am working on a new system I call mailtwister its a beefed up version of disposable e-mails

But how to handle websites is a different matter. as a webmaster you want the address to stay valid not be disposed of because a bot has managed to scrape it.

A lot of webmasters have no clue how to create scripts, and even more use free servers that don't allow server side scripting.
  • Managedlinks
  • Proficient
  • Proficient
  • Managedlinks
  • Posts: 294

Post 3+ Months Ago

my last comment was in response to _Leo_

I have corrected the error that caused firefox to fail, I will now have to be stricter on my scripts wont I !

a div element cannot be accessed by its id you MUST use getElementById() to get it. which of course is the correct method to use.

Post Information

  • Total Posts in this topic: 18 posts
  • Users browsing this forum: No registered users and 139 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.