@bobfrankston/rmfmail 1.2.32 → 1.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2191,6 +2191,7 @@ ${csp}
2191
2191
  if (!url || url.indexOf("javascript:") === 0 || url.charAt(0) === "#") return;
2192
2192
  e.preventDefault();
2193
2193
  e.stopPropagation();
2194
+ try { console.log("[android-link] preview tap intercepted \u2192 " + url); } catch (e2) { /* */ }
2194
2195
  window.parent.postMessage({ type: "linkClick", url: url }, "*");
2195
2196
  }
2196
2197
  document.addEventListener("click", handleLinkTap, true);
@@ -8976,6 +8977,7 @@ window.addEventListener("message", (e) => {
8976
8977
  }
8977
8978
  if (e.data?.type === "linkClick" && e.data.url) {
8978
8979
  const url = e.data.url;
8980
+ console.log(`[android-link] parent got linkClick \u2192 ${url}`);
8979
8981
  const api = window.mailxapi;
8980
8982
  if (api?.openExternal) api.openExternal(url);
8981
8983
  else window.open(url, "_blank", "noopener,noreferrer");