WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Firebug is secretly running a script. (7 posts)

  1. jampuppy
    Member
    Posted 2 years ago #

    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="https://getfirebug.com/firebug-lite.js"></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 0.5.4.2
    &
    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!
    Cheers!

  2. FMarion
    Member
    Posted 2 years ago #

    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.

  3. jampuppy
    Member
    Posted 2 years ago #

    Hi,

    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.

    Cheers

  4. FMarion
    Member
    Posted 2 years ago #

    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>
    </ul>

    *** 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.

  5. jampuppy
    Member
    Posted 2 years ago #

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

  6. jampuppy
    Member
    Posted 2 years ago #

    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.

    Cheers.

  7. jampuppy
    Member
    Posted 2 years ago #

    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.

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.