diff --git a/fbconnect.admin.inc b/fbconnect.admin.inc
index 665eb54..bd89cc3 100644
--- a/fbconnect.admin.inc
+++ b/fbconnect.admin.inc
@@ -54,6 +54,13 @@ function fbconnect_api_keys_settings($form, &$form_state) {
     '#default_value' => variable_get('fbconnect_debug', FALSE),
   );
 
+  $form['fbconnect_noroot'] = array(
+    '#title' => t('Don\'t include settings in footer.'),
+    '#type' => 'checkbox',
+    '#description' => t('Check if other facebook modules are in use so fb-root code is not added twice.'),
+    '#default_value' => variable_get('fbconnect_noroot', '')
+  );
+
   $form['fbconnect_connect_url'] = array(
     '#type' => 'textfield',
     '#title' => t('Connect url'),
diff --git a/fbconnect.module b/fbconnect.module
index 9f72484..cbf7342 100644
--- a/fbconnect.module
+++ b/fbconnect.module
@@ -474,7 +474,7 @@ function fbconnect_render_js() {
  * Implements hook_page_alter ().
  */
 function fbconnect_page_alter(&$page) {
-  if (facebook_client() && !_fbconnect_is_excluded_page($_GET['q'])) {
+  if (facebook_client() && !_fbconnect_is_excluded_page($_GET['q']) && !variable_get('fbconnect_noroot')) {
     $config = fbconnect_get_config();
     $channel_uri = preg_replace("@'@msi", "\'", "http://" . $_SERVER['HTTP_HOST'] . "/" . drupal_get_path('module', 'fbconnect') . "/channel.html");
     $page['page_bottom']['fb-init-code'] = array(
