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/. */
8 document.getElementById("controls-submit").addEventListener("click", () => {
9 let tag = document.getElementById("tag-pings").value;
10 let log = document.getElementById("log-pings").checked;
11 let send = document.getElementById("send-pings").value;
12 Services.fog.setLogPings(log);
13 Services.fog.setTagPings(tag);
14 Services.fog.sendPing(send);
18 window.addEventListener("load", onLoad);