SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
Threaded View
-
Sep 8, 2003, 11:36 #1
- Join Date
- Jul 2003
- Location
- Pittsburg, KS
- Posts
- 191
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
would this make e-mail address spamproof?
I'm trying to devise a method for making my e-mail address spam proof without alienating people who either do not have JavaScript enabled, or are using a brower that does not support JavaScript:
Code:<script type="text/javascript"> <!-- var linktext = "Report Broken Link"; var subject = "Broken& #32;Link"; var email1 = "webmaster"; var email2 = "fictitiousdomain.com"; document.write("<a href="+"mailto:"+email1+"@"+email2+"?subject="+subject+">"+linktext+"</a>") //--> </script> <noscript> Please report broken links by sending an e-mail to: webmaster& #64;fictitiousdomain& #46;com </noscript> (spaces within character entities are intentional, to prevent them being converted to the values they represent.)
Thanks for any advice you may have,
Andy.Last edited by Tygger2512; Sep 8, 2003 at 11:48.
Bookmarks