WordPress website source shows lots of back slashes

I was looking at the source for this website http://perfoto.com when I noticed that the HTML contains over 1MB of data that is mostly the back slash character () hidden in a <script> tag.

My question is – What is the purpose of the back slashes? Is it some sort of hack or just extraneous code?

Related posts

Leave a Reply

1 comment

  1. The code on that site is broken. If you take a close look at the code, the jQuery function around those slashes isn’t complete and does not run.

    Simple answer, there is no purpose.

    Here is the code with the slashes removed:

    (function() {
        var ga = document.createElement('script'); 
        ga.type = 'text/javascript'; 
        ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script%5
    <script type='text/javascript' src='http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201316'></script>