Jump to content
Sign in to follow this  
jongrose

How to create an invisible hyperlink to fool spambots

Recommended Posts

I have an account on blogger where I publish my blog. I have a link for "contact me" on the side, which includes an image of my email address so that spambots (hopefully) won't be able to read it. However, what I'd also like to do on the bottom of one of my posts is to add a hyperlink that is the same color as the background of my post, which is white, that says "Email me here" and links to SpamPoison.

Does anyone know if it is possible to do this? The template within blogger is written in CSS, so in individual posts I can't add CSS or java scri_pt or anything like that - it has to be plain HTML. Here are a few things I've tried that haven't worked.

<font color="#FFFFFF"><a href="http://english-87049818985.spampoison.com/">Email me here</a></font>

Using the above method, the hyperlink still stays blue. Next, I tried doing it in Dreamweaver w/ CSS disabled. I changed the properties of the page to show my hyperlinks as white.

<body link="#FFFFFF">
<font color="#FFFFFF"><a href="http://english-87049818985.spampoison.com/">Email me here</a></font>
</body>

When I inputted that into the blogger HTML frame, it simply removed the <body> tags completely. The default way that blogger changes the colors is with a style sheet thats created in the original template of the blog. Obviously I can't modify this, or all my links would be white. Here is what it looks like when I attempt to change my hyperlink color to white in blogger (which again simply comes out blue).

&lt;div style="text-align: center;"&gt;&lt;a style="color: rgb(255, 255, 255);" href="http://english-87049818985.spampoison.com/"&gt;Email me here&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;

Does anyone have ANY ideas on how I can do this, or is it simply a lost cause?

Share this post


Link to post
Share on other sites
<snip>

However, what I'd also like to do on the bottom of one of my posts is to add a hyperlink that is the same color as the background of my post, which is white, that says "Email me here" and links to SpamPoison.

<snip>

...Why, you sneaky devil, you! I like it! :) <g>
Does anyone know if it is possible to do this? The template within blogger is written in CSS, so in individual posts I can't add CSS or java scri_pt or anything like that - it has to be plain HTML. Here are a few things I've tried that haven't worked.

<snip>

...Given your experience with the HTML <body> tags, this probably won't work either but I'll offer it just in case:
&lt;style&gt;
&lt;!--
.whitetext {color:#ffffff;}
// end style class --&gt;
&lt;/style&gt;
&lt;a href="http://english-87049818985.spampoison.com/" class="whitetext"&gt;Email me here&lt;/a&gt;

The default way that blogger changes the colors is with a style sheet thats created in the original template of the blog. Obviously I can't modify this, or all my links would be white.

<snip>

...If you can see the CSS, check if there is a style class (classes start with a period) that includes a directive to make the color white. If so, you can use that -- get the <a> tag I included in my HTML, above, and replace "whitetext" with the name of the class in the CSS.

...Note, though, that an innocent visitor to your blog could accidentally click the hidden hyperlink. If all you want to do is catch bots, then I think you can do the following, which negates the need to pull any CSS tricks and afoul of which no innocent visitor can run:

&lt;!--
&lt;a href="http://english-87049818985.spampoison.com/" class="whitetext"&gt;Email me here&lt;/a&gt;
--&gt;

...Good luck!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×