<!DOCTYPE html> | |
<script src="stash-utils.sub.js"></script> | |
<script> | |
const queryParams = new URLSearchParams(window.location.search); | |
const key = queryParams.get('key'); | |
if (key) { | |
window.portalHost.onmessage = () => { | |
StashUtils.putValue(key, 'failed'); | |
}; | |
} | |
</script> |