Support » Fixing WordPress » Firebug is secretly running a script.

  • Resolved jampuppy


    Hi there,

    I’ve completed a theme by myself and it works fine. But after some time I noticed that there is a firebug-script running which I did not put there and which is messing with a widget I use.

    <script type=”text/javascript” src=””></script>

    Is hiding in my header, but I cannot see where it does come from so I can get rid of it. The plugins I have are:

    Google Analytics for WordPress by Yoast version 4.2.2
    Image widget by Modern Tribe, inc version 3.3.2
    Simple Tags by Amaury BALMER version 2.2
    Wordpress MU Domain Mapping by Donncha O Caoimh version
    Wordpress SEO by Yoast version 1.1.5

    Does have anybody the same problem with one of these plugins? Or is there somebody who is definitely smarter than my and can figure out what is wrong? The actual website can be found here

    Thanks a lot!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Firebug is a browser-embeded plug-in. It does indeed use a script to modify the contents of the page, that is, the FireFox Add-On itself if putting the script in there.

    1) Note that this will only be an issue for those who have firebug installed on their browser and active on that particular page.

    2) It’s been my experience that Firebug pretty much never interferes (but it may, who knows?). I’d take a closer look at your HTML/CSS. Ironically, you might use Firebug to examine your generated CSS declarations. On the style tab when checking out your CSS, notice that there’s a little downward facing triangle. Try using “Show user agent CSS” to see if that helps find where the issue may be.


    I looked with Firebug as you said. There are some statements (or how you like to call it) which are listed by “system”, but I cannot see precisely where it comes from. Funny thing is, I tried the page on other browsers, and there happens the same thing.


    It is as I thought: You have some bad HTML in your page. In this case, in the source code at about line 94, you’ll see:

    <h1 class="titleheader">Picture rail</h1>
    <ul class="hwidget">
    ***<div class="textwidget">Hanging pictures is easy [snip]</div>

    *** Should be an LI

    You’ll want to take a look at that. Run it though the W3C HTML validator, or, as I prefer to do, use the FireFox Add-on called HTML Validator. It allows you to validate as you look into your source code. It’s great.

    Ok, I’ll try that! Thank you for the help!

    Hi there,

    I tried what you said, but al the errors seem to happen in the widgets. So I don’t know where to fix this. Also the firebug doesn’t go away. I noticed that I did not say what excaly goes wrong. SO I will tell now.

    After you opend an image in de ‘impression’ in the footer an inspector from firebug automatticly opens.


    I’ve already found the problem. There really was a script in my header. No idea how it got there, but now its solved. Thanks voor the tip of the HTML validation.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Firebug is secretly running a script.’ is closed to new replies.