Title: Require jQuery
Last modified: March 17, 2021

---

# Require jQuery

 *  [Radek Mezulanik](https://wordpress.org/support/users/zedna/)
 * (@zedna)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/require-jquery/)
 * Plugin is not compatible with websites that don’t use jQuery.
 * If you would re-write it to vanilla JS, i can give it a 5
    -  This topic was modified 5 years, 2 months ago by [Radek Mezulanik](https://wordpress.org/support/users/zedna/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/require-jquery/#post-14222041)
 * [@zedna](https://wordpress.org/support/users/zedna/) – Sorry to hear that. To
   be honest, I’m not sure its a fair assessment. I’m sure you are aware that WordPress
   itself loads jQuery by default on every page of the site. Pretty safe bet for
   99.999% of sites on WP that it will already be there. ANd I know you might say
   but what about static JS or headless, well those wouldn’t even account for 0.001%
   of WP sites still, so may be unreasonable to think a plugin meant to work within
   this ecosystem shouldn’t use the tools & code already included rather than including
   their own extra logic to handle those things.
 * You are actually the first person I’ve seen make such a complaint for any plugin,
   but I understand the sentiment.
 * Just so happens we are already working toward removing all dependencies over 
   time that aren’t packaged via our webpack builds. Actually multiple issues on
   our github for that, including jQuery. Already removed several like jQuery cookie.
 * That said the main reason we still use jQuery is the UI positioning library. 
   We haven’t found a decent GPL library that can handle things as well as jQuery
   UI due to the wide variety of options we provide to position & animate the popups.
   So likely we are rewriting that entire logic from scratch, which is not exactly
   high priority for a dev team of 1, supporting 600k websites haha.
 * Hopefully you can see our position and update the stars. Appreciate the feedback
   either way.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/require-jquery/#post-14222065)
 * PS, as a developer, I’d be interested to hear your thoughts. We would never write
   it in `Vanilla JS`, why would anyone duplicate so much work, with so many great
   open source libraries out there via NPM packages, you just wouldn’t know that
   they were loaded unless you inspected our bundled js.
 * If that is a truly a requirement, serious question, why use WP at all? Everything
   from WooCommerce to Events Calendar plugins use jQuery to great extent.
 *  [ads](https://wordpress.org/support/users/ecomturbo/)
 * (@ecomturbo)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/require-jquery/#post-14581405)
 * +1 for Vanilla JS
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/require-jquery/#post-14585203)
 * [@ecomturbo](https://wordpress.org/support/users/ecomturbo/) – Would love an 
   elaboration, do you mean no dependence on jQuery, or no dependence at all. The
   latter is unreasonable and for purists (read self sadists just trying to prove
   they can). Its neither efficient or scalable in practice. The boilerplate to 
   make some things work in all browsers alone would be ridiculous overhead to manage
   for just a few of the functionalities we rely on.
 * We are however and have been for some time already moving away from jQuery. Just
   takes time as an extremely small dev team, when 600k sites are using your product
   already, and you don’t want to induce extra support loads with sudden breaking
   changes. But give us time.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Require jQuery’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/require-jquery/#post-14585203)