diff options
Diffstat (limited to 'content/overlays/messenger.js')
-rw-r--r-- | content/overlays/messenger.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/content/overlays/messenger.js b/content/overlays/messenger.js new file mode 100644 index 0000000..b6d0a97 --- /dev/null +++ b/content/overlays/messenger.js @@ -0,0 +1,22 @@ +/* + * This file is part of TbSync. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + "use strict"; + +var { TbSync } = ChromeUtils.import("chrome://tbsync/content/tbsync.jsm"); + +var tbSyncMessenger = { + + onInject: function (window) { + Services.obs.notifyObservers(null, "tbsync.observer.manager.updateSyncstate", null); + }, + + onRemove: function (window) { + }, + +}; |