Spam Proof Email Link
Jun 24, 2003
I am trying to make an image into a mailto link, where the link is formed via som JavaScript so to avoid spamming robots. Here is the code:
<script language=javascript>
<!--
var username = "hosting";
var hostname = "bluepointwebdesign.co.uk";
var linktext = username + "@" + hostname;
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + "<img src="""/images/hosting_email.gif">" + "</a>" )
//-->
</script>
Everything works, but the image won't be displayed!
View 1 Replies
ADVERTISEMENT
Dec 22, 2003
We don't like putting our email addresses on our pages because we know we'll be spammed big time!
Of course you could use javascript and 'document.write' it out, but who wants script tags in his body? I don't!
So today I made the below and I thought I'd share. It kinda explains itself better then I ever could so. Code:
View 6 Replies
View Related
Dec 10, 2011
I am working on a project that will involve large amounts of data. We have discussed how to summarize for the end user. Final presentation will be something like a bar chart with 15-30 bars. Each bar will be built by blocks whose height and column will be determined by formulas applied to data in the database. A static report is obviously no problem.
I want to develop a sandbox where the end user can drag and drop blocks from one column onto a different column. Others on the team think this can only be done with AJAX while I think jQuery will work and actually be better.
View 2 Replies
View Related
Mar 14, 2011
is it possible to create a link in an email that will go to a site and run its javascript. If so how?what I trying to do is email an alert to selected users when a flash ad is ready. The email will have a link that, when clicked, goes to the home page and displays the ad. the code above takes them to the web site but doesn't run the javascript.
View 1 Replies
View Related
Jan 23, 2002
My company has 2 email apps. One for external (MS Outlook) and one for internal (GroupWise). On my Intranet, I need to connect the mailto tags to the internal system. Does anyone know how to do this? I can't make GroupWise everyone's default email program because many people use both frequently. I would greatly appreciate any help or direction.
View 1 Replies
View Related
Mar 9, 2006
I'm hiding the email address on a website with this javascript which works fine:
---------------------------------
<p>Send your comments and questions to our
<script language=javascript>
<!--
var contact = "Newsletter Editor"
var email = "news"
var emailHost = "netmechanic.com"
document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+">" + contact + "</a>" + ".")
//-->
</script>
</p>
---------------------------------
How can I make an image instead of the text as a link to start thisscript?
View 17 Replies
View Related
Dec 7, 2010
I want to send a simple email with just email & subject only when the user clicks a link that opens a pdf. I'm thinking javascript is the best way to do this but I have no idea how. I have googled it a bunch but most information is about getting an email when someone clicks a link you send in an email. I don't want that. This is on a website. I'm not sure if php would be better to use.
View 7 Replies
View Related
Nov 9, 2011
I am having trouble with a script that works with the link invisibly which you can see the cursor change to a pointer hand when hovering next to "Email:".It would show if you placed the script in the body portion of a blank HTML page.In my website below I can't figure out why the link doesn't show and is invisible.This emailHide.html.txt file is below, to view in HTML remove the .txt extention and save and view in browser.
View 4 Replies
View Related
Dec 16, 2010
I found code online to avoid the insecure mailto:email@email.com function, but what I am looking for is, instead of text link I want an image link.So, where it says Click here to email, or any other text, I want that to be my image file, which will be placed in a DIV.
View 2 Replies
View Related
Oct 9, 2011
Not sure if this relates more to PHP or Javascript/jQuery, but is there a way to attach a file to an email client (i.e Outlook), when user click on a link/button?I have a link that generates a PDF and I want it so that, when someone click on a link, it will open up their email client with the PDF already attached, and subject already fill in.I know, you can use <a href="mailto."but that only opens up the mail client. I also need to attach a file with a subject fill in.
View 5 Replies
View Related
Mar 21, 2007
I have a spam problem and since it partly involves js, I hope the thread belongs here.
Basically, I get a lot of a particular kind of spam which somehow circumvents my efforts to block it.
My (crude?) method is to require the form user to read a group of letters from a graphic (which admittedly never changes) and enter them into a form field.
The external .js file then checks to see if the code has been entered correctly. If not, no Submit is possible. It seems to work well except for one particular kind of spam (which means it doesn't work well enough!).
And I can't understand how this apparently automatically generated spam gets through. What is going on?
Here is an example:
View 5 Replies
View Related
Aug 11, 2005
I found this nifty little JS that helps reduce mailto: spam spiders.
<script type="text/javascript">
<!-- Begin
it1 = "mail";
it2 = "to";
part1 = "some";
part2 = "one";
parta = "domain";
partb = ".";
partc = "com";
document.write('<a href="' + it1 + it2 + ':' + part1 + part2 + '@' + parta + partb + partc + '">');
document.write(part1 + part2 + '@' + parta + partb + partc + '</a>');
// End -->
</script>
I love it, and it certainly seems to help, but it actually displays the e-mail address. I'd rather it display a name. Ex. Show "Someone" instead of "someone@domain.com" which is what it does now.
View 1 Replies
View Related
Oct 2, 2008
I have a div that contains simple text data with line breaks. I want to append a mailto link to the email address but so far I have not been able to select the email.
The container looks something like this:
My first intention was to use a filter like:
But I found out that I couldn't apply it since the container had no children. So I used a function first to wrap the elements into span tags and then applied 'find':
View 8 Replies
View Related
Aug 13, 2010
there seems to be a ton of spam links in the jQuery documentation wiki. Have a look at this one for example.
View 3 Replies
View Related
Jan 7, 2011
I have a spam problem with my online form in [url]
I keep receiving spam and what puzzles me is that the spam script does not need to fill the required fields to send the form.
I tried to add a math puzzle by inserting:
and
However, the hidden field still shows on the browser (it doesn't show the value but it shows an empty square) and I can't get the form check to compare the values of "Filtro" and "Solucionfiltro".
View 6 Replies
View Related
Sep 10, 2010
I am using jquery with my wordpress blog to post information to my online CRM system ( capsule CRM) Everything is working great, except that I am getting tons of SPAM.
The folks at capsule suggested that I add a field,called comment, and then using CSS hide it from a human user.
<input id="comment" type="text" name="COMMENT"/>
CSS Entry
#comment { display: none; }
The idea would be that a SPAMMER would add information to this field. if the field has data, then it should not post.
how do I get Jquery validate to make sure this field is blank before it posts.
View 1 Replies
View Related
Jan 17, 2009
Heres my javascript code that will verify email from email input field and check if the checkbox (I agree condition) was checked:
[Code]....
However, this will work fine when calling with a link "javascript:validate('inputForm');" but if I try to prevent users by submitting form with pressing enter I put it in form onSubmit parameter: <form .. onSubmit="javascript:validate('inputForm');"> which will check the forms and submit data (do return) no matter if it matched or no.
View 11 Replies
View Related
Apr 29, 2006
Last week after much searching, I found the answer to my problem in
this newsgroup. I can't find the thread from which I got my solution,
but I wanted to report back what worked.
When the site visitor fills out the form and submits it, this calls a
rather ordinary asp script like formmail.asp that sends the emails and
displays a "thank you" web page. At the very end of my "thank you" web
page I placed the following:
<script type="text/javascript">
location.href="FileToDownload.exe"
</script>
This causes the file download to get triggered, and asks the user if
they want to save the file. In limited testing this appears to work
fine in both Firefox and IE.
View 13 Replies
View Related
Nov 11, 2011
I'm a mediocre website designer i know html , at JS i'm to noob to actualy make something of my own :) just Edit, i'm still learning and atm i'm working on a web project and I'm struggling to find a way to Filter email addresses to redirect my New Members to their e-mail provider, for example if they would register newmmember@hotmail.com to be forwarded to www.hotmail.com so they would login and activate their account, or if they enter @yahoo.com to be forwarded there . Can you please point out a few things i'm eager to learn how to Forward User to email provider after he creates his account . Or how can i forward email to URL inside my webpage , this could help me with another ideea i have, again this would have to be filtered @yahoo.com , @hotmail.com etc , to be forwarded to a local URL inside the site depending on what Email Provider they enter .
View 5 Replies
View Related
Jul 20, 2005
I have a frameset and one of the frames contains a page that is created on the fly, an
actual word document. I want to have a button in one of the other frames that emails this created page as an email attachment using the email client (outlook or whatever). I created a function as follows:
<script language="JavaScript">
function mailIt()
var page = parent.QandA;
document.write 'mailto: sendmail@example.com?subject=The
document&Attachment='
document.write page;
}
</script>
Which is then called from a button, but it doesnt work! QandA is the
name of the frame that contains the document I want to email as the
attachment.
View 9 Replies
View Related
Mar 29, 2011
Im using the old nopcard scripts on my site. It does every thing right except it does not send a Email to my to my email adres. I dont know how to correct this because i dont know Javascript. I include the script if anybody know how to alter it so that it will send the info to my email adres as well.
The checkout.pl script :
View 3 Replies
View Related
Oct 12, 2010
i hv an input box like this
<td >
<input type="text" name="emailid" id="emailid" onBlur="checkMail(this)" value="emailId" onFocus="this.value=''">
@domain.com</td>
[Code]...
Now problem is as u can see .. i hav to check just "EMAIL ID" not the full "Email address".. i cud not be successful to edit the JS function.
View 1 Replies
View Related
May 7, 2009
i have some script java script which is working but i want to do it some thing else
[Code]....
This script is working for email validation also if email box is empty it says to fill it i want that for all if some one left any box in form it says fill that. i have tried many ways but failed that's why posting here. and the last function is for contactno INPUT field so one can only put number in the field. HTML CODE
[Code]...
View 1 Replies
View Related
Jun 14, 2009
Looking for a good tutorial on how to use jQuery to read email sent tomy site's email address, and how to send email through my site'semail. Basically, how to construct the server email portion of
View 11 Replies
View Related
Apr 6, 2009
Is it possible to create a page (with javascipt) that will send an email to the "me" but the user can't see the destination email address? Im wondering if I can do the "party" with Javascript without using some server page like PHP.
View 1 Replies
View Related
Feb 16, 2009
I need a counter that will display beside a link, with the number of times the same link has been clicked. I do not have FTP access to the site, since it is based on a CMS.
View 1 Replies
View Related