for #511: add "same-container" telemetry ping

This commit is contained in:
groovecoder 2017-06-13 15:08:00 -05:00
parent fc789a49ac
commit 76c1877953

View file

@ -63,6 +63,10 @@ async function denySubmit(redirectUrl) {
tabId: tab[0].id,
pageUrl: redirectUrl
});
browser.runtime.sendMessage({
method: "sendTelemetryPayload",
event: "click-to-reload-page-in-same-container",
});
document.location.replace(redirectUrl);
}