@bobfrankston/rmfmail 1.2.32 → 1.2.33
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.
- package/client/app.bundle.js +2 -0
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +1 -0
- package/client/app.js.map +1 -1
- package/client/app.ts +1 -0
- package/client/components/message-viewer.js +1 -0
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +1 -0
- package/client/lib/mailxapi.js +2 -0
- package/package.json +1 -1
- package/packages/mailx-service/jsonrpc.js +10 -1
- package/packages/mailx-service/jsonrpc.js.map +1 -1
- package/packages/mailx-service/jsonrpc.ts +10 -1
package/client/app.bundle.js
CHANGED
|
@@ -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");
|