diff --git a/livechat.admin.inc b/livechat.admin.inc
index 6669d4e..25bf649 100644
--- a/livechat.admin.inc
+++ b/livechat.admin.inc
@@ -78,6 +78,13 @@ function livechat_admin_settings_form($form_state) {
     '#default_value' => variable_get('livechat_group', ''),
   );
 
+  $form['livechat_enabled'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Enable LiveChat'),
+    '#description' => t('Uncheck this box to disable LiveChat.'),
+    '#default_value' => variable_get('livechat_enabled', TRUE),
+  );
+
   return system_settings_form($form);
 }
 
diff --git a/livechat.module b/livechat.module
index b9acf37..283ac2d 100644
--- a/livechat.module
+++ b/livechat.module
@@ -78,6 +78,11 @@ function livechat_permission() {
  * Implements hook_preprocess_HOOK().
  */
 function livechat_preprocess_page(&$vars) {
+  // Don't do anything if LiveChat is not enabled.
+  if (!variable_get('livechat_enabled', TRUE)) {
+    return;
+  }
+
   // Add the LiveChat script if the user has permission to use LiveChat, and
   // LiveChat is configured to be visible on the current page.
   if (user_access('use livechat', $GLOBALS['user']) && livechat_check_visibility()) {
