• Resolved Guti

    (@gutibitacorascom)


    Anti spam plugin, is the lightest antibot spam plugin I have found. Not only works fine, but also is light and fast.

    To that regard, is a bit contradictory, to make it depend on jQuery, since according to what I saw, it is only used in js/anti-spam-3.5.js to perform some simple DOM manipulations.

    I do not know if you are interested in removing the dependecy, but if so, I can volunteer myself for converting it from jQuery to raw document.XXX functions.

    Regards.

    https://wordpress.org/plugins/anti-spam/

Viewing 6 replies - 16 through 21 (of 21 total)
  • Hey Guti,

    I updated the Anti-Spam 4.0.rc1 plugin.
    I added second init call with 1 second timeout interval and it should solve issue with browsers which does not support ‘DOMContentLoaded’ listener.

    I tried it and it works fine on Chrome, Firefox and IE8+.

    Can you review the code and let me know if any issues found?

    Thread Starter Guti

    (@gutibitacorascom)

    Changes in RC1 makes sense for me <b>webvitaly</b>.
    setTimeout will not do any hurt, and as you say, may solve some incompatibilities with certain browsers.

    Also like the small changes such as initializing current year inside the global section.

    I tested Anti-Spam 4.0.RC for a few days and it worked fine for me on various websites and in different browsers and mobile devices.
    I published Anti-Spam 4.0.

    Thank you very much for your help, Guti.
    Anti-Spam plugin is used on 100k+ websites.
    With dropping jQuery dependency users will save a lot of traffic resources and computing resources while parsing and executing 100kb of minified jQuery library.
    Today this is very critical in mobile networks and on mobile devices.

    I think this topic can be marked as resolved now 😉

    All the best.

    P.S. I mentioned your huge contribution in the changelog.

    Thread Starter Guti

    (@gutibitacorascom)

    Thank you very much for the mention, and thanks for the release.

    My WP automatically detected the 4.0 update, and upgraded the plugin without any issue.

    It is now running with 4.0 stable without any issue.

    And yes, it is very important to remove uneeded dependencies, that was the main reason of my countribution. Specially, being the need of jQuery so tiny.

    Kind regards.

    Updated to 4.0 and so far seems to be working. Added my logging back in:

    [11-Oct-2015 01:14:16 PM CDT -0500] - 89.42.237.96 - 17805 Anti Spam detected - antspm-q: 4.0 - antspm-e: Not Empty - Mozilla/5.0 (Windows NT 6.2; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
    [11-Oct-2015 12:50:06 PM CDT -0500] - 149.202.192.36 - 17804 Anti Spam detected - antspm-q: 4.0 - antspm-e: Not Empty - Mozilla/5.0 (Windows NT 6.2; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
    [11-Oct-2015 12:13:01 PM CDT -0500] - 104.247.121.175 - 17803 Anti Spam detected - antspm-q: 4.0 - antspm-e: Not Empty - Mozilla/5.0 (Windows NT 6.2; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0

    Thread Starter Guti

    (@gutibitacorascom)

    Thanks for the confirmation MarkRH.
    Nice to hear.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Remove jQuery dependency’ is closed to new replies.