PDA

View Full Version : Remove code showing at top of page


RKLounge
10-28-2015, 05:28 PM
Website: http://RKLounge.com
Vbulletin 4.2.3 (default theme)

Code showing on homepage (top of page):
I noticed the code goes away when i turn the sidebar off, but i want it on.
');var sidebar_align='right';var content_container_margin=parseInt('290px');var sidebar_width=parseInt('270px');

Code showing on 'My Profile' (top of page):
');} else {document.write('');document.write('');document.wr ite('');document.write('');document.write('');docu ment.write('');document.write('');document.write(' ');} document.write('');


How do i hide this code from showing? Thank you.

Lynne
10-28-2015, 08:22 PM
I do not see the problem at all on your site, so it's impossible to tell what is it from and give a fix. Try doing a search for that code in the templates and see if you can find it.

RKLounge
10-28-2015, 08:46 PM
I do not see the problem at all on your site, so it's impossible to tell what is it from and give a fix. Try doing a search for that code in the templates and see if you can find it.

Sorry Lynne, the code showing was ugly so i turned the sidebar off to make it go away. I just turned the sidebar back on so you can see the issue.

I did the search for the code but came up empty, i'll keep looking in the templates for now.

Lynne
10-29-2015, 01:18 AM
What are you using on your server that is adding "pagespeed.jm" to all the links:

')<!--[if lt IE 8]><link rel="stylesheet" type="text/css" href="css.php?styleid=1&amp;langid=1&amp;d=1446084785&amp;td=ltr&amp;she et=sidebar-ie.css" /><![endif]-->
<script type="text/javascript">document.write('<script type="text/javascript" src="'+yuipath+'/animation/animation-min.js?v=423"></script>');var sidebar_align='right';var content_container_margin=parseInt('310px');var sidebar_width=parseInt('290px');</script>
<script type="text/javascript" src="http://rklounge.com/clientscript/vbulletin-sidebar.js,qv=423.pagespeed.jm.bu0Qt2X4x8.js"></script>

<link rel="stylesheet" type="text/css" href="A.css.php,qstyleid=1,alangid=1,ad=1446084785,atd=l tr,asheet=additional.css.pagespeed.cf.Q6a22XscAj.c ss"/>


Try disabling that. Above is where the code problem is. So, something is putting it there.

RKLounge
10-29-2015, 01:27 AM
What are you using on your server that is adding "pagespeed.jm" to all the links: Try disabling that. Above is where the code problem is. So, something is putting it there.

Thank you Lynne! This was resolved by logging in to my CPanel and loading SuperCacher -- there i disabled Google Page Speed and the code went away.

Issue resolved :):)!