--- jquery_update.module	2014-02-14 15:55:20.000000000 -0500
+++ jquery_update.module	2014-02-14 15:54:03.000000000 -0500
@@ -65,8 +65,22 @@
  */
 function jquery_update_library_alter(&$javascript, $module) {

+  // Make sure this path is not excluded from update.
+  $current_path = $_GET['q'];
+  $update_exceptions = variable_get('jquery_update_exception_paths','');
+  $alias_path = drupal_get_path_alias($current_path);
+  $excluded = drupal_match_path($current_path, $update_exceptions) || drupal_match_path($alias_path, $update_exceptions);
+
+  // exclusions or inclusions?
+  $inclusion =  intval( variable_get('jquery_update_exception_condition',0) );
+  if ( ($inclusion && $excluded) || (!$inclusion && !$excluded) ) {
+    $include = TRUE;
+  } else {
+    $include = FALSE;
+  }
+
   // We are updating just the system module. For all other cases we return.
-  if ($module != 'system') {
+  if ($module != 'system' || !$include) {
     return;
   }

@@ -150,6 +164,40 @@
     '#description' => t('Use jQuery and jQuery UI from a CDN. If the CDN is not available the local version of jQuery and jQuery UI will be used.'),
   );

+ /*
+  * jQuery update not on these pages
+  */
+ $form['jquery_update_exception_condition'] = array(
+   '#type' => 'radios',
+   '#options' => array(
+   '0' => t('DO NOT update jQuery on these pages'),
+       '1' => t('ONLY update jQuery on these pages'),
+     ),
+     '#default_value' => variable_get('jquery_update_exception_condition', '0'),
+  );
+  $form['jquery_update_exception_paths'] = array(
+     '#type' => 'textarea',
+     '#default_value' => variable_get('jquery_update_exception_paths', ''),
+     '#description' => t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are blog for the blog page and blog/* for every personal blog. <front> is the front page."),
+  );
+
+ /*
+  * jQuery update not on these pages
+  */
+ $form['jquery_update_exception_condition'] = array(
+   '#type' => 'radios',
+   '#options' => array(
+   '0' => t('DO NOT update jQuery on these pages'),
+       '1' => t('ONLY update jQuery on these pages'),
+     ),
+     '#default_value' => variable_get('jquery_update_exception_condition', '0'),
+  );
+  $form['jquery_update_exception_paths'] = array(
+     '#type' => 'textarea',
+     '#default_value' => variable_get('jquery_update_exception_paths', ''),
+     '#description' => t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are blog for the blog page and blog/* for every personal blog. <front> is the front page."),
+  );
+
   return system_settings_form($form);
 }

@@ -167,6 +215,7 @@
  *   The version of jQuery to use.
  */
 function jquery_update_jquery_replace(&$javascript, $cdn, $path, $min, $version) {
+
   // Make sure to use the latest version in given branch.
   $trueversion = NULL;
   switch ($version) {
