diff --git a/permalink_block.tpl.php b/permalink_block.tpl.php
index 68badac..af9991b 100644
--- a/permalink_block.tpl.php
+++ b/permalink_block.tpl.php
@@ -42,6 +42,8 @@ $copybox = "'copybox'";
 $fullhtml = (gettype($display['html']) == 'integer') ? '' : '<div class="intro">' . $intro . '</div><div class="help">' . $help . '</div><br /><div id="copybox" onclick="selectText(' . $copybox . ')">' . $html . '</div>';
 $text = $linkonly . $fullhtml;
 $textwrapped = '<div id="permalink">' . $text . '</div>';
+// Support permalink detection.
+drupal_add_html_head_link(array('rel' => 'bookmark', 'href' => url($GLOBALS['base_url'] . base_path() . $_GET['q'] . $query)));
 ?>
 
 <?php if(module_exists('beautytips')): ?>
