<META>

Everything todo with programming goes HERE.
Post Reply
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

<META>

Post by iceman »

I need advice, in the <head> section of a HTML file is it possible to replace

Code: Select all

<META name="description" content="gaming site">
with

Code: Select all

<script language="text/javascript"><!--
document.write('<META name="description" content="gaming site">');
//--></script>
well I know its possible but what I mean is will it function the same way when robots that index the page ?

im unable to find an answer with google :(
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Post by dlh »

Robots ignore javascript, so it would not be a good idea to.
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

guessed as much, thanks nemo
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

There are some email harvesting spam bots that parse javascript looking for email addresses that are mangled in javascript, though. Not that that helps iceman with his question, but it's a good thing to know. ;)
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

:o so I guess my email page is unprotected then :lol:
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
Post Reply