   else
     ds.add(url)
 
+is_site_disabled = (site) ->
+  return not (site in store.disabled_sites)
+
+#panel.port.on 'is-site-disabled', (s) ->
+#  panel.port.emit 'site-disabled', is_site_disabled(s)
+
 #
 #
 # Init

#
# TODO:
# - work only on this page
# - save on reboot
#
# LATER:
# - green acknowledgment on password change
# - predefined options?
# - list of disabled sites?
#

re_self      = require('sdk/self')

    c = c.replace(/\+/g,"")
    c = c.replace(/=/g,"")

    while c.length < s.length #TODO: this could be done O(1), but it's 2AM...
      c = c + "0"
    return_func (c.substring 0, s.length)

