/* 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 EXPORTED_SYMBOLS = ["ScreenshotsUtils"]; const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); var ScreenshotsUtils = { initialize() { Services.obs.addObserver(this, "menuitem-screenshot"); }, observe(subj, topic, data) { let document = subj.document; document.createXULElement("screenshots-div"); }, };