Title: [Plugin: Twitter Tools] Removing JQuery
Last modified: August 19, 2016

---

# [Plugin: Twitter Tools] Removing JQuery

 *  [ashtonsanders-1](https://wordpress.org/support/users/ashtonsanders-1/)
 * (@ashtonsanders-1)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/)
 * For some reason, this plugin (Twitter Tools) is adding Jquery to my front end…
   Why?
 * Jquery is over 50K and I don’t see why Twitter-Tools needs it.
 * Any thoughts would be great.

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

 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/#post-1141353)
 * You have turned on the option to “Create tweets from your sidebar?”, so a JavaScript
   library has to available to send the AJAX request to post the tweet. Turn this
   option off, no JavaScript gets added to the front end.
 * Also, there is an option to use either jQuery or Prototype so that you don’t 
   have to load an extra JavaScript library if you are already using one.
 * That’s pretty darn efficient if you ask me.
 *  Thread Starter [ashtonsanders-1](https://wordpress.org/support/users/ashtonsanders-1/)
 * (@ashtonsanders-1)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/#post-1141574)
 * Thank you very much Alex.
 * I was hoping it was that simple. Thanks for the great plugin. I did a [review of a handful of twitter plugins](http://websitedesign.websitesinaflash.com/2009/05/twitter-plugins-for-wordpress/),
   and this was one of my favorites.
 * Thanks again,
    Ashton
 *  [scompt](https://wordpress.org/support/users/scompt/)
 * (@scompt)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/#post-1141610)
 * Alex, it’s definitely efficient, but it could be a hair more efficient to completely
   JQuery when it’s not needed.
 * Replace line 975 of 2.0rc1:
    `if (is_admin() || $aktt->tweet_from_sidebar) {`
 * with the following line:
 * `if (is_admin() || ($aktt->tweet_from_sidebar && current_user_can('publish_posts'))){`
 * This will keep JQuery completely out of the front-end if it’s not needed.
 * Thanks for the plugin,
    Edward
 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/#post-1141614)
 * Good idea, added to 2.0.

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

The topic ‘[Plugin: Twitter Tools] Removing JQuery’ is closed to new replies.

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 4 replies
 * 3 participants
 * Last reply from: [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-twitter-tools-removing-jquery/#post-1141614)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
