colors.js (631B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 /* import-globals-from /toolkit/content/preferencesBindings.js */ 6 7 document 8 .getElementById("key_close") 9 .addEventListener("command", event => Preferences.close(event)); 10 11 Preferences.addAll([ 12 { id: "browser.anchor_color", type: "string" }, 13 { id: "browser.visited_color", type: "string" }, 14 { id: "browser.display.foreground_color", type: "string" }, 15 { id: "browser.display.background_color", type: "string" }, 16 ]);