Prevent five different copies of jquery from being included on every page

There is no blanket solution to this.

  1. If developer has a clue – he will reuse bundled jQuery or re-register it to other copy (commonly done to load jQuery from Google’s CDN).

  2. Otherwise there are a lot of [insane] ways to add jQuery and there is no way to handle them all without global output buffering or tweaking hooks/plugins individually.

Overall it is often better plugins from good developers than waste time on tweaking poorly coded plugins. But if you already stuck with bunch of poor plugins – you are in for some manual cleanup. 🙁