Support » Plugin: podPress » [Plugin: podPress] something about javascript wrong on myweb header

  • I used podpress on my website ,and I like it verymuch.

    but ,there’s someting wrong on the webpage header.

    now ,it is show someting like this:

    '; ,

    I read the source ,its

    <script type="text/javascript">
    //<![CDATA[
    var podpressL10 = {
    	openblogagain : 'back to:',
    	theblog : 'the blog',
    	close : 'close',
    	playbutton : 'Play >'
    }
    //]]>
    </script>

    and you can see it on the top of my web http://zhenhao.me

    can you help me to fix this? thank you for you podpress.

    http://wordpress.org/extend/plugins/podpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ntm

    (@ntm)

    Why do you think that the source of this character combination is exactly that part of the source code of your blog?

    I have visited your blog and have analysed these elements with right-mouse button action “Inspect Element” (which is a feature of the Firefox Addon with the name Firebug). If you do that then you can see that these characters are in inside the <body> tags besides some other elements which look like they should not be there:

    <body class="wordpress ltr zh_CN parent-theme y2011 m09 d23 h16 friday logged-out home blog layout-default">
    ';
    <small class="link">
    <a href="http://ca [...] .se.com/">casino online</a>
    </small>
    ,
    <small class="link">
    <a href="http://www.si [...] org/">forex signals</a>
    </small>

    (I have shortened the URLs)

    You can see these elements also if you use the development tools of Safari or Chrome.

    If you compare this dynamic source code view of Firebug (or the comparable feature of Safari or Chrome) with the static source code view of the web browser then you can see that these elements are not in the static source code. In my opinion that means that a script (Javascript) is inserting these elements dynamically on page load into the <body> part of your blog. But I doubt that podPress is responsible for that. But it makes me also even more curious why you think that this particular code snippet of the podPress output is responsible.

    This happened to me on post-voting/post-voting.php

    Remove th plug in and it goes away.

    The line of code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: podPress] something about javascript wrong on myweb header’ is closed to new replies.