Found this in my template how do i get rid of it

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Oct 16, 2011 7:41 pm
Hi i am using joomla 1.5 and i am using the world news template and while going through my site www.in2town.co.uk which is a lifestyle magazine i came across this code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>
<script type="text/javascript">try{delete Function.prototype.bind;}catch(e){}</script>

Can anyone tell me why this is there and if it should be there and if not how do i get rid of it.
User avatar
Platinum Boarder

GK User
Mon Oct 17, 2011 12:40 am
I think that is something to do with MooTools . . . what components are you running on your page?
User avatar
Expert Boarder

GK User
Mon Oct 17, 2011 7:51 am
just running k2 and sh404sef and jce editor
User avatar
Platinum Boarder

GK User
Mon Oct 17, 2011 7:51 am
I have never had this on any of my sites before and for some reason and i do not know if the above is the reason but google has not visited my site yet even though it is an old site
User avatar
Platinum Boarder

GK User
Mon Oct 17, 2011 10:36 am
That code exits in head.php and for mootools upgrade javascript for compatibility reasons with mootools v1.1 and mootools v1.2 i believe...

As regarding if your site is indexed by google see below link:

Code: Select all
http://www.google.co.uk/search?q=site%3Awww.in2town.co.uk&hl=en&biw=1920&bih=950&num=10&lr=&ft=i&cr=&safe=images&tbs=
User avatar
Platinum Boarder

GK User
Mon Oct 17, 2011 10:44 am
Following on from Norman's comments, you might want to change the metadata and perform some SEO on the site . . .
User avatar
Expert Boarder


cron