blob: 275109e394899d03384bad79b76adcdb21ac1c8a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body onunload="unload()">
<script src="/common/utils.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script>
const RESOURCES_DIR = "/beacon/resources/";
var id = self.token();
function unload() {
var testUrl = RESOURCES_DIR + "content-type.py?cmd=put&id=" + id;
navigator.sendBeacon(testUrl, "test");
}
</script>
</body>
</html>