in public/content.js [214:226]
function handleLoginTransactionSubmit() {
chrome.runtime.sendMessage(
{
action: 'submitLoginTransaction',
},
(response) => {
if (response) {
// Send the response to the page script
window.postMessage({ type: 'FROM_CONTENT_SCRIPT', data: response }, '*');
}
}
);
}