Lohan on July 25th, 2008

On my one computer I had this straaaange behaviour. Everytime a page at lohan.me loads, the top gets a shaded block that keeps anyone from clicking on anything under it. I disabled all Firefox plugins, addons and, since its my blog, I disabled all bells and whistles. I tracked the issue down to Google Analytics, specifically, the line that loads the ga.js script that plonked a ga_shade div tag down onto my otherwise unveiled website:

<script type=”text/javascript”>
var gaJsHost = ((”https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(”%3Cscript src=’” + gaJsHost + “google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
var pageTracker = _gat._getTracker(”UA-xxxxxx-x”);
pageTracker._initData();
pageTracker._trackPageview();
</script>

Using the DOM inspector, I discovered what the veil was:

A fix for this is simple — clear your browser cookies and reload the page. Thanks to Paulo Orquillo
for the solution.

2 Responses to “Is your website veiled?”

  1. hi lohan, np on the solution. the issue is really strange, i have been unable to recreate it to find out what’s causing it. btw thanks for dropping by my site.

  2. This concerns me!
    Is this happening to users? They wouldn’t go find a solution to it, just think there is a problem with the site.

    Apparently webmasters on google don’t think this exists
    http://groups.google.com/group.....gst&q=

Trackbacks/Pingbacks

Leave a Reply

You will be able to edit your comment after submitting.