Forums

[Plugin: Bad Behavior] javascript in the footer, is it the same ? (3 posts)

  1. Marcomail
    Member
    Posted 3 months ago #

    i'm using a plugin to move javascript to footer, but i don't know if bad behavior works or not.

    http://wordpress.org/extend/plugins/bad-behavior/

  2. nv1962
    Member
    Posted 3 months ago #

    You can easily tell whether Bad Behavior works by looking at the source code of your page: if it does, you'll see a comment near the bottom.

    Moving JS to the footer (e.g. by using Vladimir Prelovac's solution to do that) often creates problems with plugins that don't like to be moved from where the author puts them; it's not a Bad Behavior issue.

  3. nv1962
    Member
    Posted 3 months ago #

    Ahem - this is what happens when you type faster than your eyes can check what you actually type: I was thinking about caching when I said "you'll see a comment near the bottom" - oops!

    Bad Behavior does of course show up, but it's higher up in the source code; you just have to search for the string "Bad Behavior" which would show, for the current version, something like this:

    <!-- Bad Behavior 2.0.28 run time: XX.XXX ms -->

    And then, of course, some Bad Behavior magic follows that bit. Bottom line, see the source code of your site to check whether BB is active.

Reply

You must log in to post.

About this Topic