diff --git dreditor.user.js dreditor.user.js
index ad20a42..7955af5 100644
--- dreditor.user.js
+++ dreditor.user.js
@@ -174,6 +174,20 @@ Drupal.dreditor = {
   confInit: function () {
     this.conf = this.unserialize(this.conf);
   },
+  
+  /**
+   * Use HTML5 localStorage.getItem() if possible
+   */
+  getValue: function (key, def) {
+	return (!!window.localStorage) ? (window.localStorage.getItem(key) || def) : GM_getValue(key, def);
+  },
+  
+  /**
+   * Use HTML5 localStorage.setItem if possible
+   */
+  setValue: function (key, value) {
+	return (!!window.localStorage) ? window.localStorage.setItem(key, value) : GM_setValue(key, value);
+  },
 
   /**
    * Unserialize a serialized string.
@@ -1266,9 +1280,9 @@ Drupal.behaviors.dreditorIssuesFormReset = function (context) {
  *
  * @see Drupal.dreditor.confInit()
  */
-Drupal.dreditor.conf = GM_getValue('dreditor.conf', '');
+Drupal.dreditor.conf = Drupal.dreditor.getValue('dreditor.conf', '');
 window.addEventListener('unload', function () {
-  GM_setValue('dreditor.conf', $.param(Drupal.dreditor.conf));
+  Drupal.dreditor.setValue('dreditor.conf', $.param(Drupal.dreditor.conf));
 }, true);
 
 // @todo Behaviors of Dreditor are not invoked with regular behaviors.
@@ -1324,14 +1338,14 @@ dreditorUpdateCheck = function () {
   if (typeof GM_xmlhttpRequest != 'function') {
     return;
   }
-  var version = GM_getValue('version', '');
-  var lastChecked = GM_getValue('update.last', 0);
+  var version = Drupal.dreditor.getValue('version', '');
+  var lastChecked = Drupal.dreditor.getValue('update.last', 0);
   var now = parseInt(new Date() / 1000, 10);
   // Check every 3 days.
   var interval = 60 * 60 * 24 * 3;
   if (lastChecked - now < -interval) {
     // Whatever happens to this request, remember that we tried.
-    GM_setValue('update.last', now);
+    Drupal.dreditor.setValue('update.last', now);
     GM_xmlhttpRequest({
       method: 'GET',
       url: 'http://drupalcode.org/viewvc/drupal/contributions/modules/dreditor/CHANGELOG.txt?view=co',
@@ -1345,7 +1359,7 @@ dreditorUpdateCheck = function () {
           if (doUpdate) {
             window.open('http://drupal.org/project/dreditor', 'dreditor');
             // Let's just assume that we DID update. ;)
-            GM_setValue('version', newversion);
+            Drupal.dreditor.setValue('version', newversion);
           }
         }
       }
