473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Looking for Script

Ed
I am looking for a script that hides your email address in your web page
from spiders, robots, etc....
Can someone tell me where to find one and do they work?
Thanks
Ed

Jul 20 '05 #1
5 1602

"Ed" <el*****@mindspring.com> schreef in bericht
news:bo*************@ID-201461.news.uni-berlin.de...
I am looking for a script that hides your email address in your web page
from spiders, robots, etc....
Can someone tell me where to find one and do they work?
Thanks
Ed


Hi Ed

This may be the script you are looking for

<script language="JavaScript"><!--
var name = "yourname"; var domain = "yourdomain";
document.write('<a href=\"mailto:' + name + '@' + domain +'\" +
style=\"cursor:default\"+>');
// --></script>
<img border="0" src="picture to click on">
<script language="JavaScript"><!--
document.write('</a>');
// --></script>
Greetings

John
http://members.home.nl/jpeskens
Jul 20 '05 #2
Ed hu kiteb:
I am looking for a script that hides your email address in your web
page from spiders, robots, etc....
Can someone tell me where to find one and do they work?


One relatively simple way is to encode the relevant part as html escape
characters instead of simple ascii. Unipad is one program that makes
this conversion painless. Those spambots cant seem to find encoded
characters.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #3
Ed wrote:
I am looking for a script that hides your email address in your web page
from spiders, robots, etc....
Can someone tell me where to find one
Google is your friend. [psf 6.1]
and do they work?


No, since client-side JavaScripz is then required and users without it
cannot use the address. They are scriptkiddie bullshit and therefore to
be avoided. Server-side formmailer scripts are much more reliable (see
the discussion about `mailto:' URIs a few days before) and free you from
using e-mail addresses in your document(s).
PointedEars
Jul 20 '05 #4
<script language="Javascript">
<!--

var name = "info"
var domain = "anouksweb.nl"
document.write("<a href='mailto:" + name + "@" + domain + "'>")
document.write(name + "@" + domain)
document.write("</a>")
//-->
</script>

I think you can put this between your <body> then you have no spam ....

Greetz Mario

www.kluivie.nl
Jul 20 '05 #5
Mario wrote:
<script language="Javascript">
<script type="text/javascript">
[...]
document.write("</a>")
Assuming that you are using HTML because of the deprecated use of the
`language' attribute for the `script' element, you need to escape ETAGO
delimiters within script code that is to be placed within HTML:

document.write("<\/a>");

BTW, it is good style to end JavaScript statements with `;'.
[...]
I think you can put this between your <body> then you have no spam ....
What part of

| No, since client-side JavaScripz is then required
| and users without it cannot use the address.
(s/pz/pt/)

did you not understand? And why do you post a followup to *my* posting
but not referring to it in your text?
www.kluivie.nl


"Advertising the same service"? Put that into your signature.
PointedEars
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Burt Lewis | last post by:
Hi, I'm looking for a sample script I can modify that will calculate the price of a PC based on chosen selections and prices such as case, hard drive, drives, ram, etc. I had a Perl script a...
9
by: crispy | last post by:
I am looking for a free (or inexpensive) script to list the book and journal publications created within a college department and be able to sort them by author and year of publication. I've...
2
by: David Winter | last post by:
I'm not a developer myself, but I am looking for something that maybe one of you guys - has done - knows about - would like to do - yes, I have a small budget for this. :) The basic idea: A...
3
by: Voetleuce en f?nsievry | last post by:
G'day I'm looking for a script that can search multiple instances of Google (or other search engines optionally). The user types in a single word in the text field, presses ENTER or the submit...
12
by: Charles Law | last post by:
Hi guys A bit of curve ball here ... I have a document (Word) that contains a series of instructions in sections and subsections (and sub-subsections). There are 350 pages of them. I need to...
2
by: P2P | last post by:
Hi I am wondering if someone know of a free cross-browsers vertical scrolling script that - is cross cross-browsers - will call the scrolling content from an external html page or from a...
11
by: admin | last post by:
Hi all, First time poster here... I'm a webmaster and I'd like to add a simple script to my website which will allow users to fill in a brief multiple choice questionaire, and then provide a...
0
by: idutnet | last post by:
Hello! i am a kid on the web hosting. i have a free image hosting site http://www.idut.net , and looking for some help, thanks in advance. #1)how can i set the script to count the total...
1
by: vinniegolfs | last post by:
Been all over the internet for months now. Looking for a script that has the feel and look of ebay, but I have some programming ideas to change the way some of the script works. I've seen Rainworx,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.