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

  1. Hayden James
    Posted 4 years ago #

    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!:

    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??

  2. Hayden James
    Posted 4 years ago #

    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.

  3. Mike Challis
    Posted 4 years ago #

    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.

  4. Hayden James
    Posted 4 years ago #

    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. :/

  5. theresa95
    Posted 4 years ago #

    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.

  6. blackwolf_wx
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic