WordPress.org

Support

Support » Plugins and Hacks » [Plugin: SI CAPTCHA Anti-Spam] Nasty Javascript still in header of all pages!

[Plugin: SI CAPTCHA Anti-Spam] Nasty Javascript still in header of all pages!

  • So I decided to try this plugin 3 months later to see if nasty javascript was removed from the header of all pages. Especially since I only enable the plugin for the registration page.

    I installed and the ONLY place I enabled is for user registrations…

    STILL on the index page and post pages there .js scripts in HEADER!:
    wp-includes/js/l10n.js?ver=20101110
    wp-includes/js/jquery/jquery.js?ver=1.4.4′

    All I need is to stop spam registrations so why is there javascript added to the rest of the site?

    How can I remove the java-script??

Viewing 5 replies - 1 through 5 (of 5 total)
  • BTW I checked by installing viewing source HTML and loads the two javascripts mentioned above. Then I disabled plugin and refresh page and .js is removed. So for sure the scripts are from this plugin.

    There is nothing nefarious about using jQuery in a WordPress plugin. Many plugins use it to add features and functions that would otherwise not be possible.

    There is a setting you can configure so that the plugin will not need or load jQuery.

    Find this setting:
    “Select the method of delivering the CAPTCHA form style:”
    change it to: “External Style Sheet CSS”. Click “Update Options”.
    Click the “help” link next to the setting.
    Copy the CSS code you see on the settings page, then paste it in your theme style.css
    The CAPTCHA CSS will NOT be included in the page <head> section, and it must be included in the style.css of the theme. Be sure to remember this if you switch your theme later on.

    Thx. Changed setting. Didn’t add any CSS and it looks perfect. Site loading back to under 1 second per page.

    Many plugins use it to add features and functions that would otherwise not be possible.

    I would not care if it was on the user registration page ONLY. But what is it’s point and purpose on my content/post pages and index page when I don’t even have CAPTCHA enabled for comments??

    All it did was slow down loading which is SEO related as you know.

    I installed the plugin to add CAPTCHA to the registration not to add useless code to the to the rest of the site. :/

    Suggested workaround does not work if the theme does not have support for modifying CSS files loaded for the login/registration pages (e.g. login.css). Hopefully a future version of this plugin will provide native support for disabling loading unnecessary JS files.

    My site also became slow/unresponsive with the upgrade of the plugin. After I deleted the plugin, my site started to load swiftly again. I too was using it only for login/registration. Thanks for the instructions regarding the external css. My site is back to functional.

    Would other jquery-based plugins cause this issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: SI CAPTCHA Anti-Spam] Nasty Javascript still in header of all pages!’ is closed to new replies.
Skip to toolbar