diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/content/beaglePrefs.js beagle-0.3.9/firefox-extension/chrome/content/beaglePrefs.js
--- beagle-0.3.9.orign/firefox-extension/chrome/content/beaglePrefs.js	2007-11-27 02:49:59.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/content/beaglePrefs.js	2009-07-03 18:35:19.421096000 +0200
@@ -4,7 +4,7 @@
  */
 
 // Initiate a new preference instance.
-var gPrefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
+_prefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
 
 var beaglePref = {
    
@@ -31,14 +31,14 @@ var beaglePref = {
     //functions used to get/set pref
     func_factory:{
         'get':{
-            'bool': Function.bind(gPrefService.getBoolPref,gPrefService),
-            'int': Function.bind(gPrefService.getIntPref,gPrefService),
-            'string' : Function.bind(gPrefService.getCharPref,gPrefService)
+            'bool': Function.bind(_prefService.getBoolPref,_prefService),
+            'int': Function.bind(_prefService.getIntPref,_prefService),
+            'string' : Function.bind(_prefService.getCharPref,_prefService)
         },
         'set':{
-            'bool': Function.bind(gPrefService.setBoolPref,gPrefService),
-            'int' : Function.bind(gPrefService.setIntPref,gPrefService),
-            'string' : Function.bind(gPrefService.setCharPref,gPrefService)
+            'bool': Function.bind(_prefService.setBoolPref,_prefService),
+            'int' : Function.bind(_prefService.setIntPref,_prefService),
+            'string' : Function.bind(_prefService.setCharPref,_prefService)
         }
     },
 
@@ -320,6 +320,6 @@ var beaglePref = {
             log("first run import error");
             log(ex);
         }
-    },
+    }
 }
 
diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/dir.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dir.js
--- beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/dir.js	2007-11-27 02:49:58.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dir.js	2009-07-03 18:35:19.422096000 +0200
@@ -221,7 +221,7 @@ function() {
   return help;
 });
 
-jslibDebug('*** load: '+JS_DIR_FILE+' OK');
+//jslibDebug('*** load: '+JS_DIR_FILE+' OK');
 
 } else {
     dump("JSLIB library not loaded:\n"                                  +
diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/dirUtils.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dirUtils.js
--- beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/dirUtils.js	2007-11-27 02:49:58.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dirUtils.js	2009-07-03 18:35:19.422096000 +0200
@@ -173,7 +173,7 @@ get help() {
 
 }; //END CLASS 
 
-jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK');
+//jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK');
 
 } // END BLOCK JS_LIB_LOADED CHECK
 
diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/file.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/file.js
--- beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/file.js	2007-11-27 02:49:58.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/file.js	2009-07-03 18:35:19.422096000 +0200
@@ -758,7 +758,7 @@ function ()
   return help;
 })
 
-jslibDebug('*** load: '+JS_FILE_FILE+' OK');
+//jslibDebug('*** load: '+JS_FILE_FILE+' OK');
 
 } // END BLOCK JS_LIB_LOADED CHECK
 
diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/fileUtils.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/fileUtils.js
--- beagle-0.3.9.orign/firefox-extension/chrome/content/jslib/io/fileUtils.js	2007-11-27 02:49:58.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/fileUtils.js	2009-07-03 18:35:19.422096000 +0200
@@ -584,7 +584,7 @@
   
 };
   
-jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK');
+//jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK');
   
 } // END BLOCK JS_LIB_LOADED CHECK
   
diff -upNr beagle-0.3.9.orign/firefox-extension/chrome/locale/zh-CN/beagle.dtd beagle-0.3.9/firefox-extension/chrome/locale/zh-CN/beagle.dtd
--- beagle-0.3.9.orign/firefox-extension/chrome/locale/zh-CN/beagle.dtd	2007-11-27 02:49:58.000000000 +0100
+++ beagle-0.3.9/firefox-extension/chrome/locale/zh-CN/beagle.dtd	2009-07-03 18:35:19.424096000 +0200
@@ -31,9 +31,11 @@
 <!ENTITY beagle.run.context.menu.label              "Beagle">
 <!ENTITY beagle.run.index.link.label                "索引链接">
 <!ENTITY beagle.run.index.image.label               "索引图片">
-
 <!ENTITY beagle.index.link.start.label              "开始">
 <!ENTITY beagle.index.link.stop.label               "停止">
 
 <!ENTITY beagle.bookmark.index.modified.label       "索引更改过的书签">
 
+<!ENTITY beagle.sidebar.title "Beagle 搜索历史侧边栏">
+<!ENTITY beagle.sidebar.commandkey "B">
+<!ENTITY beagle.sidebar.modifierskey "shift 键">
diff -upNr beagle-0.3.9.orign/firefox-extension/install.rdf beagle-0.3.9/firefox-extension/install.rdf
--- beagle-0.3.9.orign/firefox-extension/install.rdf	2008-07-19 13:47:16.000000000 +0200
+++ beagle-0.3.9/firefox-extension/install.rdf	2009-07-03 18:36:24.456098274 +0200
@@ -23,7 +23,7 @@
       <Description>
         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
         <em:minVersion>0.8</em:minVersion>
-        <em:maxVersion>3.0.*</em:maxVersion>
+        <em:maxVersion>3.6.*</em:maxVersion>
       </Description>
     </em:targetApplication>
 
diff -upNr beagle-0.3.9.orign/firefox-extension/install.rdf.in beagle-0.3.9/firefox-extension/install.rdf.in
--- beagle-0.3.9.orign/firefox-extension/install.rdf.in	2008-04-08 18:55:28.000000000 +0200
+++ beagle-0.3.9/firefox-extension/install.rdf.in	2009-07-03 18:35:19.424096000 +0200
@@ -23,7 +23,7 @@
       <Description>
         <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
         <em:minVersion>0.8</em:minVersion>
-        <em:maxVersion>3.0.*</em:maxVersion>
+        <em:maxVersion>3.6.*</em:maxVersion>
       </Description>
     </em:targetApplication>
 
